Documentation ¶
Index ¶
- Variables
- type Encoding
- func (Encoding) Descriptor() protoreflect.EnumDescriptor
- func (x Encoding) Enum() *Encoding
- func (Encoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x Encoding) MarshalGQL(w io.Writer)
- func (x Encoding) NewString() string
- func (x Encoding) Number() protoreflect.EnumNumber
- func (x Encoding) String() string
- func (Encoding) Type() protoreflect.EnumType
- func (x *Encoding) UnmarshalGQL(v interface{}) error
- type RawData
- type RawJson
- func (*RawJson) Descriptor() ([]byte, []int)deprecated
- func (x *RawJson) GetData() []byte
- func (a *RawJson) MarshalJSON() ([]byte, error)
- func (a *RawJson) MarshalTo(b []byte) (int, error)
- func (a *RawJson) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RawJson) ProtoMessage()
- func (x *RawJson) ProtoReflect() protoreflect.Message
- func (x *RawJson) Reset()
- func (a *RawJson) Size() int
- func (x *RawJson) String() string
- func (a *RawJson) Unmarshal(b []byte) error
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) Descriptor ¶
func (Encoding) Descriptor() protoreflect.EnumDescriptor
func (Encoding) EnumDescriptor
deprecated
func (Encoding) MarshalGQL ¶
func (Encoding) Number ¶
func (x Encoding) Number() protoreflect.EnumNumber
func (Encoding) Type ¶
func (Encoding) Type() protoreflect.EnumType
func (*Encoding) UnmarshalGQL ¶
type RawData ¶
type RawData 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 (*RawData) Descriptor
deprecated
func (*RawData) GetEncoding ¶
func (*RawData) ProtoMessage ¶
func (*RawData) ProtoMessage()
func (*RawData) ProtoReflect ¶
func (x *RawData) ProtoReflect() protoreflect.Message
type RawJson ¶
type RawJson struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func BytesToJsonAny ¶
func StringToJsonAny ¶
func (*RawJson) Descriptor
deprecated
func (*RawJson) MarshalJSON ¶
func (*RawJson) MarshalToSizedBuffer ¶
func (*RawJson) ProtoMessage ¶
func (*RawJson) ProtoMessage()
func (*RawJson) ProtoReflect ¶
func (x *RawJson) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.