pb2

package
v2.0.0-...-d24bc72 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// extend pb2.Extensions { optional bool opt_ext_bool = 21; }
	E_OptExtBool = &file_pb2_test_proto_extDescs[0]

	// extend pb2.Extensions { optional string opt_ext_string = 22; }
	E_OptExtString = &file_pb2_test_proto_extDescs[1]

	// extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 23; }
	E_OptExtEnum = &file_pb2_test_proto_extDescs[2]

	// extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 24; }
	E_OptExtNested = &file_pb2_test_proto_extDescs[3]

	// extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 25; }
	E_OptExtPartial = &file_pb2_test_proto_extDescs[4]

	// extend pb2.Extensions { repeated fixed32 rpt_ext_fixed32 = 31; }
	E_RptExtFixed32 = &file_pb2_test_proto_extDescs[5]

	// extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 32; }
	E_RptExtEnum = &file_pb2_test_proto_extDescs[6]

	// extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 33; }
	E_RptExtNested = &file_pb2_test_proto_extDescs[7]

	// extend pb2.MessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 50; }
	E_MessageSetExtension = &file_pb2_test_proto_extDescs[8]

	// extend pb2.Extensions { optional bool opt_ext_bool = 51; }
	E_ExtensionsContainer_OptExtBool = &file_pb2_test_proto_extDescs[9]

	// extend pb2.Extensions { optional string opt_ext_string = 52; }
	E_ExtensionsContainer_OptExtString = &file_pb2_test_proto_extDescs[10]

	// extend pb2.Extensions { optional pb2.Enum opt_ext_enum = 53; }
	E_ExtensionsContainer_OptExtEnum = &file_pb2_test_proto_extDescs[11]

	// extend pb2.Extensions { optional pb2.Nested opt_ext_nested = 54; }
	E_ExtensionsContainer_OptExtNested = &file_pb2_test_proto_extDescs[12]

	// extend pb2.Extensions { optional pb2.PartialRequired opt_ext_partial = 55; }
	E_ExtensionsContainer_OptExtPartial = &file_pb2_test_proto_extDescs[13]

	// extend pb2.Extensions { repeated string rpt_ext_string = 61; }
	E_ExtensionsContainer_RptExtString = &file_pb2_test_proto_extDescs[14]

	// extend pb2.Extensions { repeated pb2.Enum rpt_ext_enum = 62; }
	E_ExtensionsContainer_RptExtEnum = &file_pb2_test_proto_extDescs[15]

	// extend pb2.Extensions { repeated pb2.Nested rpt_ext_nested = 63; }
	E_ExtensionsContainer_RptExtNested = &file_pb2_test_proto_extDescs[16]

	// extend pb2.MessageSet { optional pb2.MessageSetExtension message_set_extension = 10; }
	E_MessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[17]

	// extend pb2.MessageSet { optional pb2.MessageSetExtension not_message_set_extension = 20; }
	E_MessageSetExtension_NotMessageSetExtension = &file_pb2_test_proto_extDescs[18]

	// extend pb2.MessageSet { optional pb2.Nested ext_nested = 30; }
	E_MessageSetExtension_ExtNested = &file_pb2_test_proto_extDescs[19]

	// extend pb2.FakeMessageSet { optional pb2.FakeMessageSetExtension message_set_extension = 10; }
	E_FakeMessageSetExtension_MessageSetExtension = &file_pb2_test_proto_extDescs[20]
)
View Source
var Enum_name = map[int32]string{
	1:  "ONE",
	2:  "TWO",
	10: "TEN",
}

Deprecated: Use Enum.Type.Values instead.

View Source
var Enum_value = map[string]int32{
	"ONE": 1,
	"TWO": 2,
	"TEN": 10,
}

Deprecated: Use Enum.Type.Values instead.

View Source
var Enums_NestedEnum_name = map[int32]string{
	1:  "UNO",
	2:  "DOS",
	10: "DIEZ",
}

Deprecated: Use Enums_NestedEnum.Type.Values instead.

View Source
var Enums_NestedEnum_value = map[string]int32{
	"UNO":  1,
	"DOS":  2,
	"DIEZ": 10,
}

Deprecated: Use Enums_NestedEnum.Type.Values instead.

View Source
var File_pb2_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) Enum

func (x Enum) Enum() *Enum

func (Enum) EnumDescriptor deprecated

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

Deprecated: Use Enum.Type 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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Message contains enum fields.

func (*Enums) Descriptor deprecated

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

Deprecated: Use Enums.ProtoReflect.Type 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

func (*Enums) XXX_Methods

func (m *Enums) XXX_Methods() *protoiface.Methods

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) Enum

func (Enums_NestedEnum) EnumDescriptor deprecated

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

Deprecated: Use Enums_NestedEnum.Type 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"`
	XXX_NoUnkeyedLiteral   struct{}                  `json:"-"`
	XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
	XXX_unrecognized       protoimpl.UnknownFields   `json:"-"`
	XXX_sizecache          protoimpl.SizeCache       `json:"-"`
}

func (*Extensions) Descriptor deprecated

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

Deprecated: Use Extensions.ProtoReflect.Type instead.

func (*Extensions) ExtensionRangeArray deprecated

func (*Extensions) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use Extensions.ProtoReflect.Type.ExtensionRanges 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

func (*Extensions) XXX_Methods

func (m *Extensions) XXX_Methods() *protoiface.Methods

type ExtensionsContainer

type ExtensionsContainer struct {
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

func (*ExtensionsContainer) Descriptor deprecated

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

Deprecated: Use ExtensionsContainer.ProtoReflect.Type 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

func (*ExtensionsContainer) XXX_Methods

func (m *ExtensionsContainer) XXX_Methods() *protoiface.Methods

type FakeMessageSet

type FakeMessageSet struct {
	XXX_NoUnkeyedLiteral   struct{}                  `json:"-"`
	XXX_InternalExtensions protoimpl.ExtensionFields `json:"-"`
	XXX_unrecognized       protoimpl.UnknownFields   `json:"-"`
	XXX_sizecache          protoimpl.SizeCache       `json:"-"`
}

func (*FakeMessageSet) Descriptor deprecated

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

Deprecated: Use FakeMessageSet.ProtoReflect.Type instead.

func (*FakeMessageSet) ExtensionRangeArray deprecated

func (*FakeMessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use FakeMessageSet.ProtoReflect.Type.ExtensionRanges 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

func (*FakeMessageSet) XXX_Methods

func (m *FakeMessageSet) XXX_Methods() *protoiface.Methods

type FakeMessageSetExtension

type FakeMessageSetExtension struct {
	OptString            *string                 `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

func (*FakeMessageSetExtension) Descriptor deprecated

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

Deprecated: Use FakeMessageSetExtension.ProtoReflect.Type 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

func (*FakeMessageSetExtension) XXX_Methods

func (m *FakeMessageSetExtension) XXX_Methods() *protoiface.Methods

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 valid to be assigned to Union:
	//	*IndirectRequired_OneofNested
	Union                isIndirectRequired_Union `protobuf_oneof:"union"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields  `json:"-"`
	XXX_sizecache        protoimpl.SizeCache      `json:"-"`
}

func (*IndirectRequired) Descriptor deprecated

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

Deprecated: Use IndirectRequired.ProtoReflect.Type 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

func (*IndirectRequired) XXX_Methods

func (m *IndirectRequired) XXX_Methods() *protoiface.Methods

func (*IndirectRequired) XXX_OneofWrappers

func (*IndirectRequired) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

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              *known.BoolValue        `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
	OptInt32             *known.Int32Value       `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
	OptInt64             *known.Int64Value       `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
	OptUint32            *known.UInt32Value      `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
	OptUint64            *known.UInt64Value      `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
	OptFloat             *known.FloatValue       `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
	OptDouble            *known.DoubleValue      `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
	OptString            *known.StringValue      `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
	OptBytes             *known.BytesValue       `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
	OptDuration          *known.Duration         `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
	OptTimestamp         *known.Timestamp        `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
	OptStruct            *known.Struct           `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
	OptList              *known.ListValue        `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
	OptValue             *known.Value            `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
	OptNull              *known.NullValue        `protobuf:"varint,28,opt,name=opt_null,json=optNull,enum=google.protobuf.NullValue" json:"opt_null,omitempty"`
	OptEmpty             *known.Empty            `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
	OptAny               *known.Any              `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
	OptFieldmask         *known.FieldMask        `protobuf:"bytes,40,opt,name=opt_fieldmask,json=optFieldmask" json:"opt_fieldmask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Message contains well-known type fields.

func (*KnownTypes) Descriptor deprecated

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

Deprecated: Use KnownTypes.ProtoReflect.Type instead.

func (*KnownTypes) GetOptAny

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

func (*KnownTypes) GetOptBool

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

func (*KnownTypes) GetOptBytes

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

func (*KnownTypes) GetOptDouble

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

func (*KnownTypes) GetOptDuration

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

func (*KnownTypes) GetOptEmpty

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

func (*KnownTypes) GetOptFieldmask

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

func (*KnownTypes) GetOptFloat

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

func (*KnownTypes) GetOptInt32

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

func (*KnownTypes) GetOptInt64

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

func (*KnownTypes) GetOptList

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

func (*KnownTypes) GetOptNull

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

func (*KnownTypes) GetOptString

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

func (*KnownTypes) GetOptStruct

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

func (*KnownTypes) GetOptTimestamp

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

func (*KnownTypes) GetOptUint32

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

func (*KnownTypes) GetOptUint64

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

func (*KnownTypes) GetOptValue

func (x *KnownTypes) GetOptValue() *known.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

func (*KnownTypes) XXX_Methods

func (m *KnownTypes) XXX_Methods() *protoiface.Methods

type MessageSet

type MessageSet struct {
	XXX_NoUnkeyedLiteral   struct{}                  `json:"-"`
	XXX_InternalExtensions protoimpl.ExtensionFields `protobuf_messageset:"1" json:"-"`
	XXX_unrecognized       protoimpl.UnknownFields   `json:"-"`
	XXX_sizecache          protoimpl.SizeCache       `json:"-"`
}

func (*MessageSet) Descriptor deprecated

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

Deprecated: Use MessageSet.ProtoReflect.Type instead.

func (*MessageSet) ExtensionRangeArray deprecated

func (*MessageSet) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use MessageSet.ProtoReflect.Type.ExtensionRanges 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

func (*MessageSet) XXX_Methods

func (m *MessageSet) XXX_Methods() *protoiface.Methods

type MessageSetExtension

type MessageSetExtension struct {
	OptString            *string                 `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

func (*MessageSetExtension) Descriptor deprecated

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

Deprecated: Use MessageSetExtension.ProtoReflect.Type 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

func (*MessageSetExtension) XXX_Methods

func (m *MessageSetExtension) XXX_Methods() *protoiface.Methods

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Message type used as submessage.

func (*Nested) Descriptor deprecated

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

Deprecated: Use Nested.ProtoReflect.Type 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

func (*Nested) XXX_Methods

func (m *Nested) XXX_Methods() *protoiface.Methods

type NestedWithRequired

type NestedWithRequired struct {
	ReqString            *string                 `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

func (*NestedWithRequired) Descriptor deprecated

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

Deprecated: Use NestedWithRequired.ProtoReflect.Type 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

func (*NestedWithRequired) XXX_Methods

func (m *NestedWithRequired) XXX_Methods() *protoiface.Methods

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Message contains message and group fields.

func (*Nests) Descriptor deprecated

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

Deprecated: Use Nests.ProtoReflect.Type 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

func (*Nests) XXX_Methods

func (m *Nests) XXX_Methods() *protoiface.Methods

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"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields        `json:"-"`
	XXX_sizecache        protoimpl.SizeCache            `json:"-"`
}

func (*Nests_OptGroup) Descriptor deprecated

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

Deprecated: Use Nests_OptGroup.ProtoReflect.Type 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

func (*Nests_OptGroup) XXX_Methods

func (m *Nests_OptGroup) XXX_Methods() *protoiface.Methods

type Nests_OptGroup_OptNestedGroup

type Nests_OptGroup_OptNestedGroup struct {
	OptFixed32           *uint32                 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

func (*Nests_OptGroup_OptNestedGroup) Descriptor deprecated

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

Deprecated: Use Nests_OptGroup_OptNestedGroup.ProtoReflect.Type 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

func (*Nests_OptGroup_OptNestedGroup) XXX_Methods

type Nests_RptGroup

type Nests_RptGroup struct {
	RptString            []string                `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

func (*Nests_RptGroup) Descriptor deprecated

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

Deprecated: Use Nests_RptGroup.ProtoReflect.Type 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

func (*Nests_RptGroup) XXX_Methods

func (m *Nests_RptGroup) XXX_Methods() *protoiface.Methods

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Message contains both required and optional fields.

func (*PartialRequired) Descriptor deprecated

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

Deprecated: Use PartialRequired.ProtoReflect.Type 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

func (*PartialRequired) XXX_Methods

func (m *PartialRequired) XXX_Methods() *protoiface.Methods

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Message contains repeated fields.

func (*Repeats) Descriptor deprecated

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

Deprecated: Use Repeats.ProtoReflect.Type 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

func (*Repeats) XXX_Methods

func (m *Repeats) XXX_Methods() *protoiface.Methods

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Message contains required fields.

func (*Requireds) Descriptor deprecated

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

Deprecated: Use Requireds.ProtoReflect.Type 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

func (*Requireds) XXX_Methods

func (m *Requireds) XXX_Methods() *protoiface.Methods

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"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     protoimpl.UnknownFields `json:"-"`
	XXX_sizecache        protoimpl.SizeCache     `json:"-"`
}

Scalars contains optional scalar fields.

func (*Scalars) Descriptor deprecated

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

Deprecated: Use Scalars.ProtoReflect.Type 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

func (*Scalars) XXX_Methods

func (m *Scalars) XXX_Methods() *protoiface.Methods

Jump to

Keyboard shortcuts

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