package emptypb
import "github.com/knqyf263/go-plugin/types/known/emptypb"
Index ¶
- Variables
- type Empty
- func (m *Empty) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalToVT(dAtA []byte) (int, error)
- func (m *Empty) MarshalVT() (dAtA []byte, err error)
- func (x *Empty) ProtoReflect() protoreflect.Message
- func (m *Empty) SizeVT() (n int)
- func (m *Empty) UnmarshalVT(dAtA []byte) error
Variables ¶
var ( ErrInvalidLength = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group") )
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) MarshalToSizedBufferVT ¶
func (*Empty) MarshalToVT ¶
func (*Empty) MarshalVT ¶
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) SizeVT ¶
func (*Empty) UnmarshalVT ¶
Source Files ¶
empty.pb.go empty_vtproto.pb.go
- Version
- v0.9.0 (latest)
- Published
- Mar 11, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 16 hours ago –
Tools for package owners.