mirror of
https://github.com/hanzoai/tasks.git
synced 2026-11-03 03:56:04 +00:00
Add Nexus Standalone Describe and Start handlers. - [ ] built - [ ] run locally and tested manually - [ ] covered by existing tests - [x] added new unit test(s) - [x] added new functional test(s) --------- Co-authored-by: Hanzo Dev <[email protected]>
451 lines
13 KiB
Go
451 lines
13 KiB
Go
// Code generated by protoc-gen-go-helpers. DO NOT EDIT.
|
|
package nexusoperationpb
|
|
|
|
import (
|
|
"google.golang.org/protobuf/proto"
|
|
)
|
|
|
|
// Marshal an object of type StartNexusOperationRequest to the protobuf v3 wire format
|
|
func (val *StartNexusOperationRequest) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type StartNexusOperationRequest from the protobuf v3 wire format
|
|
func (val *StartNexusOperationRequest) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *StartNexusOperationRequest) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two StartNexusOperationRequest values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *StartNexusOperationRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *StartNexusOperationRequest
|
|
switch t := that.(type) {
|
|
case *StartNexusOperationRequest:
|
|
that1 = t
|
|
case StartNexusOperationRequest:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type StartNexusOperationResponse to the protobuf v3 wire format
|
|
func (val *StartNexusOperationResponse) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type StartNexusOperationResponse from the protobuf v3 wire format
|
|
func (val *StartNexusOperationResponse) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *StartNexusOperationResponse) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two StartNexusOperationResponse values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *StartNexusOperationResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *StartNexusOperationResponse
|
|
switch t := that.(type) {
|
|
case *StartNexusOperationResponse:
|
|
that1 = t
|
|
case StartNexusOperationResponse:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type DescribeNexusOperationRequest to the protobuf v3 wire format
|
|
func (val *DescribeNexusOperationRequest) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type DescribeNexusOperationRequest from the protobuf v3 wire format
|
|
func (val *DescribeNexusOperationRequest) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *DescribeNexusOperationRequest) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two DescribeNexusOperationRequest values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *DescribeNexusOperationRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *DescribeNexusOperationRequest
|
|
switch t := that.(type) {
|
|
case *DescribeNexusOperationRequest:
|
|
that1 = t
|
|
case DescribeNexusOperationRequest:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type DescribeNexusOperationResponse to the protobuf v3 wire format
|
|
func (val *DescribeNexusOperationResponse) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type DescribeNexusOperationResponse from the protobuf v3 wire format
|
|
func (val *DescribeNexusOperationResponse) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *DescribeNexusOperationResponse) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two DescribeNexusOperationResponse values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *DescribeNexusOperationResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *DescribeNexusOperationResponse
|
|
switch t := that.(type) {
|
|
case *DescribeNexusOperationResponse:
|
|
that1 = t
|
|
case DescribeNexusOperationResponse:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type RequestCancelNexusOperationRequest to the protobuf v3 wire format
|
|
func (val *RequestCancelNexusOperationRequest) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type RequestCancelNexusOperationRequest from the protobuf v3 wire format
|
|
func (val *RequestCancelNexusOperationRequest) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *RequestCancelNexusOperationRequest) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two RequestCancelNexusOperationRequest values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *RequestCancelNexusOperationRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *RequestCancelNexusOperationRequest
|
|
switch t := that.(type) {
|
|
case *RequestCancelNexusOperationRequest:
|
|
that1 = t
|
|
case RequestCancelNexusOperationRequest:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type RequestCancelNexusOperationResponse to the protobuf v3 wire format
|
|
func (val *RequestCancelNexusOperationResponse) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type RequestCancelNexusOperationResponse from the protobuf v3 wire format
|
|
func (val *RequestCancelNexusOperationResponse) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *RequestCancelNexusOperationResponse) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two RequestCancelNexusOperationResponse values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *RequestCancelNexusOperationResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *RequestCancelNexusOperationResponse
|
|
switch t := that.(type) {
|
|
case *RequestCancelNexusOperationResponse:
|
|
that1 = t
|
|
case RequestCancelNexusOperationResponse:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type TerminateNexusOperationRequest to the protobuf v3 wire format
|
|
func (val *TerminateNexusOperationRequest) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type TerminateNexusOperationRequest from the protobuf v3 wire format
|
|
func (val *TerminateNexusOperationRequest) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *TerminateNexusOperationRequest) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two TerminateNexusOperationRequest values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *TerminateNexusOperationRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *TerminateNexusOperationRequest
|
|
switch t := that.(type) {
|
|
case *TerminateNexusOperationRequest:
|
|
that1 = t
|
|
case TerminateNexusOperationRequest:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type TerminateNexusOperationResponse to the protobuf v3 wire format
|
|
func (val *TerminateNexusOperationResponse) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type TerminateNexusOperationResponse from the protobuf v3 wire format
|
|
func (val *TerminateNexusOperationResponse) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *TerminateNexusOperationResponse) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two TerminateNexusOperationResponse values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *TerminateNexusOperationResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *TerminateNexusOperationResponse
|
|
switch t := that.(type) {
|
|
case *TerminateNexusOperationResponse:
|
|
that1 = t
|
|
case TerminateNexusOperationResponse:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type DeleteNexusOperationRequest to the protobuf v3 wire format
|
|
func (val *DeleteNexusOperationRequest) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type DeleteNexusOperationRequest from the protobuf v3 wire format
|
|
func (val *DeleteNexusOperationRequest) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *DeleteNexusOperationRequest) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two DeleteNexusOperationRequest values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *DeleteNexusOperationRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *DeleteNexusOperationRequest
|
|
switch t := that.(type) {
|
|
case *DeleteNexusOperationRequest:
|
|
that1 = t
|
|
case DeleteNexusOperationRequest:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type DeleteNexusOperationResponse to the protobuf v3 wire format
|
|
func (val *DeleteNexusOperationResponse) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type DeleteNexusOperationResponse from the protobuf v3 wire format
|
|
func (val *DeleteNexusOperationResponse) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *DeleteNexusOperationResponse) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two DeleteNexusOperationResponse values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *DeleteNexusOperationResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *DeleteNexusOperationResponse
|
|
switch t := that.(type) {
|
|
case *DeleteNexusOperationResponse:
|
|
that1 = t
|
|
case DeleteNexusOperationResponse:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type PollNexusOperationRequest to the protobuf v3 wire format
|
|
func (val *PollNexusOperationRequest) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type PollNexusOperationRequest from the protobuf v3 wire format
|
|
func (val *PollNexusOperationRequest) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *PollNexusOperationRequest) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two PollNexusOperationRequest values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *PollNexusOperationRequest) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *PollNexusOperationRequest
|
|
switch t := that.(type) {
|
|
case *PollNexusOperationRequest:
|
|
that1 = t
|
|
case PollNexusOperationRequest:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|
|
|
|
// Marshal an object of type PollNexusOperationResponse to the protobuf v3 wire format
|
|
func (val *PollNexusOperationResponse) Marshal() ([]byte, error) {
|
|
return proto.Marshal(val)
|
|
}
|
|
|
|
// Unmarshal an object of type PollNexusOperationResponse from the protobuf v3 wire format
|
|
func (val *PollNexusOperationResponse) Unmarshal(buf []byte) error {
|
|
return proto.Unmarshal(buf, val)
|
|
}
|
|
|
|
// Size returns the size of the object, in bytes, once serialized
|
|
func (val *PollNexusOperationResponse) Size() int {
|
|
return proto.Size(val)
|
|
}
|
|
|
|
// Equal returns whether two PollNexusOperationResponse values are equivalent by recursively
|
|
// comparing the message's fields.
|
|
// For more information see the documentation for
|
|
// https://pkg.go.dev/google.golang.org/protobuf/proto#Equal
|
|
func (this *PollNexusOperationResponse) Equal(that interface{}) bool {
|
|
if that == nil {
|
|
return this == nil
|
|
}
|
|
|
|
var that1 *PollNexusOperationResponse
|
|
switch t := that.(type) {
|
|
case *PollNexusOperationResponse:
|
|
that1 = t
|
|
case PollNexusOperationResponse:
|
|
that1 = &t
|
|
default:
|
|
return false
|
|
}
|
|
|
|
return proto.Equal(this, that1)
|
|
}
|