Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional opts.Options field = 1035;
E_Field = &file_opts_proto_extTypes[1]
)
Extension fields to descriptor.FieldOptions.
View Source
var (
// optional opts.Options field_defaults = 1035;
E_FieldDefaults = &file_opts_proto_extTypes[0]
)
Extension fields to descriptor.MessageOptions.
View Source
var File_opts_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Denotes that a field should not be considered optional. Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"` FieldBehavior *annotations.FieldBehavior `protobuf:"varint,2,opt,name=field_behavior,json=fieldBehavior,enum=google.api.FieldBehavior" json:"field_behavior,omitempty"` // contains filtered or unexported fields }
func (*Options) Descriptor
deprecated
func (*Options) GetFieldBehavior ¶
func (x *Options) GetFieldBehavior() annotations.FieldBehavior
func (*Options) GetRequired ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶
func (x *Options) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.