v3alpha

package
v0.0.0-...-5360bea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_contrib_envoy_extensions_filters_network_sip_proxy_tra_v3alpha_tra_proto protoreflect.FileDescriptor

Functions

func RegisterTraServiceServer

func RegisterTraServiceServer(s *grpc.Server, srv TraServiceServer)

Types

type CreateRequest

type CreateRequest struct {
	Data    map[string]string `` /* 149-byte string literal not displayed */
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

func (*CreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetContext

func (x *CreateRequest) GetContext() map[string]string

func (*CreateRequest) GetData

func (x *CreateRequest) GetData() map[string]string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

func (x *CreateRequest) ProtoReflect() protoreflect.Message

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

func (*CreateRequest) Validate

func (m *CreateRequest) Validate() error

Validate checks the field values on CreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateRequest) ValidateAll

func (m *CreateRequest) ValidateAll() error

ValidateAll checks the field values on CreateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRequestMultiError, or nil if none found.

type CreateRequestMultiError

type CreateRequestMultiError []error

CreateRequestMultiError is an error wrapping multiple validation errors returned by CreateRequest.ValidateAll() if the designated constraints aren't met.

func (CreateRequestMultiError) AllErrors

func (m CreateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRequestMultiError) Error

func (m CreateRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreateRequestValidationError

type CreateRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateRequestValidationError is the validation error returned by CreateRequest.Validate if the designated constraints aren't met.

func (CreateRequestValidationError) Cause

Cause function returns cause value.

func (CreateRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateRequestValidationError) ErrorName

func (e CreateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRequestValidationError) Field

Field function returns field value.

func (CreateRequestValidationError) Key

Key function returns key value.

func (CreateRequestValidationError) Reason

Reason function returns reason value.

type CreateResponse

type CreateResponse struct {
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

func (*CreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

func (x *CreateResponse) ProtoReflect() protoreflect.Message

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

func (*CreateResponse) Validate

func (m *CreateResponse) Validate() error

Validate checks the field values on CreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateResponse) ValidateAll

func (m *CreateResponse) ValidateAll() error

ValidateAll checks the field values on CreateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateResponseMultiError, or nil if none found.

type CreateResponseMultiError

type CreateResponseMultiError []error

CreateResponseMultiError is an error wrapping multiple validation errors returned by CreateResponse.ValidateAll() if the designated constraints aren't met.

func (CreateResponseMultiError) AllErrors

func (m CreateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateResponseMultiError) Error

func (m CreateResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreateResponseValidationError

type CreateResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateResponseValidationError is the validation error returned by CreateResponse.Validate if the designated constraints aren't met.

func (CreateResponseValidationError) Cause

Cause function returns cause value.

func (CreateResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateResponseValidationError) ErrorName

func (e CreateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CreateResponseValidationError) Field

Field function returns field value.

func (CreateResponseValidationError) Key

Key function returns key value.

func (CreateResponseValidationError) Reason

Reason function returns reason value.

type DeleteRequest

type DeleteRequest struct {
	Key     string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

func (*DeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetContext

func (x *DeleteRequest) GetContext() map[string]string

func (*DeleteRequest) GetKey

func (x *DeleteRequest) GetKey() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

func (x *DeleteRequest) ProtoReflect() protoreflect.Message

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

func (*DeleteRequest) Validate

func (m *DeleteRequest) Validate() error

Validate checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteRequest) ValidateAll

func (m *DeleteRequest) ValidateAll() error

ValidateAll checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRequestMultiError, or nil if none found.

type DeleteRequestMultiError

type DeleteRequestMultiError []error

DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteRequestMultiError) AllErrors

func (m DeleteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRequestMultiError) Error

func (m DeleteRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteRequestValidationError

type DeleteRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.

func (DeleteRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

Reason function returns reason value.

type DeleteResponse

type DeleteResponse struct {
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

func (*DeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

func (x *DeleteResponse) ProtoReflect() protoreflect.Message

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

func (*DeleteResponse) Validate

func (m *DeleteResponse) Validate() error

Validate checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteResponse) ValidateAll

func (m *DeleteResponse) ValidateAll() error

ValidateAll checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteResponseMultiError, or nil if none found.

type DeleteResponseMultiError

type DeleteResponseMultiError []error

DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteResponseMultiError) AllErrors

func (m DeleteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteResponseMultiError) Error

func (m DeleteResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteResponseValidationError

type DeleteResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.

func (DeleteResponseValidationError) Cause

Cause function returns cause value.

func (DeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteResponseValidationError) ErrorName

func (e DeleteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteResponseValidationError) Field

Field function returns field value.

func (DeleteResponseValidationError) Key

Key function returns key value.

func (DeleteResponseValidationError) Reason

Reason function returns reason value.

type RetrieveRequest

type RetrieveRequest struct {
	Key     string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RetrieveRequest) Descriptor deprecated

func (*RetrieveRequest) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveRequest.ProtoReflect.Descriptor instead.

func (*RetrieveRequest) GetContext

func (x *RetrieveRequest) GetContext() map[string]string

func (*RetrieveRequest) GetKey

func (x *RetrieveRequest) GetKey() string

func (*RetrieveRequest) ProtoMessage

func (*RetrieveRequest) ProtoMessage()

func (*RetrieveRequest) ProtoReflect

func (x *RetrieveRequest) ProtoReflect() protoreflect.Message

func (*RetrieveRequest) Reset

func (x *RetrieveRequest) Reset()

func (*RetrieveRequest) String

func (x *RetrieveRequest) String() string

func (*RetrieveRequest) Validate

func (m *RetrieveRequest) Validate() error

Validate checks the field values on RetrieveRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RetrieveRequest) ValidateAll

func (m *RetrieveRequest) ValidateAll() error

ValidateAll checks the field values on RetrieveRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RetrieveRequestMultiError, or nil if none found.

type RetrieveRequestMultiError

type RetrieveRequestMultiError []error

RetrieveRequestMultiError is an error wrapping multiple validation errors returned by RetrieveRequest.ValidateAll() if the designated constraints aren't met.

func (RetrieveRequestMultiError) AllErrors

func (m RetrieveRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RetrieveRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RetrieveRequestValidationError

type RetrieveRequestValidationError struct {
	// contains filtered or unexported fields
}

RetrieveRequestValidationError is the validation error returned by RetrieveRequest.Validate if the designated constraints aren't met.

func (RetrieveRequestValidationError) Cause

Cause function returns cause value.

func (RetrieveRequestValidationError) Error

Error satisfies the builtin error interface

func (RetrieveRequestValidationError) ErrorName

func (e RetrieveRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RetrieveRequestValidationError) Field

Field function returns field value.

func (RetrieveRequestValidationError) Key

Key function returns key value.

func (RetrieveRequestValidationError) Reason

Reason function returns reason value.

type RetrieveResponse

type RetrieveResponse struct {
	Data map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RetrieveResponse) Descriptor deprecated

func (*RetrieveResponse) Descriptor() ([]byte, []int)

Deprecated: Use RetrieveResponse.ProtoReflect.Descriptor instead.

func (*RetrieveResponse) GetData

func (x *RetrieveResponse) GetData() map[string]string

func (*RetrieveResponse) ProtoMessage

func (*RetrieveResponse) ProtoMessage()

func (*RetrieveResponse) ProtoReflect

func (x *RetrieveResponse) ProtoReflect() protoreflect.Message

func (*RetrieveResponse) Reset

func (x *RetrieveResponse) Reset()

func (*RetrieveResponse) String

func (x *RetrieveResponse) String() string

func (*RetrieveResponse) Validate

func (m *RetrieveResponse) Validate() error

Validate checks the field values on RetrieveResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RetrieveResponse) ValidateAll

func (m *RetrieveResponse) ValidateAll() error

ValidateAll checks the field values on RetrieveResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RetrieveResponseMultiError, or nil if none found.

type RetrieveResponseMultiError

type RetrieveResponseMultiError []error

RetrieveResponseMultiError is an error wrapping multiple validation errors returned by RetrieveResponse.ValidateAll() if the designated constraints aren't met.

func (RetrieveResponseMultiError) AllErrors

func (m RetrieveResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RetrieveResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RetrieveResponseValidationError

type RetrieveResponseValidationError struct {
	// contains filtered or unexported fields
}

RetrieveResponseValidationError is the validation error returned by RetrieveResponse.Validate if the designated constraints aren't met.

func (RetrieveResponseValidationError) Cause

Cause function returns cause value.

func (RetrieveResponseValidationError) Error

Error satisfies the builtin error interface

func (RetrieveResponseValidationError) ErrorName

ErrorName returns error name.

func (RetrieveResponseValidationError) Field

Field function returns field value.

func (RetrieveResponseValidationError) Key

Key function returns key value.

func (RetrieveResponseValidationError) Reason

Reason function returns reason value.

type SubscribeRequest

type SubscribeRequest struct {
	// contains filtered or unexported fields
}

func (*SubscribeRequest) Descriptor deprecated

func (*SubscribeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeRequest.ProtoReflect.Descriptor instead.

func (*SubscribeRequest) ProtoMessage

func (*SubscribeRequest) ProtoMessage()

func (*SubscribeRequest) ProtoReflect

func (x *SubscribeRequest) ProtoReflect() protoreflect.Message

func (*SubscribeRequest) Reset

func (x *SubscribeRequest) Reset()

func (*SubscribeRequest) String

func (x *SubscribeRequest) String() string

func (*SubscribeRequest) Validate

func (m *SubscribeRequest) Validate() error

Validate checks the field values on SubscribeRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubscribeRequest) ValidateAll

func (m *SubscribeRequest) ValidateAll() error

ValidateAll checks the field values on SubscribeRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeRequestMultiError, or nil if none found.

type SubscribeRequestMultiError

type SubscribeRequestMultiError []error

SubscribeRequestMultiError is an error wrapping multiple validation errors returned by SubscribeRequest.ValidateAll() if the designated constraints aren't met.

func (SubscribeRequestMultiError) AllErrors

func (m SubscribeRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubscribeRequestValidationError

type SubscribeRequestValidationError struct {
	// contains filtered or unexported fields
}

SubscribeRequestValidationError is the validation error returned by SubscribeRequest.Validate if the designated constraints aren't met.

func (SubscribeRequestValidationError) Cause

Cause function returns cause value.

func (SubscribeRequestValidationError) Error

Error satisfies the builtin error interface

func (SubscribeRequestValidationError) ErrorName

ErrorName returns error name.

func (SubscribeRequestValidationError) Field

Field function returns field value.

func (SubscribeRequestValidationError) Key

Key function returns key value.

func (SubscribeRequestValidationError) Reason

Reason function returns reason value.

type SubscribeResponse

type SubscribeResponse struct {
	Data map[string]string `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SubscribeResponse) Descriptor deprecated

func (*SubscribeResponse) Descriptor() ([]byte, []int)

Deprecated: Use SubscribeResponse.ProtoReflect.Descriptor instead.

func (*SubscribeResponse) GetData

func (x *SubscribeResponse) GetData() map[string]string

func (*SubscribeResponse) ProtoMessage

func (*SubscribeResponse) ProtoMessage()

func (*SubscribeResponse) ProtoReflect

func (x *SubscribeResponse) ProtoReflect() protoreflect.Message

func (*SubscribeResponse) Reset

func (x *SubscribeResponse) Reset()

func (*SubscribeResponse) String

func (x *SubscribeResponse) String() string

func (*SubscribeResponse) Validate

func (m *SubscribeResponse) Validate() error

Validate checks the field values on SubscribeResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SubscribeResponse) ValidateAll

func (m *SubscribeResponse) ValidateAll() error

ValidateAll checks the field values on SubscribeResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeResponseMultiError, or nil if none found.

type SubscribeResponseMultiError

type SubscribeResponseMultiError []error

SubscribeResponseMultiError is an error wrapping multiple validation errors returned by SubscribeResponse.ValidateAll() if the designated constraints aren't met.

func (SubscribeResponseMultiError) AllErrors

func (m SubscribeResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SubscribeResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type SubscribeResponseValidationError

type SubscribeResponseValidationError struct {
	// contains filtered or unexported fields
}

SubscribeResponseValidationError is the validation error returned by SubscribeResponse.Validate if the designated constraints aren't met.

func (SubscribeResponseValidationError) Cause

Cause function returns cause value.

func (SubscribeResponseValidationError) Error

Error satisfies the builtin error interface

func (SubscribeResponseValidationError) ErrorName

ErrorName returns error name.

func (SubscribeResponseValidationError) Field

Field function returns field value.

func (SubscribeResponseValidationError) Key

Key function returns key value.

func (SubscribeResponseValidationError) Reason

Reason function returns reason value.

type TraServiceClient

TraServiceClient is the client API for TraService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTraServiceClient

func NewTraServiceClient(cc grpc.ClientConnInterface) TraServiceClient

type TraServiceConfig

type TraServiceConfig struct {

	// Specifies the gRPC service that hosts the rate limit service. The client
	// will connect to this cluster when it needs to make rate limit service
	// requests.
	GrpcService *v3.GrpcService `protobuf:"bytes,1,opt,name=grpc_service,json=grpcService,proto3" json:"grpc_service,omitempty"`
	// API version for rate limit transport protocol. This describes the rate limit gRPC endpoint and
	// version of messages used on the wire.
	TransportApiVersion v3.ApiVersion      `` /* 158-byte string literal not displayed */
	Timeout             *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*TraServiceConfig) Descriptor deprecated

func (*TraServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use TraServiceConfig.ProtoReflect.Descriptor instead.

func (*TraServiceConfig) GetGrpcService

func (x *TraServiceConfig) GetGrpcService() *v3.GrpcService

func (*TraServiceConfig) GetTimeout

func (x *TraServiceConfig) GetTimeout() *duration.Duration

func (*TraServiceConfig) GetTransportApiVersion

func (x *TraServiceConfig) GetTransportApiVersion() v3.ApiVersion

func (*TraServiceConfig) ProtoMessage

func (*TraServiceConfig) ProtoMessage()

func (*TraServiceConfig) ProtoReflect

func (x *TraServiceConfig) ProtoReflect() protoreflect.Message

func (*TraServiceConfig) Reset

func (x *TraServiceConfig) Reset()

func (*TraServiceConfig) String

func (x *TraServiceConfig) String() string

func (*TraServiceConfig) Validate

func (m *TraServiceConfig) Validate() error

Validate checks the field values on TraServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TraServiceConfig) ValidateAll

func (m *TraServiceConfig) ValidateAll() error

ValidateAll checks the field values on TraServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TraServiceConfigMultiError, or nil if none found.

type TraServiceConfigMultiError

type TraServiceConfigMultiError []error

TraServiceConfigMultiError is an error wrapping multiple validation errors returned by TraServiceConfig.ValidateAll() if the designated constraints aren't met.

func (TraServiceConfigMultiError) AllErrors

func (m TraServiceConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TraServiceConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TraServiceConfigValidationError

type TraServiceConfigValidationError struct {
	// contains filtered or unexported fields
}

TraServiceConfigValidationError is the validation error returned by TraServiceConfig.Validate if the designated constraints aren't met.

func (TraServiceConfigValidationError) Cause

Cause function returns cause value.

func (TraServiceConfigValidationError) Error

Error satisfies the builtin error interface

func (TraServiceConfigValidationError) ErrorName

ErrorName returns error name.

func (TraServiceConfigValidationError) Field

Field function returns field value.

func (TraServiceConfigValidationError) Key

Key function returns key value.

func (TraServiceConfigValidationError) Reason

Reason function returns reason value.

type TraServiceRequest

type TraServiceRequest struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Types that are assignable to Request:
	//	*TraServiceRequest_CreateRequest
	//	*TraServiceRequest_UpdateRequest
	//	*TraServiceRequest_RetrieveRequest
	//	*TraServiceRequest_DeleteRequest
	//	*TraServiceRequest_SubscribeRequest
	Request isTraServiceRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

[#next-free-field: 7]

func (*TraServiceRequest) Descriptor deprecated

func (*TraServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use TraServiceRequest.ProtoReflect.Descriptor instead.

func (*TraServiceRequest) GetCreateRequest

func (x *TraServiceRequest) GetCreateRequest() *CreateRequest

func (*TraServiceRequest) GetDeleteRequest

func (x *TraServiceRequest) GetDeleteRequest() *DeleteRequest

func (*TraServiceRequest) GetRequest

func (m *TraServiceRequest) GetRequest() isTraServiceRequest_Request

func (*TraServiceRequest) GetRetrieveRequest

func (x *TraServiceRequest) GetRetrieveRequest() *RetrieveRequest

func (*TraServiceRequest) GetSubscribeRequest

func (x *TraServiceRequest) GetSubscribeRequest() *SubscribeRequest

func (*TraServiceRequest) GetType

func (x *TraServiceRequest) GetType() string

func (*TraServiceRequest) GetUpdateRequest

func (x *TraServiceRequest) GetUpdateRequest() *UpdateRequest

func (*TraServiceRequest) ProtoMessage

func (*TraServiceRequest) ProtoMessage()

func (*TraServiceRequest) ProtoReflect

func (x *TraServiceRequest) ProtoReflect() protoreflect.Message

func (*TraServiceRequest) Reset

func (x *TraServiceRequest) Reset()

func (*TraServiceRequest) String

func (x *TraServiceRequest) String() string

func (*TraServiceRequest) Validate

func (m *TraServiceRequest) Validate() error

Validate checks the field values on TraServiceRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TraServiceRequest) ValidateAll

func (m *TraServiceRequest) ValidateAll() error

ValidateAll checks the field values on TraServiceRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TraServiceRequestMultiError, or nil if none found.

type TraServiceRequestMultiError

type TraServiceRequestMultiError []error

TraServiceRequestMultiError is an error wrapping multiple validation errors returned by TraServiceRequest.ValidateAll() if the designated constraints aren't met.

func (TraServiceRequestMultiError) AllErrors

func (m TraServiceRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TraServiceRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TraServiceRequestValidationError

type TraServiceRequestValidationError struct {
	// contains filtered or unexported fields
}

TraServiceRequestValidationError is the validation error returned by TraServiceRequest.Validate if the designated constraints aren't met.

func (TraServiceRequestValidationError) Cause

Cause function returns cause value.

func (TraServiceRequestValidationError) Error

Error satisfies the builtin error interface

func (TraServiceRequestValidationError) ErrorName

ErrorName returns error name.

func (TraServiceRequestValidationError) Field

Field function returns field value.

func (TraServiceRequestValidationError) Key

Key function returns key value.

func (TraServiceRequestValidationError) Reason

Reason function returns reason value.

type TraServiceRequest_CreateRequest

type TraServiceRequest_CreateRequest struct {
	CreateRequest *CreateRequest `protobuf:"bytes,2,opt,name=create_request,json=createRequest,proto3,oneof"`
}

type TraServiceRequest_DeleteRequest

type TraServiceRequest_DeleteRequest struct {
	DeleteRequest *DeleteRequest `protobuf:"bytes,5,opt,name=delete_request,json=deleteRequest,proto3,oneof"`
}

type TraServiceRequest_RetrieveRequest

type TraServiceRequest_RetrieveRequest struct {
	RetrieveRequest *RetrieveRequest `protobuf:"bytes,4,opt,name=retrieve_request,json=retrieveRequest,proto3,oneof"`
}

type TraServiceRequest_SubscribeRequest

type TraServiceRequest_SubscribeRequest struct {
	SubscribeRequest *SubscribeRequest `protobuf:"bytes,6,opt,name=subscribe_request,json=subscribeRequest,proto3,oneof"`
}

type TraServiceRequest_UpdateRequest

type TraServiceRequest_UpdateRequest struct {
	UpdateRequest *UpdateRequest `protobuf:"bytes,3,opt,name=update_request,json=updateRequest,proto3,oneof"`
}

type TraServiceResponse

type TraServiceResponse struct {
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Ret    int32  `protobuf:"varint,2,opt,name=ret,proto3" json:"ret,omitempty"`
	Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
	// Types that are assignable to Response:
	//	*TraServiceResponse_CreateResponse
	//	*TraServiceResponse_UpdateResponse
	//	*TraServiceResponse_RetrieveResponse
	//	*TraServiceResponse_DeleteResponse
	//	*TraServiceResponse_SubscribeResponse
	Response isTraServiceResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

[#next-free-field: 9]

func (*TraServiceResponse) Descriptor deprecated

func (*TraServiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use TraServiceResponse.ProtoReflect.Descriptor instead.

func (*TraServiceResponse) GetCreateResponse

func (x *TraServiceResponse) GetCreateResponse() *CreateResponse

func (*TraServiceResponse) GetDeleteResponse

func (x *TraServiceResponse) GetDeleteResponse() *DeleteResponse

func (*TraServiceResponse) GetReason

func (x *TraServiceResponse) GetReason() string

func (*TraServiceResponse) GetResponse

func (m *TraServiceResponse) GetResponse() isTraServiceResponse_Response

func (*TraServiceResponse) GetRet

func (x *TraServiceResponse) GetRet() int32

func (*TraServiceResponse) GetRetrieveResponse

func (x *TraServiceResponse) GetRetrieveResponse() *RetrieveResponse

func (*TraServiceResponse) GetSubscribeResponse

func (x *TraServiceResponse) GetSubscribeResponse() *SubscribeResponse

func (*TraServiceResponse) GetType

func (x *TraServiceResponse) GetType() string

func (*TraServiceResponse) GetUpdateResponse

func (x *TraServiceResponse) GetUpdateResponse() *UpdateResponse

func (*TraServiceResponse) ProtoMessage

func (*TraServiceResponse) ProtoMessage()

func (*TraServiceResponse) ProtoReflect

func (x *TraServiceResponse) ProtoReflect() protoreflect.Message

func (*TraServiceResponse) Reset

func (x *TraServiceResponse) Reset()

func (*TraServiceResponse) String

func (x *TraServiceResponse) String() string

func (*TraServiceResponse) Validate

func (m *TraServiceResponse) Validate() error

Validate checks the field values on TraServiceResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TraServiceResponse) ValidateAll

func (m *TraServiceResponse) ValidateAll() error

ValidateAll checks the field values on TraServiceResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TraServiceResponseMultiError, or nil if none found.

type TraServiceResponseMultiError

type TraServiceResponseMultiError []error

TraServiceResponseMultiError is an error wrapping multiple validation errors returned by TraServiceResponse.ValidateAll() if the designated constraints aren't met.

func (TraServiceResponseMultiError) AllErrors

func (m TraServiceResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TraServiceResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TraServiceResponseValidationError

type TraServiceResponseValidationError struct {
	// contains filtered or unexported fields
}

TraServiceResponseValidationError is the validation error returned by TraServiceResponse.Validate if the designated constraints aren't met.

func (TraServiceResponseValidationError) Cause

Cause function returns cause value.

func (TraServiceResponseValidationError) Error

Error satisfies the builtin error interface

func (TraServiceResponseValidationError) ErrorName

ErrorName returns error name.

func (TraServiceResponseValidationError) Field

Field function returns field value.

func (TraServiceResponseValidationError) Key

Key function returns key value.

func (TraServiceResponseValidationError) Reason

Reason function returns reason value.

type TraServiceResponse_CreateResponse

type TraServiceResponse_CreateResponse struct {
	CreateResponse *CreateResponse `protobuf:"bytes,4,opt,name=create_response,json=createResponse,proto3,oneof"`
}

type TraServiceResponse_DeleteResponse

type TraServiceResponse_DeleteResponse struct {
	DeleteResponse *DeleteResponse `protobuf:"bytes,7,opt,name=delete_response,json=deleteResponse,proto3,oneof"`
}

type TraServiceResponse_RetrieveResponse

type TraServiceResponse_RetrieveResponse struct {
	RetrieveResponse *RetrieveResponse `protobuf:"bytes,6,opt,name=retrieve_response,json=retrieveResponse,proto3,oneof"`
}

type TraServiceResponse_SubscribeResponse

type TraServiceResponse_SubscribeResponse struct {
	SubscribeResponse *SubscribeResponse `protobuf:"bytes,8,opt,name=subscribe_response,json=subscribeResponse,proto3,oneof"`
}

type TraServiceResponse_UpdateResponse

type TraServiceResponse_UpdateResponse struct {
	UpdateResponse *UpdateResponse `protobuf:"bytes,5,opt,name=update_response,json=updateResponse,proto3,oneof"`
}

type TraServiceServer

TraServiceServer is the server API for TraService service.

type TraService_SubscribeClient

type TraService_SubscribeClient interface {
	Recv() (*TraServiceResponse, error)
	grpc.ClientStream
}

type TraService_SubscribeServer

type TraService_SubscribeServer interface {
	Send(*TraServiceResponse) error
	grpc.ServerStream
}

type UnimplementedTraServiceServer

type UnimplementedTraServiceServer struct {
}

UnimplementedTraServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTraServiceServer) Create

func (*UnimplementedTraServiceServer) Delete

func (*UnimplementedTraServiceServer) Retrieve

func (*UnimplementedTraServiceServer) Subscribe

func (*UnimplementedTraServiceServer) Update

type UpdateRequest

type UpdateRequest struct {
	Data    map[string]string `` /* 149-byte string literal not displayed */
	Context map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

func (*UpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetContext

func (x *UpdateRequest) GetContext() map[string]string

func (*UpdateRequest) GetData

func (x *UpdateRequest) GetData() map[string]string

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

func (x *UpdateRequest) ProtoReflect() protoreflect.Message

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

func (*UpdateRequest) Validate

func (m *UpdateRequest) Validate() error

Validate checks the field values on UpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateRequest) ValidateAll

func (m *UpdateRequest) ValidateAll() error

ValidateAll checks the field values on UpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateRequestMultiError, or nil if none found.

type UpdateRequestMultiError

type UpdateRequestMultiError []error

UpdateRequestMultiError is an error wrapping multiple validation errors returned by UpdateRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateRequestMultiError) AllErrors

func (m UpdateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateRequestMultiError) Error

func (m UpdateRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UpdateRequestValidationError

type UpdateRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateRequestValidationError is the validation error returned by UpdateRequest.Validate if the designated constraints aren't met.

func (UpdateRequestValidationError) Cause

Cause function returns cause value.

func (UpdateRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateRequestValidationError) ErrorName

func (e UpdateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateRequestValidationError) Field

Field function returns field value.

func (UpdateRequestValidationError) Key

Key function returns key value.

func (UpdateRequestValidationError) Reason

Reason function returns reason value.

type UpdateResponse

type UpdateResponse struct {
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

func (*UpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

func (x *UpdateResponse) ProtoReflect() protoreflect.Message

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

func (*UpdateResponse) Validate

func (m *UpdateResponse) Validate() error

Validate checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UpdateResponse) ValidateAll

func (m *UpdateResponse) ValidateAll() error

ValidateAll checks the field values on UpdateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateResponseMultiError, or nil if none found.

type UpdateResponseMultiError

type UpdateResponseMultiError []error

UpdateResponseMultiError is an error wrapping multiple validation errors returned by UpdateResponse.ValidateAll() if the designated constraints aren't met.

func (UpdateResponseMultiError) AllErrors

func (m UpdateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateResponseMultiError) Error

func (m UpdateResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type UpdateResponseValidationError

type UpdateResponseValidationError struct {
	// contains filtered or unexported fields
}

UpdateResponseValidationError is the validation error returned by UpdateResponse.Validate if the designated constraints aren't met.

func (UpdateResponseValidationError) Cause

Cause function returns cause value.

func (UpdateResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateResponseValidationError) ErrorName

func (e UpdateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateResponseValidationError) Field

Field function returns field value.

func (UpdateResponseValidationError) Key

Key function returns key value.

func (UpdateResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL