textpbeditions

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 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 (
	OpenEnum_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "EINS",
		2:  "ZWEI",
		10: "ZEHN",
	}
	OpenEnum_value = map[string]int32{
		"UNKNOWN": 0,
		"EINS":    1,
		"ZWEI":    2,
		"ZEHN":    10,
	}
)

Enum value maps for OpenEnum.

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 (
	Enums_NestedOpenEnum_name = map[int32]string{
		0:  "UNKNOWN",
		1:  "EINS",
		2:  "ZWEI",
		10: "ZEHN",
	}
	Enums_NestedOpenEnum_value = map[string]int32{
		"UNKNOWN": 0,
		"EINS":    1,
		"ZWEI":    2,
		"ZEHN":    10,
	}
)

Enum value maps for Enums_NestedOpenEnum.

View Source
var (
	// optional bool opt_ext_bool = 21;
	E_OptExtBool = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[0]
	// optional string opt_ext_string = 22;
	E_OptExtString = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[1]
	// optional pbeditions.Enum opt_ext_enum = 23;
	E_OptExtEnum = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[2]
	// optional pbeditions.Nested opt_ext_nested = 24;
	E_OptExtNested = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[3]
	// optional pbeditions.PartialRequired opt_ext_partial = 25;
	E_OptExtPartial = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[4]
	// repeated fixed32 rpt_ext_fixed32 = 31;
	E_RptExtFixed32 = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[5]
	// repeated pbeditions.Enum rpt_ext_enum = 32;
	E_RptExtEnum = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[6]
	// repeated pbeditions.Nested rpt_ext_nested = 33;
	E_RptExtNested = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[7]
	// optional bool opt_ext_bool = 51;
	E_ExtensionsContainer_OptExtBool = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[9]
	// optional string opt_ext_string = 52;
	E_ExtensionsContainer_OptExtString = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[10]
	// optional pbeditions.Enum opt_ext_enum = 53;
	E_ExtensionsContainer_OptExtEnum = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[11]
	// optional pbeditions.Nested opt_ext_nested = 54;
	E_ExtensionsContainer_OptExtNested = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[12]
	// optional pbeditions.PartialRequired opt_ext_partial = 55;
	E_ExtensionsContainer_OptExtPartial = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[13]
	// repeated string rpt_ext_string = 61;
	E_ExtensionsContainer_RptExtString = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[14]
	// repeated pbeditions.Enum rpt_ext_enum = 62;
	E_ExtensionsContainer_RptExtEnum = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[15]
	// repeated pbeditions.Nested rpt_ext_nested = 63;
	E_ExtensionsContainer_RptExtNested = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[16]
)

Extension fields to Extensions.

View Source
var (
	// optional pbeditions.FakeMessageSetExtension message_set_extension = 50;
	E_MessageSetExtension = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[8]
	// optional pbeditions.MessageSetExtension message_set_extension = 10;
	E_MessageSetExtension_MessageSetExtension = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[17]
	// optional pbeditions.MessageSetExtension not_message_set_extension = 20;
	E_MessageSetExtension_NotMessageSetExtension = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[18]
	// optional pbeditions.Nested ext_nested = 30;
	E_MessageSetExtension_ExtNested = &file_internal_testprotos_textpbeditions_test2_proto_extTypes[19]
)

Extension fields to MessageSet.

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

Extension fields to FakeMessageSet.

View Source
var File_internal_testprotos_textpbeditions_test2_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

type Enums

type Enums struct {
	OptEnum            *Enum                `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pbeditions.Enum" json:"opt_enum,omitempty"`
	RptEnum            []Enum               `protobuf:"varint,2,rep,packed,name=rpt_enum,json=rptEnum,enum=pbeditions.Enum" json:"rpt_enum,omitempty"`
	ImplicitEnum       OpenEnum             `protobuf:"varint,5,opt,name=implicit_enum,json=implicitEnum,enum=pbeditions.OpenEnum" json:"implicit_enum,omitempty"`
	OptNestedEnum      *Enums_NestedEnum    `` /* 129-byte string literal not displayed */
	RptNestedEnum      []Enums_NestedEnum   `` /* 136-byte string literal not displayed */
	ImplicitNestedEnum Enums_NestedOpenEnum `` /* 148-byte string literal not displayed */
	// 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) GetImplicitEnum

func (x *Enums) GetImplicitEnum() OpenEnum

func (*Enums) GetImplicitNestedEnum

func (x *Enums) GetImplicitNestedEnum() Enums_NestedOpenEnum

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

type Enums_NestedOpenEnum

type Enums_NestedOpenEnum int32
const (
	Enums_UNKNOWN Enums_NestedOpenEnum = 0
	Enums_EINS    Enums_NestedOpenEnum = 1
	Enums_ZWEI    Enums_NestedOpenEnum = 2
	Enums_ZEHN    Enums_NestedOpenEnum = 10
)

func (Enums_NestedOpenEnum) Descriptor

func (Enums_NestedOpenEnum) Enum

func (Enums_NestedOpenEnum) EnumDescriptor deprecated

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

Deprecated: Use Enums_NestedOpenEnum.Descriptor instead.

func (Enums_NestedOpenEnum) Number

func (Enums_NestedOpenEnum) String

func (x Enums_NestedOpenEnum) String() string

func (Enums_NestedOpenEnum) Type

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 ImplicitScalars

type ImplicitScalars struct {
	SBool     bool    `protobuf:"varint,1,opt,name=s_bool,json=sBool" json:"s_bool,omitempty"`
	SInt32    int32   `protobuf:"varint,2,opt,name=s_int32,json=sInt32" json:"s_int32,omitempty"`
	SInt64    int64   `protobuf:"varint,3,opt,name=s_int64,json=sInt64" json:"s_int64,omitempty"`
	SUint32   uint32  `protobuf:"varint,4,opt,name=s_uint32,json=sUint32" json:"s_uint32,omitempty"`
	SUint64   uint64  `protobuf:"varint,5,opt,name=s_uint64,json=sUint64" json:"s_uint64,omitempty"`
	SSint32   int32   `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32" json:"s_sint32,omitempty"`
	SSint64   int64   `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64" json:"s_sint64,omitempty"`
	SFixed32  uint32  `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32" json:"s_fixed32,omitempty"`
	SFixed64  uint64  `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64" json:"s_fixed64,omitempty"`
	SSfixed32 int32   `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32" json:"s_sfixed32,omitempty"`
	SSfixed64 int64   `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64" json:"s_sfixed64,omitempty"`
	SFloat    float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat" json:"s_float,omitempty"`
	SDouble   float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble" json:"s_double,omitempty"`
	SBytes    []byte  `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes" json:"s_bytes,omitempty"`
	SString   string  `protobuf:"bytes,13,opt,name=s_string,json=sString" json:"s_string,omitempty"`
	// contains filtered or unexported fields
}

ImplicitScalars contains scalar field types with implicit field_presence

func (*ImplicitScalars) Descriptor deprecated

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

Deprecated: Use ImplicitScalars.ProtoReflect.Descriptor instead.

func (*ImplicitScalars) GetSBool

func (x *ImplicitScalars) GetSBool() bool

func (*ImplicitScalars) GetSBytes

func (x *ImplicitScalars) GetSBytes() []byte

func (*ImplicitScalars) GetSDouble

func (x *ImplicitScalars) GetSDouble() float64

func (*ImplicitScalars) GetSFixed32

func (x *ImplicitScalars) GetSFixed32() uint32

func (*ImplicitScalars) GetSFixed64

func (x *ImplicitScalars) GetSFixed64() uint64

func (*ImplicitScalars) GetSFloat

func (x *ImplicitScalars) GetSFloat() float32

func (*ImplicitScalars) GetSInt32

func (x *ImplicitScalars) GetSInt32() int32

func (*ImplicitScalars) GetSInt64

func (x *ImplicitScalars) GetSInt64() int64

func (*ImplicitScalars) GetSSfixed32

func (x *ImplicitScalars) GetSSfixed32() int32

func (*ImplicitScalars) GetSSfixed64

func (x *ImplicitScalars) GetSSfixed64() int64

func (*ImplicitScalars) GetSSint32

func (x *ImplicitScalars) GetSSint32() int32

func (*ImplicitScalars) GetSSint64

func (x *ImplicitScalars) GetSSint64() int64

func (*ImplicitScalars) GetSString

func (x *ImplicitScalars) GetSString() string

func (*ImplicitScalars) GetSUint32

func (x *ImplicitScalars) GetSUint32() uint32

func (*ImplicitScalars) GetSUint64

func (x *ImplicitScalars) GetSUint64() uint64

func (*ImplicitScalars) ProtoMessage

func (*ImplicitScalars) ProtoMessage()

func (*ImplicitScalars) ProtoReflect

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

func (*ImplicitScalars) Reset

func (x *ImplicitScalars) Reset()

func (*ImplicitScalars) String

func (x *ImplicitScalars) String() string

type IndirectRequired

type IndirectRequired struct {
	OptNested   *NestedWithRequired            `protobuf:"bytes,1,req,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"`
	DelimitedField *Nests_OptGroup   `protobuf:"group,3,opt,name=OptGroup,json=delimitedField" json:"delimited_field,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) GetDelimitedField added in v1.34.0

func (x *Nests) GetDelimitedField() *Nests_OptGroup

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 NestsUTF8Validated

type NestsUTF8Validated struct {
	ValidatedMessage *UTF8Validated `protobuf:"bytes,1,opt,name=validated_message,json=validatedMessage" json:"validated_message,omitempty"`
	// contains filtered or unexported fields
}

func (*NestsUTF8Validated) Descriptor deprecated

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

Deprecated: Use NestsUTF8Validated.ProtoReflect.Descriptor instead.

func (*NestsUTF8Validated) GetValidatedMessage

func (x *NestsUTF8Validated) GetValidatedMessage() *UTF8Validated

func (*NestsUTF8Validated) ProtoMessage

func (*NestsUTF8Validated) ProtoMessage()

func (*NestsUTF8Validated) ProtoReflect

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

func (*NestsUTF8Validated) Reset

func (x *NestsUTF8Validated) Reset()

func (*NestsUTF8Validated) String

func (x *NestsUTF8Validated) 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"`
	NestedDelimitedField *Nests_OptGroup_OptNestedGroup `protobuf:"group,4,opt,name=OptNestedGroup,json=nestedDelimitedField" json:"nested_delimited_field,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) GetNestedDelimitedField added in v1.34.0

func (x *Nests_OptGroup) GetNestedDelimitedField() *Nests_OptGroup_OptNestedGroup

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 OpenEnum

type OpenEnum int32
const (
	OpenEnum_UNKNOWN OpenEnum = 0
	OpenEnum_EINS    OpenEnum = 1
	OpenEnum_ZWEI    OpenEnum = 2
	OpenEnum_ZEHN    OpenEnum = 10
)

func (OpenEnum) Descriptor

func (OpenEnum) Descriptor() protoreflect.EnumDescriptor

func (OpenEnum) Enum

func (x OpenEnum) Enum() *OpenEnum

func (OpenEnum) EnumDescriptor deprecated

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

Deprecated: Use OpenEnum.Descriptor instead.

func (OpenEnum) Number

func (x OpenEnum) Number() protoreflect.EnumNumber

func (OpenEnum) String

func (x OpenEnum) String() string

func (OpenEnum) Type

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,packed,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
	RptInt32  []int32   `protobuf:"varint,2,rep,packed,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
	RptInt64  []int64   `protobuf:"varint,3,rep,packed,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
	RptUint32 []uint32  `protobuf:"varint,4,rep,packed,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
	RptUint64 []uint64  `protobuf:"varint,5,rep,packed,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
	RptFloat  []float32 `protobuf:"fixed32,6,rep,packed,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
	RptDouble []float64 `protobuf:"fixed64,7,rep,packed,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=pbeditions.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 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

type UTF8Validated

type UTF8Validated struct {
	ValidatedString string `protobuf:"bytes,1,opt,name=validated_string,json=validatedString" json:"validated_string,omitempty"`
	// contains filtered or unexported fields
}

func (*UTF8Validated) Descriptor deprecated

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

Deprecated: Use UTF8Validated.ProtoReflect.Descriptor instead.

func (*UTF8Validated) GetValidatedString

func (x *UTF8Validated) GetValidatedString() string

func (*UTF8Validated) ProtoMessage

func (*UTF8Validated) ProtoMessage()

func (*UTF8Validated) ProtoReflect

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

func (*UTF8Validated) Reset

func (x *UTF8Validated) Reset()

func (*UTF8Validated) String

func (x *UTF8Validated) String() string

Jump to

Keyboard shortcuts

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