kubernetes/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go

type Any

// New marshals src into a new Any instance.
func New(src proto.Message) (*Any, error) {}

// MarshalFrom marshals src into dst as the underlying message
// using the provided marshal options.
//
// If no options are specified, call dst.MarshalFrom instead.
func MarshalFrom(dst *Any, src proto.Message, opts proto.MarshalOptions) error {}

// UnmarshalTo unmarshals the underlying message from src into dst
// using the provided unmarshal options.
// It reports an error if dst is not of the right message type.
//
// If no options are specified, call src.UnmarshalTo instead.
func UnmarshalTo(src *Any, dst proto.Message, opts proto.UnmarshalOptions) error {}

// UnmarshalNew unmarshals the underlying message from src into dst,
// which is newly created message using a type resolved from the type URL.
// The message type is resolved according to opt.Resolver,
// which should implement protoregistry.MessageTypeResolver.
// It reports an error if the underlying message type could not be resolved.
//
// If no options are specified, call src.UnmarshalNew instead.
func UnmarshalNew(src *Any, opts proto.UnmarshalOptions) (dst proto.Message, err error) {}

// MessageIs reports whether the underlying message is of the same type as m.
func (x *Any) MessageIs(m proto.Message) bool {}

// MessageName reports the full name of the underlying message,
// returning an empty string if invalid.
func (x *Any) MessageName() protoreflect.FullName {}

// MarshalFrom marshals m into x as the underlying message.
func (x *Any) MarshalFrom(m proto.Message) error {}

// UnmarshalTo unmarshals the contents of the underlying message of x into m.
// It resets m before performing the unmarshal operation.
// It reports an error if m is not of the right message type.
func (x *Any) UnmarshalTo(m proto.Message) error {}

// UnmarshalNew unmarshals the contents of the underlying message of x into
// a newly allocated message of the specified type.
// It reports an error if the underlying message type could not be resolved.
func (x *Any) UnmarshalNew() (proto.Message, error) {}

func (x *Any) Reset() {}

func (x *Any) String() string {}

func (*Any) ProtoMessage() {}

func (x *Any) ProtoReflect() protoreflect.Message {}

// Deprecated: Use Any.ProtoReflect.Descriptor instead.
func (*Any) Descriptor() ([]byte, []int) {}

func (x *Any) GetTypeUrl() string {}

func (x *Any) GetValue() []byte {}

var File_google_protobuf_any_proto

var file_google_protobuf_any_proto_rawDesc

var file_google_protobuf_any_proto_rawDescOnce

var file_google_protobuf_any_proto_rawDescData

func file_google_protobuf_any_proto_rawDescGZIP() []byte {}

var file_google_protobuf_any_proto_msgTypes

var file_google_protobuf_any_proto_goTypes

var file_google_protobuf_any_proto_depIdxs

func init() {}

func file_google_protobuf_any_proto_init() {}