textpb2

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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 Enum.

View Source
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,
	}
)

Enum value maps for Enums_NestedEnum.

View Source
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 Extensions.

View Source
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 MessageSet.

View Source
var (
	// optional pb2.FakeMessageSetExtension message_set_extension = 10;
	E_FakeMessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpb2_test_proto_extTypes[20]
)

Extension fields to FakeMessageSet.

View Source
var File_internal_testprotos_textpb2_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Enum

type Enum int32
const (
	Enum_ONE Enum = 1
	Enum_TWO Enum = 2
	Enum_TEN Enum = 10
)

func (Enum) Descriptor

func (Enum) Descriptor() protoreflect.EnumDescriptor

func (Enum) Enum

func (x Enum) Enum() *Enum

func (Enum) EnumDescriptor deprecated

func (Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use Enum.Descriptor instead.

func (Enum) Number

func (x Enum) Number() protoreflect.EnumNumber

func (Enum) String

func (x Enum) String() string

func (Enum) Type

func (Enum) Type() protoreflect.EnumType

func (*Enum) UnmarshalJSON deprecated

func (x *Enum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Enums

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
}

Message contains enum fields.

func (*Enums) Descriptor deprecated

func (*Enums) Descriptor() ([]byte, []int)

Deprecated: Use Enums.ProtoReflect.Descriptor instead.

func (*Enums) GetOptEnum

func (x *Enums) GetOptEnum() Enum

func (*Enums) GetOptNestedEnum

func (x *Enums) GetOptNestedEnum() Enums_NestedEnum

func (*Enums) GetRptEnum

func (x *Enums) GetRptEnum() []Enum

func (*Enums) GetRptNestedEnum

func (x *Enums) GetRptNestedEnum() []Enums_NestedEnum

func (*Enums) ProtoMessage

func (*Enums) ProtoMessage()

func (*Enums) ProtoReflect

func (x *Enums) ProtoReflect() protoreflect.Message

func (*Enums) Reset

func (x *Enums) Reset()

func (*Enums) String

func (x *Enums) String() string

type Enums_NestedEnum

type Enums_NestedEnum int32
const (
	Enums_UNO  Enums_NestedEnum = 1
	Enums_DOS  Enums_NestedEnum = 2
	Enums_DIEZ Enums_NestedEnum = 10
)

func (Enums_NestedEnum) Descriptor

func (Enums_NestedEnum) Enum

func (Enums_NestedEnum) EnumDescriptor deprecated

func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use Enums_NestedEnum.Descriptor instead.

func (Enums_NestedEnum) Number

func (Enums_NestedEnum) String

func (x Enums_NestedEnum) String() string

func (Enums_NestedEnum) Type

func (*Enums_NestedEnum) UnmarshalJSON deprecated

func (x *Enums_NestedEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type Extensions

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 deprecated

func (*Extensions) Descriptor() ([]byte, []int)

Deprecated: Use Extensions.ProtoReflect.Descriptor instead.

func (*Extensions) GetOptBool

func (x *Extensions) GetOptBool() bool

func (*Extensions) GetOptInt32

func (x *Extensions) GetOptInt32() int32

func (*Extensions) GetOptString

func (x *Extensions) GetOptString() string

func (*Extensions) ProtoMessage

func (*Extensions) ProtoMessage()

func (*Extensions) ProtoReflect

func (x *Extensions) ProtoReflect() protoreflect.Message

func (*Extensions) Reset

func (x *Extensions) Reset()

func (*Extensions) String

func (x *Extensions) String() string

type ExtensionsContainer

type ExtensionsContainer struct {
	// contains filtered or unexported fields
}

func (*ExtensionsContainer) Descriptor deprecated

func (*ExtensionsContainer) Descriptor() ([]byte, []int)

Deprecated: Use ExtensionsContainer.ProtoReflect.Descriptor instead.

func (*ExtensionsContainer) ProtoMessage

func (*ExtensionsContainer) ProtoMessage()

func (*ExtensionsContainer) ProtoReflect

func (x *ExtensionsContainer) ProtoReflect() protoreflect.Message

func (*ExtensionsContainer) Reset

func (x *ExtensionsContainer) Reset()

func (*ExtensionsContainer) String

func (x *ExtensionsContainer) String() string

type FakeMessageSet

type FakeMessageSet struct {
	// contains filtered or unexported fields
}

func (*FakeMessageSet) Descriptor deprecated

func (*FakeMessageSet) Descriptor() ([]byte, []int)

Deprecated: Use FakeMessageSet.ProtoReflect.Descriptor instead.

func (*FakeMessageSet) ProtoMessage

func (*FakeMessageSet) ProtoMessage()

func (*FakeMessageSet) ProtoReflect

func (x *FakeMessageSet) ProtoReflect() protoreflect.Message

func (*FakeMessageSet) Reset

func (x *FakeMessageSet) Reset()

func (*FakeMessageSet) String

func (x *FakeMessageSet) String() string

type FakeMessageSetExtension

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 deprecated

func (*FakeMessageSetExtension) Descriptor() ([]byte, []int)

Deprecated: Use FakeMessageSetExtension.ProtoReflect.Descriptor instead.

func (*FakeMessageSetExtension) GetOptString

func (x *FakeMessageSetExtension) GetOptString() string

func (*FakeMessageSetExtension) ProtoMessage

func (*FakeMessageSetExtension) ProtoMessage()

func (*FakeMessageSetExtension) ProtoReflect

func (x *FakeMessageSetExtension) ProtoReflect() protoreflect.Message

func (*FakeMessageSetExtension) Reset

func (x *FakeMessageSetExtension) Reset()

func (*FakeMessageSetExtension) String

func (x *FakeMessageSetExtension) String() string

type IndirectRequired

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 `` /* 163-byte string literal not displayed */
	// Types that are assignable to Union:
	//
	//	*IndirectRequired_OneofNested
	Union isIndirectRequired_Union `protobuf_oneof:"union"`
	// contains filtered or unexported fields
}

func (*IndirectRequired) Descriptor deprecated

func (*IndirectRequired) Descriptor() ([]byte, []int)

Deprecated: Use IndirectRequired.ProtoReflect.Descriptor instead.

func (*IndirectRequired) GetOneofNested

func (x *IndirectRequired) GetOneofNested() *NestedWithRequired

func (*IndirectRequired) GetOptNested

func (x *IndirectRequired) GetOptNested() *NestedWithRequired

func (*IndirectRequired) GetRptNested

func (x *IndirectRequired) GetRptNested() []*NestedWithRequired

func (*IndirectRequired) GetStrToNested

func (x *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired

func (*IndirectRequired) GetUnion

func (m *IndirectRequired) GetUnion() isIndirectRequired_Union

func (*IndirectRequired) ProtoMessage

func (*IndirectRequired) ProtoMessage()

func (*IndirectRequired) ProtoReflect

func (x *IndirectRequired) ProtoReflect() protoreflect.Message

func (*IndirectRequired) Reset

func (x *IndirectRequired) Reset()

func (*IndirectRequired) String

func (x *IndirectRequired) String() string

type IndirectRequired_OneofNested

type IndirectRequired_OneofNested struct {
	OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"`
}

type KnownTypes

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
}

Message contains well-known type fields.

func (*KnownTypes) Descriptor deprecated

func (*KnownTypes) Descriptor() ([]byte, []int)

Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.

func (*KnownTypes) GetOptAny

func (x *KnownTypes) GetOptAny() *anypb.Any

func (*KnownTypes) GetOptBool

func (x *KnownTypes) GetOptBool() *wrapperspb.BoolValue

func (*KnownTypes) GetOptBytes

func (x *KnownTypes) GetOptBytes() *wrapperspb.BytesValue

func (*KnownTypes) GetOptDouble

func (x *KnownTypes) GetOptDouble() *wrapperspb.DoubleValue

func (*KnownTypes) GetOptDuration

func (x *KnownTypes) GetOptDuration() *durationpb.Duration

func (*KnownTypes) GetOptEmpty

func (x *KnownTypes) GetOptEmpty() *emptypb.Empty

func (*KnownTypes) GetOptFieldmask

func (x *KnownTypes) GetOptFieldmask() *fieldmaskpb.FieldMask

func (*KnownTypes) GetOptFloat

func (x *KnownTypes) GetOptFloat() *wrapperspb.FloatValue

func (*KnownTypes) GetOptInt32

func (x *KnownTypes) GetOptInt32() *wrapperspb.Int32Value

func (*KnownTypes) GetOptInt64

func (x *KnownTypes) GetOptInt64() *wrapperspb.Int64Value

func (*KnownTypes) GetOptList

func (x *KnownTypes) GetOptList() *structpb.ListValue

func (*KnownTypes) GetOptNull

func (x *KnownTypes) GetOptNull() structpb.NullValue

func (*KnownTypes) GetOptString

func (x *KnownTypes) GetOptString() *wrapperspb.StringValue

func (*KnownTypes) GetOptStruct

func (x *KnownTypes) GetOptStruct() *structpb.Struct

func (*KnownTypes) GetOptTimestamp

func (x *KnownTypes) GetOptTimestamp() *timestamppb.Timestamp

func (*KnownTypes) GetOptUint32

func (x *KnownTypes) GetOptUint32() *wrapperspb.UInt32Value

func (*KnownTypes) GetOptUint64

func (x *KnownTypes) GetOptUint64() *wrapperspb.UInt64Value

func (*KnownTypes) GetOptValue

func (x *KnownTypes) GetOptValue() *structpb.Value

func (*KnownTypes) ProtoMessage

func (*KnownTypes) ProtoMessage()

func (*KnownTypes) ProtoReflect

func (x *KnownTypes) ProtoReflect() protoreflect.Message

func (*KnownTypes) Reset

func (x *KnownTypes) Reset()

func (*KnownTypes) String

func (x *KnownTypes) String() string

type Maps

type Maps struct {
	Int32ToStr  map[int32]string   `` /* 161-byte string literal not displayed */
	StrToNested map[string]*Nested `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

Message contains map fields.

func (*Maps) Descriptor deprecated

func (*Maps) Descriptor() ([]byte, []int)

Deprecated: Use Maps.ProtoReflect.Descriptor instead.

func (*Maps) GetInt32ToStr

func (x *Maps) GetInt32ToStr() map[int32]string

func (*Maps) GetStrToNested

func (x *Maps) GetStrToNested() map[string]*Nested

func (*Maps) ProtoMessage

func (*Maps) ProtoMessage()

func (*Maps) ProtoReflect

func (x *Maps) ProtoReflect() protoreflect.Message

func (*Maps) Reset

func (x *Maps) Reset()

func (*Maps) String

func (x *Maps) String() string

type MessageSet

type MessageSet struct {
	// contains filtered or unexported fields
}

func (*MessageSet) Descriptor deprecated

func (*MessageSet) Descriptor() ([]byte, []int)

Deprecated: Use MessageSet.ProtoReflect.Descriptor instead.

func (*MessageSet) ProtoMessage

func (*MessageSet) ProtoMessage()

func (*MessageSet) ProtoReflect

func (x *MessageSet) ProtoReflect() protoreflect.Message

func (*MessageSet) Reset

func (x *MessageSet) Reset()

func (*MessageSet) String

func (x *MessageSet) String() string

type MessageSetExtension

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 deprecated

func (*MessageSetExtension) Descriptor() ([]byte, []int)

Deprecated: Use MessageSetExtension.ProtoReflect.Descriptor instead.

func (*MessageSetExtension) GetOptString

func (x *MessageSetExtension) GetOptString() string

func (*MessageSetExtension) ProtoMessage

func (*MessageSetExtension) ProtoMessage()

func (*MessageSetExtension) ProtoReflect

func (x *MessageSetExtension) ProtoReflect() protoreflect.Message

func (*MessageSetExtension) Reset

func (x *MessageSetExtension) Reset()

func (*MessageSetExtension) String

func (x *MessageSetExtension) String() string

type Nested

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
}

Message type used as submessage.

func (*Nested) Descriptor deprecated

func (*Nested) Descriptor() ([]byte, []int)

Deprecated: Use Nested.ProtoReflect.Descriptor instead.

func (*Nested) GetOptNested

func (x *Nested) GetOptNested() *Nested

func (*Nested) GetOptString

func (x *Nested) GetOptString() string

func (*Nested) ProtoMessage

func (*Nested) ProtoMessage()

func (*Nested) ProtoReflect

func (x *Nested) ProtoReflect() protoreflect.Message

func (*Nested) Reset

func (x *Nested) Reset()

func (*Nested) String

func (x *Nested) String() string

type NestedWithRequired

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 deprecated

func (*NestedWithRequired) Descriptor() ([]byte, []int)

Deprecated: Use NestedWithRequired.ProtoReflect.Descriptor instead.

func (*NestedWithRequired) GetReqString

func (x *NestedWithRequired) GetReqString() string

func (*NestedWithRequired) ProtoMessage

func (*NestedWithRequired) ProtoMessage()

func (*NestedWithRequired) ProtoReflect

func (x *NestedWithRequired) ProtoReflect() protoreflect.Message

func (*NestedWithRequired) Reset

func (x *NestedWithRequired) Reset()

func (*NestedWithRequired) String

func (x *NestedWithRequired) String() string

type Nests

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
}

Message contains message and group fields.

func (*Nests) Descriptor deprecated

func (*Nests) Descriptor() ([]byte, []int)

Deprecated: Use Nests.ProtoReflect.Descriptor instead.

func (*Nests) GetOptNested

func (x *Nests) GetOptNested() *Nested

func (*Nests) GetOptgroup

func (x *Nests) GetOptgroup() *Nests_OptGroup

func (*Nests) GetRptNested

func (x *Nests) GetRptNested() []*Nested

func (*Nests) GetRptgroup

func (x *Nests) GetRptgroup() []*Nests_RptGroup

func (*Nests) ProtoMessage

func (*Nests) ProtoMessage()

func (*Nests) ProtoReflect

func (x *Nests) ProtoReflect() protoreflect.Message

func (*Nests) Reset

func (x *Nests) Reset()

func (*Nests) String

func (x *Nests) String() string

type Nests_OptGroup

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 deprecated

func (*Nests_OptGroup) Descriptor() ([]byte, []int)

Deprecated: Use Nests_OptGroup.ProtoReflect.Descriptor instead.

func (*Nests_OptGroup) GetOptNested

func (x *Nests_OptGroup) GetOptNested() *Nested

func (*Nests_OptGroup) GetOptString

func (x *Nests_OptGroup) GetOptString() string

func (*Nests_OptGroup) GetOptnestedgroup

func (x *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup

func (*Nests_OptGroup) ProtoMessage

func (*Nests_OptGroup) ProtoMessage()

func (*Nests_OptGroup) ProtoReflect

func (x *Nests_OptGroup) ProtoReflect() protoreflect.Message

func (*Nests_OptGroup) Reset

func (x *Nests_OptGroup) Reset()

func (*Nests_OptGroup) String

func (x *Nests_OptGroup) String() string

type Nests_OptGroup_OptNestedGroup

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 deprecated

func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int)

Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Descriptor instead.

func (*Nests_OptGroup_OptNestedGroup) GetOptFixed32

func (x *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32

func (*Nests_OptGroup_OptNestedGroup) ProtoMessage

func (*Nests_OptGroup_OptNestedGroup) ProtoMessage()

func (*Nests_OptGroup_OptNestedGroup) ProtoReflect

func (*Nests_OptGroup_OptNestedGroup) Reset

func (x *Nests_OptGroup_OptNestedGroup) Reset()

func (*Nests_OptGroup_OptNestedGroup) String

type Nests_RptGroup

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 deprecated

func (*Nests_RptGroup) Descriptor() ([]byte, []int)

Deprecated: Use Nests_RptGroup.ProtoReflect.Descriptor instead.

func (*Nests_RptGroup) GetRptString

func (x *Nests_RptGroup) GetRptString() []string

func (*Nests_RptGroup) ProtoMessage

func (*Nests_RptGroup) ProtoMessage()

func (*Nests_RptGroup) ProtoReflect

func (x *Nests_RptGroup) ProtoReflect() protoreflect.Message

func (*Nests_RptGroup) Reset

func (x *Nests_RptGroup) Reset()

func (*Nests_RptGroup) String

func (x *Nests_RptGroup) String() string

type PartialRequired

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
}

Message contains both required and optional fields.

func (*PartialRequired) Descriptor deprecated

func (*PartialRequired) Descriptor() ([]byte, []int)

Deprecated: Use PartialRequired.ProtoReflect.Descriptor instead.

func (*PartialRequired) GetOptString

func (x *PartialRequired) GetOptString() string

func (*PartialRequired) GetReqString

func (x *PartialRequired) GetReqString() string

func (*PartialRequired) ProtoMessage

func (*PartialRequired) ProtoMessage()

func (*PartialRequired) ProtoReflect

func (x *PartialRequired) ProtoReflect() protoreflect.Message

func (*PartialRequired) Reset

func (x *PartialRequired) Reset()

func (*PartialRequired) String

func (x *PartialRequired) String() string

type Repeats

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
}

Message contains repeated fields.

func (*Repeats) Descriptor deprecated

func (*Repeats) Descriptor() ([]byte, []int)

Deprecated: Use Repeats.ProtoReflect.Descriptor instead.

func (*Repeats) GetRptBool

func (x *Repeats) GetRptBool() []bool

func (*Repeats) GetRptBytes

func (x *Repeats) GetRptBytes() [][]byte

func (*Repeats) GetRptDouble

func (x *Repeats) GetRptDouble() []float64

func (*Repeats) GetRptFloat

func (x *Repeats) GetRptFloat() []float32

func (*Repeats) GetRptInt32

func (x *Repeats) GetRptInt32() []int32

func (*Repeats) GetRptInt64

func (x *Repeats) GetRptInt64() []int64

func (*Repeats) GetRptString

func (x *Repeats) GetRptString() []string

func (*Repeats) GetRptUint32

func (x *Repeats) GetRptUint32() []uint32

func (*Repeats) GetRptUint64

func (x *Repeats) GetRptUint64() []uint64

func (*Repeats) ProtoMessage

func (*Repeats) ProtoMessage()

func (*Repeats) ProtoReflect

func (x *Repeats) ProtoReflect() protoreflect.Message

func (*Repeats) Reset

func (x *Repeats) Reset()

func (*Repeats) String

func (x *Repeats) String() string

type Requireds

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
}

Message contains required fields.

func (*Requireds) Descriptor deprecated

func (*Requireds) Descriptor() ([]byte, []int)

Deprecated: Use Requireds.ProtoReflect.Descriptor instead.

func (*Requireds) GetReqBool

func (x *Requireds) GetReqBool() bool

func (*Requireds) GetReqDouble

func (x *Requireds) GetReqDouble() float64

func (*Requireds) GetReqEnum

func (x *Requireds) GetReqEnum() Enum

func (*Requireds) GetReqNested

func (x *Requireds) GetReqNested() *Nested

func (*Requireds) GetReqSfixed64

func (x *Requireds) GetReqSfixed64() int64

func (*Requireds) GetReqString

func (x *Requireds) GetReqString() string

func (*Requireds) ProtoMessage

func (*Requireds) ProtoMessage()

func (*Requireds) ProtoReflect

func (x *Requireds) ProtoReflect() protoreflect.Message

func (*Requireds) Reset

func (x *Requireds) Reset()

func (*Requireds) String

func (x *Requireds) String() string

type Scalars

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
}

Scalars contains optional scalar fields.

func (*Scalars) Descriptor deprecated

func (*Scalars) Descriptor() ([]byte, []int)

Deprecated: Use Scalars.ProtoReflect.Descriptor instead.

func (*Scalars) GetOptBool

func (x *Scalars) GetOptBool() bool

func (*Scalars) GetOptBytes

func (x *Scalars) GetOptBytes() []byte

func (*Scalars) GetOptDouble

func (x *Scalars) GetOptDouble() float64

func (*Scalars) GetOptFixed32

func (x *Scalars) GetOptFixed32() uint32

func (*Scalars) GetOptFixed64

func (x *Scalars) GetOptFixed64() uint64

func (*Scalars) GetOptFloat

func (x *Scalars) GetOptFloat() float32

func (*Scalars) GetOptInt32

func (x *Scalars) GetOptInt32() int32

func (*Scalars) GetOptInt64

func (x *Scalars) GetOptInt64() int64

func (*Scalars) GetOptSfixed32

func (x *Scalars) GetOptSfixed32() int32

func (*Scalars) GetOptSfixed64

func (x *Scalars) GetOptSfixed64() int64

func (*Scalars) GetOptSint32

func (x *Scalars) GetOptSint32() int32

func (*Scalars) GetOptSint64

func (x *Scalars) GetOptSint64() int64

func (*Scalars) GetOptString

func (x *Scalars) GetOptString() string

func (*Scalars) GetOptUint32

func (x *Scalars) GetOptUint32() uint32

func (*Scalars) GetOptUint64

func (x *Scalars) GetOptUint64() uint64

func (*Scalars) ProtoMessage

func (*Scalars) ProtoMessage()

func (*Scalars) ProtoReflect

func (x *Scalars) ProtoReflect() protoreflect.Message

func (*Scalars) Reset

func (x *Scalars) Reset()

func (*Scalars) String

func (x *Scalars) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL