emptypb

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

service Foo {
  rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
}

func (*Empty) CloneMessageVT added in v0.2.1

func (m *Empty) CloneMessageVT() protobuf_go_lite.CloneMessage

func (*Empty) CloneVT added in v0.2.1

func (m *Empty) CloneVT() *Empty

func (*Empty) EqualMessageVT added in v0.2.1

func (this *Empty) EqualMessageVT(thatMsg any) bool

func (*Empty) EqualVT added in v0.2.1

func (this *Empty) EqualVT(that *Empty) bool

func (*Empty) MarshalJSON added in v0.3.0

func (x *Empty) MarshalJSON() ([]byte, error)

MarshalJSON marshals the Empty to JSON.

func (*Empty) MarshalProtoJSON added in v0.3.0

func (x *Empty) MarshalProtoJSON(s *json.MarshalState)

MarshalProtoJSON marshals an Empty to JSON.

func (*Empty) MarshalProtoText added in v0.5.0

func (x *Empty) MarshalProtoText() string

func (*Empty) MarshalToSizedBufferVT added in v0.2.1

func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Empty) MarshalToSizedBufferVTStrict added in v0.2.1

func (m *Empty) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*Empty) MarshalToVT added in v0.2.1

func (m *Empty) MarshalToVT(dAtA []byte) (int, error)

func (*Empty) MarshalToVTStrict added in v0.2.1

func (m *Empty) MarshalToVTStrict(dAtA []byte) (int, error)

func (*Empty) MarshalVT added in v0.2.1

func (m *Empty) MarshalVT() (dAtA []byte, err error)

func (*Empty) MarshalVTStrict added in v0.2.1

func (m *Empty) MarshalVTStrict() (dAtA []byte, err error)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) SizeVT added in v0.2.1

func (m *Empty) SizeVT() (n int)

func (*Empty) String added in v0.5.0

func (x *Empty) String() string

func (*Empty) UnmarshalJSON added in v0.4.0

func (x *Empty) UnmarshalJSON(b []byte) error

UnmarshalJSON unmarshals the Empty from JSON.

func (*Empty) UnmarshalProtoJSON added in v0.4.0

func (x *Empty) UnmarshalProtoJSON(s *json.UnmarshalState)

UnmarshalProtoJSON unmarshals an Empty from JSON.

func (*Empty) UnmarshalVT added in v0.2.1

func (m *Empty) UnmarshalVT(dAtA []byte) error

func (*Empty) UnmarshalVTUnsafe added in v0.2.1

func (m *Empty) UnmarshalVTUnsafe(dAtA []byte) error

Jump to

Keyboard shortcuts

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