Documentation ¶
Index ¶
- Variables
- type CustomOptions
- func (*CustomOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CustomOptions) GetInt32Field() []int32
- func (m *CustomOptions) GetKind() isCustomOptions_Kind
- func (x *CustomOptions) GetStringField() string
- func (*CustomOptions) ProtoMessage()
- func (x *CustomOptions) ProtoReflect() protoreflect.Message
- func (x *CustomOptions) Reset()
- func (x *CustomOptions) String() string
- type CustomOptions_StringField
- type IgnoreField
- func (*IgnoreField) Descriptor() ([]byte, []int)deprecated
- func (x *IgnoreField) GetBoolField() bool
- func (x *IgnoreField) GetBytesField() []byte
- func (x *IgnoreField) GetInt32Field() int32
- func (x *IgnoreField) GetNestedReference() *NestedReference
- func (x *IgnoreField) GetStringField() string
- func (*IgnoreField) ProtoMessage()
- func (x *IgnoreField) ProtoReflect() protoreflect.Message
- func (x *IgnoreField) Reset()
- func (x *IgnoreField) String() string
- type NestedReference
- func (*NestedReference) Descriptor() ([]byte, []int)deprecated
- func (x *NestedReference) GetNestedMessage() *proto3.TestAllTypes_NestedMessage
- func (*NestedReference) ProtoMessage()
- func (x *NestedReference) ProtoReflect() protoreflect.Message
- func (x *NestedReference) Reset()
- func (x *NestedReference) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_buf_protoschema_test_v1_test_cases_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CustomOptions ¶
type CustomOptions struct { Int32Field []int32 `protobuf:"varint,1,rep,packed,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` // Types that are assignable to Kind: // // *CustomOptions_StringField Kind isCustomOptions_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*CustomOptions) Descriptor
deprecated
func (*CustomOptions) Descriptor() ([]byte, []int)
Deprecated: Use CustomOptions.ProtoReflect.Descriptor instead.
func (*CustomOptions) GetInt32Field ¶
func (x *CustomOptions) GetInt32Field() []int32
func (*CustomOptions) GetKind ¶
func (m *CustomOptions) GetKind() isCustomOptions_Kind
func (*CustomOptions) GetStringField ¶
func (x *CustomOptions) GetStringField() string
func (*CustomOptions) ProtoMessage ¶
func (*CustomOptions) ProtoMessage()
func (*CustomOptions) ProtoReflect ¶
func (x *CustomOptions) ProtoReflect() protoreflect.Message
func (*CustomOptions) Reset ¶
func (x *CustomOptions) Reset()
func (*CustomOptions) String ¶
func (x *CustomOptions) String() string
type CustomOptions_StringField ¶
type CustomOptions_StringField struct {
StringField string `protobuf:"bytes,2,opt,name=string_field,json=stringField,proto3,oneof"`
}
type IgnoreField ¶
type IgnoreField struct { StringField string `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` // jsonschema:ignore // jsonschema:ignore Int32Field int32 `protobuf:"varint,2,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` BoolField bool `protobuf:"varint,3,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` BytesField []byte `protobuf:"bytes,4,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"` // jsonschema:hide // jsonschema:hide NestedReference *NestedReference `protobuf:"bytes,5,opt,name=nested_reference,json=nestedReference,proto3" json:"nested_reference,omitempty"` // contains filtered or unexported fields }
func (*IgnoreField) Descriptor
deprecated
func (*IgnoreField) Descriptor() ([]byte, []int)
Deprecated: Use IgnoreField.ProtoReflect.Descriptor instead.
func (*IgnoreField) GetBoolField ¶
func (x *IgnoreField) GetBoolField() bool
func (*IgnoreField) GetBytesField ¶
func (x *IgnoreField) GetBytesField() []byte
func (*IgnoreField) GetInt32Field ¶
func (x *IgnoreField) GetInt32Field() int32
func (*IgnoreField) GetNestedReference ¶
func (x *IgnoreField) GetNestedReference() *NestedReference
func (*IgnoreField) GetStringField ¶
func (x *IgnoreField) GetStringField() string
func (*IgnoreField) ProtoMessage ¶
func (*IgnoreField) ProtoMessage()
func (*IgnoreField) ProtoReflect ¶
func (x *IgnoreField) ProtoReflect() protoreflect.Message
func (*IgnoreField) Reset ¶
func (x *IgnoreField) Reset()
func (*IgnoreField) String ¶
func (x *IgnoreField) String() string
type NestedReference ¶
type NestedReference struct { NestedMessage *proto3.TestAllTypes_NestedMessage `protobuf:"bytes,1,opt,name=nested_message,json=nestedMessage,proto3" json:"nested_message,omitempty"` // contains filtered or unexported fields }
func (*NestedReference) Descriptor
deprecated
func (*NestedReference) Descriptor() ([]byte, []int)
Deprecated: Use NestedReference.ProtoReflect.Descriptor instead.
func (*NestedReference) GetNestedMessage ¶
func (x *NestedReference) GetNestedMessage() *proto3.TestAllTypes_NestedMessage
func (*NestedReference) ProtoMessage ¶
func (*NestedReference) ProtoMessage()
func (*NestedReference) ProtoReflect ¶
func (x *NestedReference) ProtoReflect() protoreflect.Message
func (*NestedReference) Reset ¶
func (x *NestedReference) Reset()
func (*NestedReference) String ¶
func (x *NestedReference) String() string
Click to show internal directories.
Click to hide internal directories.