any

package
v0.7.12 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Encoding_name = map[int32]string{
		0: "JSON",
	}
	Encoding_value = map[string]int32{
		"JSON": 0,
	}
)

Enum value maps for Encoding.

View Source
var File_hopeio_any_any_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Encoding

type Encoding int32
const (
	Encoding_JSON Encoding = 0
)

func (Encoding) Comment added in v0.5.11

func (x Encoding) Comment() string

func (Encoding) Descriptor

func (Encoding) Descriptor() protoreflect.EnumDescriptor

func (Encoding) Enum

func (x Encoding) Enum() *Encoding

func (Encoding) EnumDescriptor deprecated

func (Encoding) EnumDescriptor() ([]byte, []int)

Deprecated: Use Encoding.Descriptor instead.

func (Encoding) MarshalGQL

func (x Encoding) MarshalGQL(w io.Writer)

func (Encoding) Number

func (x Encoding) Number() protoreflect.EnumNumber

func (Encoding) String

func (x Encoding) String() string

func (Encoding) Type

func (*Encoding) UnmarshalGQL

func (x *Encoding) UnmarshalGQL(v interface{}) error

type RawEncodingData added in v0.5.14

type RawEncodingData struct {
	Data     []byte   `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Encoding Encoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=any.Encoding" json:"encoding,omitempty"`
	// contains filtered or unexported fields
}

func (*RawEncodingData) Descriptor deprecated added in v0.5.14

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

Deprecated: Use RawEncodingData.ProtoReflect.Descriptor instead.

func (*RawEncodingData) GetData added in v0.5.14

func (x *RawEncodingData) GetData() []byte

func (*RawEncodingData) GetEncoding added in v0.5.14

func (x *RawEncodingData) GetEncoding() Encoding

func (*RawEncodingData) ProtoMessage added in v0.5.14

func (*RawEncodingData) ProtoMessage()

func (*RawEncodingData) ProtoReflect added in v0.5.14

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

func (*RawEncodingData) Reset added in v0.5.14

func (x *RawEncodingData) Reset()

func (*RawEncodingData) String added in v0.5.14

func (x *RawEncodingData) String() string

Jump to

Keyboard shortcuts

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