Documentation ¶
Index ¶
- type Empty
- func (m *Empty) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Empty) CloneVT() *Empty
- func (this *Empty) EqualMessageVT(thatMsg any) bool
- func (this *Empty) EqualVT(that *Empty) bool
- func (x *Empty) MarshalJSON() ([]byte, error)
- func (x *Empty) MarshalProtoJSON(s *json.MarshalState)
- func (x *Empty) MarshalProtoText() string
- func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Empty) MarshalToVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Empty) MarshalVT() (dAtA []byte, err error)
- func (m *Empty) MarshalVTStrict() (dAtA []byte, err error)
- func (*Empty) ProtoMessage()
- func (x *Empty) Reset()
- func (m *Empty) SizeVT() (n int)
- func (x *Empty) String() string
- func (x *Empty) UnmarshalJSON(b []byte) error
- func (x *Empty) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Empty) UnmarshalVT(dAtA []byte) error
- func (m *Empty) UnmarshalVTUnsafe(dAtA []byte) error
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) EqualMessageVT ¶ added in v0.2.1
func (*Empty) MarshalJSON ¶ added in v0.3.0
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 (*Empty) MarshalToSizedBufferVT ¶ added in v0.2.1
func (*Empty) MarshalToSizedBufferVTStrict ¶ added in v0.2.1
func (*Empty) MarshalToVTStrict ¶ added in v0.2.1
func (*Empty) MarshalVTStrict ¶ added in v0.2.1
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) UnmarshalJSON ¶ added in v0.4.0
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 (*Empty) UnmarshalVTUnsafe ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.