any

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cherry_protobuf_any_any_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type RawJson

type RawJson struct {
	B []byte `protobuf:"bytes,1,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func BytesToJsonAny

func BytesToJsonAny(b []byte) *RawJson

func NewAny

func NewAny(v interface{}) (*RawJson, error)

func StringToJsonAny

func StringToJsonAny(s string) *RawJson

func (*RawJson) Descriptor deprecated

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

Deprecated: Use RawJson.ProtoReflect.Descriptor instead.

func (*RawJson) GetB

func (x *RawJson) GetB() []byte

func (*RawJson) MarshalJSON

func (a *RawJson) MarshalJSON() ([]byte, error)

func (*RawJson) MarshalTo

func (a *RawJson) MarshalTo(b []byte) (int, error)

func (*RawJson) MarshalToSizedBuffer

func (a *RawJson) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RawJson) ProtoMessage

func (*RawJson) ProtoMessage()

func (*RawJson) ProtoReflect

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

func (*RawJson) Reset

func (x *RawJson) Reset()

func (*RawJson) Size

func (a *RawJson) Size() int

func (*RawJson) String

func (x *RawJson) String() string

func (*RawJson) Unmarshal

func (a *RawJson) Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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