Documentation
¶
Overview ¶
Code generated by protoc-gen-go-helpers. DO NOT EDIT.
Index ¶
- Variables
- type ContextMetadata
- func (*ContextMetadata) Descriptor() ([]byte, []int)deprecated
- func (this *ContextMetadata) Equal(that interface{}) bool
- func (x *ContextMetadata) GetEntries() map[string]string
- func (val *ContextMetadata) Marshal() ([]byte, error)
- func (*ContextMetadata) ProtoMessage()
- func (x *ContextMetadata) ProtoReflect() protoreflect.Message
- func (x *ContextMetadata) Reset()
- func (val *ContextMetadata) Size() int
- func (x *ContextMetadata) String() string
- func (val *ContextMetadata) Unmarshal(buf []byte) error
Constants ¶
This section is empty.
Variables ¶
var File_temporal_server_api_contextpropagation_v1_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ContextMetadata ¶
type ContextMetadata struct {
Entries map[string]string `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
ContextMetadata carries all context metadata key-value pairs in a single protobuf message. It is serialized into a gRPC trailer under the "contextmetadata-bin" key. The "-bin" suffix causes gRPC to base64-encode the value on the wire, making it safe for arbitrary byte sequences (including HTTP/2-unsafe control characters in workflow type names).
func (*ContextMetadata) Descriptor
deprecated
func (*ContextMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ContextMetadata.ProtoReflect.Descriptor instead.
func (*ContextMetadata) Equal ¶
func (this *ContextMetadata) Equal(that interface{}) bool
Equal returns whether two ContextMetadata 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 (*ContextMetadata) GetEntries ¶
func (x *ContextMetadata) GetEntries() map[string]string
func (*ContextMetadata) Marshal ¶
func (val *ContextMetadata) Marshal() ([]byte, error)
Marshal an object of type ContextMetadata to the protobuf v3 wire format
func (*ContextMetadata) ProtoMessage ¶
func (*ContextMetadata) ProtoMessage()
func (*ContextMetadata) ProtoReflect ¶
func (x *ContextMetadata) ProtoReflect() protoreflect.Message
func (*ContextMetadata) Reset ¶
func (x *ContextMetadata) Reset()
func (*ContextMetadata) Size ¶
func (val *ContextMetadata) Size() int
Size returns the size of the object, in bytes, once serialized
func (*ContextMetadata) String ¶
func (x *ContextMetadata) String() string
func (*ContextMetadata) Unmarshal ¶
func (val *ContextMetadata) Unmarshal(buf []byte) error
Unmarshal an object of type ContextMetadata from the protobuf v3 wire format