emptypb

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: BSD-3-Clause Imports: 3 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() any

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) 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) 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