contextpropagation

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-helpers. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
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

Jump to

Keyboard shortcuts

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