Enum value maps for Enum.
var (
Enum_name = map[int32]string{
1: "ONE",
2: "TWO",
10: "TEN",
}
Enum_value = map[string]int32{
"ONE": 1,
"TWO": 2,
"TEN": 10,
}
)
Enum value maps for Enums_NestedEnum.
var (
Enums_NestedEnum_name = map[int32]string{
1: "UNO",
2: "DOS",
10: "DIEZ",
}
Enums_NestedEnum_value = map[string]int32{
"UNO": 1,
"DOS": 2,
"DIEZ": 10,
}
)
Extension fields to Extensions.
var (
// optional bool opt_ext_bool = 21;
E_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[0]
// optional string opt_ext_string = 22;
E_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[1]
// optional pb2.Enum opt_ext_enum = 23;
E_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[2]
// optional pb2.Nested opt_ext_nested = 24;
E_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[3]
// optional pb2.PartialRequired opt_ext_partial = 25;
E_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[4]
// repeated fixed32 rpt_ext_fixed32 = 31;
E_RptExtFixed32 = &file_internal_testprotos_textpb2_test_proto_extTypes[5]
// repeated pb2.Enum rpt_ext_enum = 32;
E_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[6]
// repeated pb2.Nested rpt_ext_nested = 33;
E_RptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[7]
// optional bool opt_ext_bool = 51;
E_ExtensionsContainer_OptExtBool = &file_internal_testprotos_textpb2_test_proto_extTypes[9]
// optional string opt_ext_string = 52;
E_ExtensionsContainer_OptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[10]
// optional pb2.Enum opt_ext_enum = 53;
E_ExtensionsContainer_OptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[11]
// optional pb2.Nested opt_ext_nested = 54;
E_ExtensionsContainer_OptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[12]
// optional pb2.PartialRequired opt_ext_partial = 55;
E_ExtensionsContainer_OptExtPartial = &file_internal_testprotos_textpb2_test_proto_extTypes[13]
// repeated string rpt_ext_string = 61;
E_ExtensionsContainer_RptExtString = &file_internal_testprotos_textpb2_test_proto_extTypes[14]
// repeated pb2.Enum rpt_ext_enum = 62;
E_ExtensionsContainer_RptExtEnum = &file_internal_testprotos_textpb2_test_proto_extTypes[15]
// repeated pb2.Nested rpt_ext_nested = 63;
E_ExtensionsContainer_RptExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[16]
)
Extension fields to MessageSet.
var (
// optional pb2.FakeMessageSetExtension message_set_extension = 50;
E_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[8]
// optional pb2.MessageSetExtension message_set_extension = 10;
E_MessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[17]
// optional pb2.MessageSetExtension not_message_set_extension = 20;
E_MessageSetExtension_NotMessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[18]
// optional pb2.Nested ext_nested = 30;
E_MessageSetExtension_ExtNested = &file_internal_testprotos_textpb2_test_proto_extTypes[19]
)
Extension fields to FakeMessageSet.
var (
// optional pb2.FakeMessageSetExtension message_set_extension = 10;
E_FakeMessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[20]
)
var File_internal_testprotos_textpb2_test_proto protoreflect.FileDescriptor
type Enum int32
const (
Enum_ONE Enum = 1
Enum_TWO Enum = 2
Enum_TEN Enum = 10
)
func (Enum) Descriptor() protoreflect.EnumDescriptor
func (x Enum) Enum() *Enum
func (Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Enum.Descriptor instead.
func (x Enum) Number() protoreflect.EnumNumber
func (x Enum) String() string
func (Enum) Type() protoreflect.EnumType
func (x *Enum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
Message contains enum fields.
type Enums struct {
OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
// contains filtered or unexported fields
}
func (*Enums) Descriptor() ([]byte, []int)
Deprecated: Use Enums.ProtoReflect.Descriptor instead.
func (x *Enums) GetOptEnum() Enum
func (x *Enums) GetOptNestedEnum() Enums_NestedEnum
func (x *Enums) GetRptEnum() []Enum
func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum
func (*Enums) ProtoMessage()
func (x *Enums) ProtoReflect() protoreflect.Message
func (x *Enums) Reset()
func (x *Enums) String() string
type Enums_NestedEnum int32
const (
Enums_UNO Enums_NestedEnum = 1
Enums_DOS Enums_NestedEnum = 2
Enums_DIEZ Enums_NestedEnum = 10
)
func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (x Enums_NestedEnum) Enum() *Enums_NestedEnum
func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Enums_NestedEnum.Descriptor instead.
func (x Enums_NestedEnum) Number() protoreflect.EnumNumber
func (x Enums_NestedEnum) String() string
func (Enums_NestedEnum) Type() protoreflect.EnumType
func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Extensions struct {
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
// contains filtered or unexported fields
}
func (*Extensions) Descriptor() ([]byte, []int)
Deprecated: Use Extensions.ProtoReflect.Descriptor instead.
func (x *Extensions) GetOptBool() bool
func (x *Extensions) GetOptInt32() int32
func (x *Extensions) GetOptString() string
func (*Extensions) ProtoMessage()
func (x *Extensions) ProtoReflect() protoreflect.Message
func (x *Extensions) Reset()
func (x *Extensions) String() string
type ExtensionsContainer struct {
// contains filtered or unexported fields
}
func (*ExtensionsContainer) Descriptor() ([]byte, []int)
Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.
func (*ExtensionsContainer) ProtoMessage()
func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message
func (x *ExtensionsContainer) Reset()
func (x *ExtensionsContainer) String() string
type FakeMessageSet struct {
// contains filtered or unexported fields
}
func (*FakeMessageSet) Descriptor() ([]byte, []int)
Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.
func (*FakeMessageSet) ProtoMessage()
func (x *FakeMessageSet) ProtoReflect() protoreflect.Message
func (x *FakeMessageSet) Reset()
func (x *FakeMessageSet) String() string
type FakeMessageSetExtension struct {
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
// contains filtered or unexported fields
}
func (*FakeMessageSetExtension) Descriptor() ([]byte, []int)
Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.
func (x *FakeMessageSetExtension) GetOptString() string
func (*FakeMessageSetExtension) ProtoMessage()
func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message
func (x *FakeMessageSetExtension) Reset()
func (x *FakeMessageSetExtension) String() string
type IndirectRequired struct {
OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Types that are assignable to Union:
//
// *IndirectRequired_OneofNested
Union isIndirectRequired_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*IndirectRequired) Descriptor() ([]byte, []int)
Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.
func (x *IndirectRequired) GetOneofNested() *NestedWithRequired
func (x *IndirectRequired) GetOptNested() *NestedWithRequired
func (x *IndirectRequired) GetRptNested() []*NestedWithRequired
func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired
func (m *IndirectRequired) GetUnion() isIndirectRequired_Union
func (*IndirectRequired) ProtoMessage()
func (x *IndirectRequired) ProtoReflect() protoreflect.Message
func (x *IndirectRequired) Reset()
func (x *IndirectRequired) String() string
type IndirectRequired_OneofNested struct {
OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
}
Message contains well-known type fields.
type KnownTypes struct {
OptBool *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
OptInt32 *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
OptInt64 *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
OptUint32 *wrapperspb.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
OptUint64 *wrapperspb.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
OptFloat *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
OptDouble *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
OptString *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
OptBytes *wrapperspb.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
OptDuration *durationpb.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
OptTimestamp *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
OptStruct *structpb.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
OptList *structpb.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
OptValue *structpb.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
OptNull *structpb.NullValue `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
OptEmpty *emptypb.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
OptAny *anypb.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
OptFieldmask *fieldmaskpb.FieldMask `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
// contains filtered or unexported fields
}
func (*KnownTypes) Descriptor() ([]byte, []int)
Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.
func (x *KnownTypes) GetOptAny() *anypb.Any
func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue
func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue
func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue
func (x *KnownTypes) GetOptDuration() *durationpb.Duration
func (x *KnownTypes) GetOptEmpty() *emptypb.Empty
func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask
func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue
func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value
func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value
func (x *KnownTypes) GetOptList() *structpb.ListValue
func (x *KnownTypes) GetOptNull() structpb.NullValue
func (x *KnownTypes) GetOptString() *wrapperspb.StringValue
func (x *KnownTypes) GetOptStruct() *structpb.Struct
func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp
func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value
func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value
func (x *KnownTypes) GetOptValue() *structpb.Value
func (*KnownTypes) ProtoMessage()
func (x *KnownTypes) ProtoReflect() protoreflect.Message
func (x *KnownTypes) Reset()
func (x *KnownTypes) String() string
Message contains map fields.
type Maps struct {
Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}
func (*Maps) Descriptor() ([]byte, []int)
Deprecated: Use Maps.ProtoReflect.Descriptor instead.
func (x *Maps) GetInt32ToStr() map[int32]string
func (x *Maps) GetStrToNested() map[string]*Nested
func (*Maps) ProtoMessage()
func (x *Maps) ProtoReflect() protoreflect.Message
func (x *Maps) Reset()
func (x *Maps) String() string
type MessageSet struct {
// contains filtered or unexported fields
}
func (*MessageSet) Descriptor() ([]byte, []int)
Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.
func (*MessageSet) ProtoMessage()
func (x *MessageSet) ProtoReflect() protoreflect.Message
func (x *MessageSet) Reset()
func (x *MessageSet) String() string
type MessageSetExtension struct {
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
// contains filtered or unexported fields
}
func (*MessageSetExtension) Descriptor() ([]byte, []int)
Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.
func (x *MessageSetExtension) GetOptString() string
func (*MessageSetExtension) ProtoMessage()
func (x *MessageSetExtension) ProtoReflect() protoreflect.Message
func (x *MessageSetExtension) Reset()
func (x *MessageSetExtension) String() string
Message type used as submessage.
type Nested struct {
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
// contains filtered or unexported fields
}
func (*Nested) Descriptor() ([]byte, []int)
Deprecated: Use Nested.ProtoReflect.Descriptor instead.
func (x *Nested) GetOptNested() *Nested
func (x *Nested) GetOptString() string
func (*Nested) ProtoMessage()
func (x *Nested) ProtoReflect() protoreflect.Message
func (x *Nested) Reset()
func (x *Nested) String() string
type NestedWithRequired struct {
ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
// contains filtered or unexported fields
}
func (*NestedWithRequired) Descriptor() ([]byte, []int)
Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.
func (x *NestedWithRequired) GetReqString() string
func (*NestedWithRequired) ProtoMessage()
func (x *NestedWithRequired) ProtoReflect() protoreflect.Message
func (x *NestedWithRequired) Reset()
func (x *NestedWithRequired) String() string
Message contains message and group fields.
type Nests struct {
OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
// contains filtered or unexported fields
}
func (*Nests) Descriptor() ([]byte, []int)
Deprecated: Use Nests.ProtoReflect.Descriptor instead.
func (x *Nests) GetOptNested() *Nested
func (x *Nests) GetOptgroup() *Nests_OptGroup
func (x *Nests) GetRptNested() []*Nested
func (x *Nests) GetRptgroup() []*Nests_RptGroup
func (*Nests) ProtoMessage()
func (x *Nests) ProtoReflect() protoreflect.Message
func (x *Nests) Reset()
func (x *Nests) String() string
type Nests_OptGroup struct {
OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
// contains filtered or unexported fields
}
func (*Nests_OptGroup) Descriptor() ([]byte, []int)
Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.
func (x *Nests_OptGroup) GetOptNested() *Nested
func (x *Nests_OptGroup) GetOptString() string
func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup
func (*Nests_OptGroup) ProtoMessage()
func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message
func (x *Nests_OptGroup) Reset()
func (x *Nests_OptGroup) String() string
type Nests_OptGroup_OptNestedGroup struct {
OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
// contains filtered or unexported fields
}
func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int)
Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.
func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32
func (*Nests_OptGroup_OptNestedGroup) ProtoMessage()
func (x *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message
func (x *Nests_OptGroup_OptNestedGroup) Reset()
func (x *Nests_OptGroup_OptNestedGroup) String() string
type Nests_RptGroup struct {
RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
// contains filtered or unexported fields
}
func (*Nests_RptGroup) Descriptor() ([]byte, []int)
Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.
func (x *Nests_RptGroup) GetRptString() []string
func (*Nests_RptGroup) ProtoMessage()
func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message
func (x *Nests_RptGroup) Reset()
func (x *Nests_RptGroup) String() string
Message contains both required and optional fields.
type PartialRequired struct {
ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
// contains filtered or unexported fields
}
func (*PartialRequired) Descriptor() ([]byte, []int)
Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.
func (x *PartialRequired) GetOptString() string
func (x *PartialRequired) GetReqString() string
func (*PartialRequired) ProtoMessage()
func (x *PartialRequired) ProtoReflect() protoreflect.Message
func (x *PartialRequired) Reset()
func (x *PartialRequired) String() string
Message contains repeated fields.
type Repeats struct {
RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*Repeats) Descriptor() ([]byte, []int)
Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
func (x *Repeats) GetRptBool() []bool
func (x *Repeats) GetRptBytes() [][]byte
func (x *Repeats) GetRptDouble() []float64
func (x *Repeats) GetRptFloat() []float32
func (x *Repeats) GetRptInt32() []int32
func (x *Repeats) GetRptInt64() []int64
func (x *Repeats) GetRptString() []string
func (x *Repeats) GetRptUint32() []uint32
func (x *Repeats) GetRptUint64() []uint64
func (*Repeats) ProtoMessage()
func (x *Repeats) ProtoReflect() protoreflect.Message
func (x *Repeats) Reset()
func (x *Repeats) String() string
Message contains required fields.
type Requireds struct {
ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"`
ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
// contains filtered or unexported fields
}
func (*Requireds) Descriptor() ([]byte, []int)
Deprecated: Use Requireds.ProtoReflect.Descriptor instead.
func (x *Requireds) GetReqBool() bool
func (x *Requireds) GetReqDouble() float64
func (x *Requireds) GetReqEnum() Enum
func (x *Requireds) GetReqNested() *Nested
func (x *Requireds) GetReqSfixed64() int64
func (x *Requireds) GetReqString() string
func (*Requireds) ProtoMessage()
func (x *Requireds) ProtoReflect() protoreflect.Message
func (x *Requireds) Reset()
func (x *Requireds) String() string
Scalars contains optional scalar fields.
type Scalars struct {
OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
// contains filtered or unexported fields
}
func (*Scalars) Descriptor() ([]byte, []int)
Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
func (x *Scalars) GetOptBool() bool
func (x *Scalars) GetOptBytes() []byte
func (x *Scalars) GetOptDouble() float64
func (x *Scalars) GetOptFixed32() uint32
func (x *Scalars) GetOptFixed64() uint64
func (x *Scalars) GetOptFloat() float32
func (x *Scalars) GetOptInt32() int32
func (x *Scalars) GetOptInt64() int64
func (x *Scalars) GetOptSfixed32() int32
func (x *Scalars) GetOptSfixed64() int64
func (x *Scalars) GetOptSint32() int32
func (x *Scalars) GetOptSint64() int64
func (x *Scalars) GetOptString() string
func (x *Scalars) GetOptUint32() uint32
func (x *Scalars) GetOptUint64() uint64
func (*Scalars) ProtoMessage()
func (x *Scalars) ProtoReflect() protoreflect.Message
func (x *Scalars) Reset()
func (x *Scalars) String() string