Documentation
¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type RoutingOptions
- func (*RoutingOptions) Descriptor() ([]byte, []int)deprecated
- func (this *RoutingOptions) Equal(that interface{}) bool
- func (x *RoutingOptions) GetBusinessId() string
- func (x *RoutingOptions) GetNamespaceId() string
- func (x *RoutingOptions) GetRandom() bool
- func (val *RoutingOptions) Marshal() ([]byte, error)
- func (*RoutingOptions) ProtoMessage()
- func (x *RoutingOptions) ProtoReflect() protoreflect.Message
- func (x *RoutingOptions) Reset()
- func (val *RoutingOptions) Size() int
- func (x *RoutingOptions) String() string
- func (val *RoutingOptions) Unmarshal(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional temporal.server.api.routing.v1.RoutingOptions routing = 7234;
E_Routing = &file_temporal_server_api_routing_v1_extension_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_temporal_server_api_routing_v1_extension_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RoutingOptions ¶
type RoutingOptions struct {
// Requests will be routed to a random shard.
Random bool `protobuf:"varint,1,opt,name=random,proto3" json:"random,omitempty"`
// Requests may specify how to obtain the namespace ID. Defaults to the "namespace_id" field.
NamespaceId string `protobuf:"bytes,2,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
// Request will be routed by resolving the namespace ID and business ID to a given shard.
BusinessId string `protobuf:"bytes,3,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"`
// contains filtered or unexported fields
}
func (*RoutingOptions) Descriptor
deprecated
func (*RoutingOptions) Descriptor() ([]byte, []int)
Deprecated: Use RoutingOptions.ProtoReflect.Descriptor instead.
func (*RoutingOptions) Equal ¶
func (this *RoutingOptions) Equal(that interface{}) bool
Equal returns whether two RoutingOptions 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 (*RoutingOptions) GetBusinessId ¶
func (x *RoutingOptions) GetBusinessId() string
func (*RoutingOptions) GetNamespaceId ¶
func (x *RoutingOptions) GetNamespaceId() string
func (*RoutingOptions) GetRandom ¶
func (x *RoutingOptions) GetRandom() bool
func (*RoutingOptions) Marshal ¶
func (val *RoutingOptions) Marshal() ([]byte, error)
Marshal an object of type RoutingOptions to the protobuf v3 wire format
func (*RoutingOptions) ProtoMessage ¶
func (*RoutingOptions) ProtoMessage()
func (*RoutingOptions) ProtoReflect ¶
func (x *RoutingOptions) ProtoReflect() protoreflect.Message
func (*RoutingOptions) Reset ¶
func (x *RoutingOptions) Reset()
func (*RoutingOptions) Size ¶
func (val *RoutingOptions) Size() int
Size returns the size of the object, in bytes, once serialized
func (*RoutingOptions) String ¶
func (x *RoutingOptions) String() string
func (*RoutingOptions) Unmarshal ¶
func (val *RoutingOptions) Unmarshal(buf []byte) error
Unmarshal an object of type RoutingOptions from the protobuf v3 wire format
Click to show internal directories.
Click to hide internal directories.