api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Planet_name = map[int32]string{
		0: "PLANET_UNKNOWN",
		3: "PLANET_EARTH",
		1: "PLANET_MERCURY",
		2: "PLANET_VENUS",
		4: "PLANET_MARS",
		5: "PLANET_JUPITER",
		6: "PLANET_SATURN",
	}
	Planet_value = map[string]int32{
		"PLANET_UNKNOWN": 0,
		"PLANET_EARTH":   3,
		"PLANET_MERCURY": 1,
		"PLANET_VENUS":   2,
		"PLANET_MARS":    4,
		"PLANET_JUPITER": 5,
		"PLANET_SATURN":  6,
	}
)

Enum value maps for Planet.

View Source
var File_tests_api_v1_floats_proto protoreflect.FileDescriptor
View Source
var File_tests_api_v1_integers_proto protoreflect.FileDescriptor
View Source
var File_tests_api_v1_maps_proto protoreflect.FileDescriptor
View Source
var File_tests_api_v1_people_proto protoreflect.FileDescriptor
View Source
var File_tests_api_v1_planets_proto protoreflect.FileDescriptor
View Source
var File_tests_api_v1_simple_proto protoreflect.FileDescriptor
View Source
var File_tests_api_v1_single_proto protoreflect.FileDescriptor
View Source
var File_tests_api_v1_well_known_types_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolMaps

type BoolMaps struct {
	BoolToBool       map[bool]bool        `` /* 183-byte string literal not displayed */
	BoolToBytes      map[bool][]byte      `` /* 185-byte string literal not displayed */
	BoolToDouble     map[bool]float64     `` /* 190-byte string literal not displayed */
	BoolToFixed32    map[bool]uint32      `` /* 193-byte string literal not displayed */
	BoolToFixed64    map[bool]uint64      `` /* 193-byte string literal not displayed */
	BoolToFloat      map[bool]float32     `` /* 187-byte string literal not displayed */
	BoolToInt32      map[bool]int32       `` /* 186-byte string literal not displayed */
	BoolToInt64      map[bool]int64       `` /* 186-byte string literal not displayed */
	BoolToSfixed32   map[bool]int32       `` /* 196-byte string literal not displayed */
	BoolToSfixed64   map[bool]int64       `` /* 197-byte string literal not displayed */
	BoolToSint32     map[bool]int32       `` /* 192-byte string literal not displayed */
	BoolToSint64     map[bool]int64       `` /* 192-byte string literal not displayed */
	BoolToString     map[bool]string      `` /* 189-byte string literal not displayed */
	BoolToUint32     map[bool]uint32      `` /* 190-byte string literal not displayed */
	BoolToUint64     map[bool]uint64      `` /* 190-byte string literal not displayed */
	BoolToPlanet     map[bool]Planet      `` /* 215-byte string literal not displayed */
	BoolToSimple     map[bool]*Simple     `` /* 189-byte string literal not displayed */
	BoolToRepetitive map[bool]*Repetitive `` /* 201-byte string literal not displayed */
	BoolToSingleton  map[bool]*Singleton  `` /* 198-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BoolMaps) Descriptor deprecated

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

Deprecated: Use BoolMaps.ProtoReflect.Descriptor instead.

func (*BoolMaps) GetBoolToBool

func (x *BoolMaps) GetBoolToBool() map[bool]bool

func (*BoolMaps) GetBoolToBytes

func (x *BoolMaps) GetBoolToBytes() map[bool][]byte

func (*BoolMaps) GetBoolToDouble

func (x *BoolMaps) GetBoolToDouble() map[bool]float64

func (*BoolMaps) GetBoolToFixed32

func (x *BoolMaps) GetBoolToFixed32() map[bool]uint32

func (*BoolMaps) GetBoolToFixed64

func (x *BoolMaps) GetBoolToFixed64() map[bool]uint64

func (*BoolMaps) GetBoolToFloat

func (x *BoolMaps) GetBoolToFloat() map[bool]float32

func (*BoolMaps) GetBoolToInt32

func (x *BoolMaps) GetBoolToInt32() map[bool]int32

func (*BoolMaps) GetBoolToInt64

func (x *BoolMaps) GetBoolToInt64() map[bool]int64

func (*BoolMaps) GetBoolToPlanet

func (x *BoolMaps) GetBoolToPlanet() map[bool]Planet

func (*BoolMaps) GetBoolToRepetitive

func (x *BoolMaps) GetBoolToRepetitive() map[bool]*Repetitive

func (*BoolMaps) GetBoolToSfixed32

func (x *BoolMaps) GetBoolToSfixed32() map[bool]int32

func (*BoolMaps) GetBoolToSfixed64

func (x *BoolMaps) GetBoolToSfixed64() map[bool]int64

func (*BoolMaps) GetBoolToSimple

func (x *BoolMaps) GetBoolToSimple() map[bool]*Simple

func (*BoolMaps) GetBoolToSingleton

func (x *BoolMaps) GetBoolToSingleton() map[bool]*Singleton

func (*BoolMaps) GetBoolToSint32

func (x *BoolMaps) GetBoolToSint32() map[bool]int32

func (*BoolMaps) GetBoolToSint64

func (x *BoolMaps) GetBoolToSint64() map[bool]int64

func (*BoolMaps) GetBoolToString

func (x *BoolMaps) GetBoolToString() map[bool]string

func (*BoolMaps) GetBoolToUint32

func (x *BoolMaps) GetBoolToUint32() map[bool]uint32

func (*BoolMaps) GetBoolToUint64

func (x *BoolMaps) GetBoolToUint64() map[bool]uint64

func (*BoolMaps) ProtoMessage

func (*BoolMaps) ProtoMessage()

func (*BoolMaps) ProtoReflect

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

func (*BoolMaps) Reset

func (x *BoolMaps) Reset()

func (*BoolMaps) String

func (x *BoolMaps) String() string

type DoubleMessage

type DoubleMessage struct {
	Value  float64   `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []float64 `protobuf:"fixed64,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DoubleMessage) Descriptor deprecated

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

Deprecated: Use DoubleMessage.ProtoReflect.Descriptor instead.

func (*DoubleMessage) GetValue

func (x *DoubleMessage) GetValue() float64

func (*DoubleMessage) GetValues

func (x *DoubleMessage) GetValues() []float64

func (*DoubleMessage) ProtoMessage

func (*DoubleMessage) ProtoMessage()

func (*DoubleMessage) ProtoReflect

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

func (*DoubleMessage) Reset

func (x *DoubleMessage) Reset()

func (*DoubleMessage) String

func (x *DoubleMessage) String() string

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Fixed32Message

type Fixed32Message struct {
	Value  uint32   `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []uint32 `protobuf:"fixed32,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Fixed32Message) Descriptor deprecated

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

Deprecated: Use Fixed32Message.ProtoReflect.Descriptor instead.

func (*Fixed32Message) GetValue

func (x *Fixed32Message) GetValue() uint32

func (*Fixed32Message) GetValues

func (x *Fixed32Message) GetValues() []uint32

func (*Fixed32Message) ProtoMessage

func (*Fixed32Message) ProtoMessage()

func (*Fixed32Message) ProtoReflect

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

func (*Fixed32Message) Reset

func (x *Fixed32Message) Reset()

func (*Fixed32Message) String

func (x *Fixed32Message) String() string

type Fixed64Message

type Fixed64Message struct {
	Value  uint64   `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []uint64 `protobuf:"fixed64,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Fixed64Message) Descriptor deprecated

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

Deprecated: Use Fixed64Message.ProtoReflect.Descriptor instead.

func (*Fixed64Message) GetValue

func (x *Fixed64Message) GetValue() uint64

func (*Fixed64Message) GetValues

func (x *Fixed64Message) GetValues() []uint64

func (*Fixed64Message) ProtoMessage

func (*Fixed64Message) ProtoMessage()

func (*Fixed64Message) ProtoReflect

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

func (*Fixed64Message) Reset

func (x *Fixed64Message) Reset()

func (*Fixed64Message) String

func (x *Fixed64Message) String() string

type FloatMessage

type FloatMessage struct {
	Value  float32   `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []float32 `protobuf:"fixed32,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatMessage) Descriptor deprecated

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

Deprecated: Use FloatMessage.ProtoReflect.Descriptor instead.

func (*FloatMessage) GetValue

func (x *FloatMessage) GetValue() float32

func (*FloatMessage) GetValues

func (x *FloatMessage) GetValues() []float32

func (*FloatMessage) ProtoMessage

func (*FloatMessage) ProtoMessage()

func (*FloatMessage) ProtoReflect

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

func (*FloatMessage) Reset

func (x *FloatMessage) Reset()

func (*FloatMessage) String

func (x *FloatMessage) String() string

type Int32Message

type Int32Message struct {
	Value  int32   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []int32 `protobuf:"varint,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Int32Message) Descriptor deprecated

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

Deprecated: Use Int32Message.ProtoReflect.Descriptor instead.

func (*Int32Message) GetValue

func (x *Int32Message) GetValue() int32

func (*Int32Message) GetValues

func (x *Int32Message) GetValues() []int32

func (*Int32Message) ProtoMessage

func (*Int32Message) ProtoMessage()

func (*Int32Message) ProtoReflect

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

func (*Int32Message) Reset

func (x *Int32Message) Reset()

func (*Int32Message) String

func (x *Int32Message) String() string

type Int64Message

type Int64Message struct {
	Value  int64   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []int64 `protobuf:"varint,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Int64Message) Descriptor deprecated

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

Deprecated: Use Int64Message.ProtoReflect.Descriptor instead.

func (*Int64Message) GetValue

func (x *Int64Message) GetValue() int64

func (*Int64Message) GetValues

func (x *Int64Message) GetValues() []int64

func (*Int64Message) ProtoMessage

func (*Int64Message) ProtoMessage()

func (*Int64Message) ProtoReflect

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

func (*Int64Message) Reset

func (x *Int64Message) Reset()

func (*Int64Message) String

func (x *Int64Message) String() string

type IntMaps

type IntMaps struct {
	IntToBool       map[int64]bool        `` /* 180-byte string literal not displayed */
	IntToBytes      map[int64][]byte      `` /* 182-byte string literal not displayed */
	IntToDouble     map[int64]float64     `` /* 187-byte string literal not displayed */
	IntToFixed32    map[int64]uint32      `` /* 190-byte string literal not displayed */
	IntToFixed64    map[int64]uint64      `` /* 190-byte string literal not displayed */
	IntToFloat      map[int64]float32     `` /* 184-byte string literal not displayed */
	IntToInt32      map[int64]int32       `` /* 183-byte string literal not displayed */
	IntToInt64      map[int64]int64       `` /* 183-byte string literal not displayed */
	IntToSfixed32   map[int64]int32       `` /* 193-byte string literal not displayed */
	IntToSfixed64   map[int64]int64       `` /* 194-byte string literal not displayed */
	IntToSint32     map[int64]int32       `` /* 189-byte string literal not displayed */
	IntToSint64     map[int64]int64       `` /* 189-byte string literal not displayed */
	IntToString     map[int64]string      `` /* 186-byte string literal not displayed */
	IntToUint32     map[int64]uint32      `` /* 187-byte string literal not displayed */
	IntToUint64     map[int64]uint64      `` /* 187-byte string literal not displayed */
	IntToPlanet     map[int64]Planet      `` /* 212-byte string literal not displayed */
	IntToSimple     map[int64]*Simple     `` /* 186-byte string literal not displayed */
	IntToRepetitive map[int64]*Repetitive `` /* 198-byte string literal not displayed */
	IntToSingleton  map[int64]*Singleton  `` /* 195-byte string literal not displayed */
	// contains filtered or unexported fields
}

This also covers the cases where the key type is of a similar int value. ex: fixed32, fixed64, int32, sfixed32, sfixed64, sint32, sint64, uint32,

uint64

func (*IntMaps) Descriptor deprecated

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

Deprecated: Use IntMaps.ProtoReflect.Descriptor instead.

func (*IntMaps) GetIntToBool

func (x *IntMaps) GetIntToBool() map[int64]bool

func (*IntMaps) GetIntToBytes

func (x *IntMaps) GetIntToBytes() map[int64][]byte

func (*IntMaps) GetIntToDouble

func (x *IntMaps) GetIntToDouble() map[int64]float64

func (*IntMaps) GetIntToFixed32

func (x *IntMaps) GetIntToFixed32() map[int64]uint32

func (*IntMaps) GetIntToFixed64

func (x *IntMaps) GetIntToFixed64() map[int64]uint64

func (*IntMaps) GetIntToFloat

func (x *IntMaps) GetIntToFloat() map[int64]float32

func (*IntMaps) GetIntToInt32

func (x *IntMaps) GetIntToInt32() map[int64]int32

func (*IntMaps) GetIntToInt64

func (x *IntMaps) GetIntToInt64() map[int64]int64

func (*IntMaps) GetIntToPlanet

func (x *IntMaps) GetIntToPlanet() map[int64]Planet

func (*IntMaps) GetIntToRepetitive

func (x *IntMaps) GetIntToRepetitive() map[int64]*Repetitive

func (*IntMaps) GetIntToSfixed32

func (x *IntMaps) GetIntToSfixed32() map[int64]int32

func (*IntMaps) GetIntToSfixed64

func (x *IntMaps) GetIntToSfixed64() map[int64]int64

func (*IntMaps) GetIntToSimple

func (x *IntMaps) GetIntToSimple() map[int64]*Simple

func (*IntMaps) GetIntToSingleton

func (x *IntMaps) GetIntToSingleton() map[int64]*Singleton

func (*IntMaps) GetIntToSint32

func (x *IntMaps) GetIntToSint32() map[int64]int32

func (*IntMaps) GetIntToSint64

func (x *IntMaps) GetIntToSint64() map[int64]int64

func (*IntMaps) GetIntToString

func (x *IntMaps) GetIntToString() map[int64]string

func (*IntMaps) GetIntToUint32

func (x *IntMaps) GetIntToUint32() map[int64]uint32

func (*IntMaps) GetIntToUint64

func (x *IntMaps) GetIntToUint64() map[int64]uint64

func (*IntMaps) ProtoMessage

func (*IntMaps) ProtoMessage()

func (*IntMaps) ProtoReflect

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

func (*IntMaps) Reset

func (x *IntMaps) Reset()

func (*IntMaps) String

func (x *IntMaps) String() string

type KnownTypes

type KnownTypes struct {
	AnyField         *anypb.Any              `protobuf:"bytes,1,opt,name=any_field,json=anyField,proto3" json:"any_field,omitempty"`
	BoolValueField   *wrapperspb.BoolValue   `protobuf:"bytes,2,opt,name=bool_value_field,json=boolValueField,proto3" json:"bool_value_field,omitempty"`
	BytesValueField  *wrapperspb.BytesValue  `protobuf:"bytes,3,opt,name=bytes_value_field,json=bytesValueField,proto3" json:"bytes_value_field,omitempty"`
	DoubleValueField *wrapperspb.DoubleValue `protobuf:"bytes,4,opt,name=double_value_field,json=doubleValueField,proto3" json:"double_value_field,omitempty"`
	DurationField    *durationpb.Duration    `protobuf:"bytes,5,opt,name=duration_field,json=durationField,proto3" json:"duration_field,omitempty"`
	FloatValueField  *wrapperspb.FloatValue  `protobuf:"bytes,6,opt,name=float_value_field,json=floatValueField,proto3" json:"float_value_field,omitempty"`
	Int32ValueField  *wrapperspb.Int32Value  `protobuf:"bytes,7,opt,name=int32_value_field,json=int32ValueField,proto3" json:"int32_value_field,omitempty"`
	Int64ValueField  *wrapperspb.Int64Value  `protobuf:"bytes,8,opt,name=int64_value_field,json=int64ValueField,proto3" json:"int64_value_field,omitempty"`
	ListValueField   *structpb.ListValue     `protobuf:"bytes,9,opt,name=list_value_field,json=listValueField,proto3" json:"list_value_field,omitempty"`
	StringValueField *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=string_value_field,json=stringValueField,proto3" json:"string_value_field,omitempty"`
	StructField      *structpb.Struct        `protobuf:"bytes,11,opt,name=struct_field,json=structField,proto3" json:"struct_field,omitempty"`
	TimestampField   *timestamppb.Timestamp  `protobuf:"bytes,12,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"`
	Uint32ValueField *wrapperspb.UInt32Value `protobuf:"bytes,13,opt,name=uint32_value_field,json=uint32ValueField,proto3" json:"uint32_value_field,omitempty"`
	Uint64ValueField *wrapperspb.UInt64Value `protobuf:"bytes,14,opt,name=uint64_value_field,json=uint64ValueField,proto3" json:"uint64_value_field,omitempty"`
	ValueField       *structpb.Value         `protobuf:"bytes,15,opt,name=value_field,json=valueField,proto3" json:"value_field,omitempty"`
	// contains filtered or unexported fields
}

func (*KnownTypes) Descriptor deprecated

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

Deprecated: Use KnownTypes.ProtoReflect.Descriptor instead.

func (*KnownTypes) GetAnyField

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

func (*KnownTypes) GetBoolValueField

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

func (*KnownTypes) GetBytesValueField

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

func (*KnownTypes) GetDoubleValueField

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

func (*KnownTypes) GetDurationField

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

func (*KnownTypes) GetFloatValueField

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

func (*KnownTypes) GetInt32ValueField

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

func (*KnownTypes) GetInt64ValueField

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

func (*KnownTypes) GetListValueField

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

func (*KnownTypes) GetStringValueField

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

func (*KnownTypes) GetStructField

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

func (*KnownTypes) GetTimestampField

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

func (*KnownTypes) GetUint32ValueField

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

func (*KnownTypes) GetUint64ValueField

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

func (*KnownTypes) GetValueField

func (x *KnownTypes) GetValueField() *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 MyFavoritePlanets

type MyFavoritePlanets struct {
	Planets []Planet `protobuf:"varint,1,rep,packed,name=planets,proto3,enum=tests.api.v1.Planet" json:"planets,omitempty"`
	// contains filtered or unexported fields
}

func (*MyFavoritePlanets) Descriptor deprecated

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

Deprecated: Use MyFavoritePlanets.ProtoReflect.Descriptor instead.

func (*MyFavoritePlanets) GetPlanets

func (x *MyFavoritePlanets) GetPlanets() []Planet

func (*MyFavoritePlanets) ProtoMessage

func (*MyFavoritePlanets) ProtoMessage()

func (*MyFavoritePlanets) ProtoReflect

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

func (*MyFavoritePlanets) Reset

func (x *MyFavoritePlanets) Reset()

func (*MyFavoritePlanets) String

func (x *MyFavoritePlanets) String() string

type OptionalSingle

type OptionalSingle struct {
	BoolField     *bool    `protobuf:"varint,1,opt,name=bool_field,json=boolField,proto3,oneof" json:"bool_field,omitempty"`
	BytesField    []byte   `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField,proto3,oneof" json:"bytes_field,omitempty"`
	DoubleField   *float64 `protobuf:"fixed64,3,opt,name=double_field,json=doubleField,proto3,oneof" json:"double_field,omitempty"`
	Fixed32Field  *uint32  `protobuf:"fixed32,4,opt,name=fixed32_field,json=fixed32Field,proto3,oneof" json:"fixed32_field,omitempty"`
	Fixed64Field  *uint64  `protobuf:"fixed64,5,opt,name=fixed64_field,json=fixed64Field,proto3,oneof" json:"fixed64_field,omitempty"`
	FloatField    *float32 `protobuf:"fixed32,6,opt,name=float_field,json=floatField,proto3,oneof" json:"float_field,omitempty"`
	Int32Field    *int32   `protobuf:"varint,7,opt,name=int32_field,json=int32Field,proto3,oneof" json:"int32_field,omitempty"`
	Int64Field    *int64   `protobuf:"varint,8,opt,name=int64_field,json=int64Field,proto3,oneof" json:"int64_field,omitempty"`
	Sfixed32Field *int32   `protobuf:"fixed32,9,opt,name=sfixed32_field,json=sfixed32Field,proto3,oneof" json:"sfixed32_field,omitempty"`
	Sfixed64Field *int64   `protobuf:"fixed64,10,opt,name=sfixed64_field,json=sfixed64Field,proto3,oneof" json:"sfixed64_field,omitempty"`
	Sint32Field   *int32   `protobuf:"zigzag32,11,opt,name=sint32_field,json=sint32Field,proto3,oneof" json:"sint32_field,omitempty"`
	Sint64Field   *int64   `protobuf:"zigzag64,12,opt,name=sint64_field,json=sint64Field,proto3,oneof" json:"sint64_field,omitempty"`
	StringField   *string  `protobuf:"bytes,13,opt,name=string_field,json=stringField,proto3,oneof" json:"string_field,omitempty"`
	Uint32Field   *uint32  `protobuf:"varint,14,opt,name=uint32_field,json=uint32Field,proto3,oneof" json:"uint32_field,omitempty"`
	Uint64Field   *uint64  `protobuf:"varint,15,opt,name=uint64_field,json=uint64Field,proto3,oneof" json:"uint64_field,omitempty"`
	// contains filtered or unexported fields
}

OptionalSingle contains one of each primitive data type as an optional field.

func (*OptionalSingle) Descriptor deprecated

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

Deprecated: Use OptionalSingle.ProtoReflect.Descriptor instead.

func (*OptionalSingle) GetBoolField

func (x *OptionalSingle) GetBoolField() bool

func (*OptionalSingle) GetBytesField

func (x *OptionalSingle) GetBytesField() []byte

func (*OptionalSingle) GetDoubleField

func (x *OptionalSingle) GetDoubleField() float64

func (*OptionalSingle) GetFixed32Field

func (x *OptionalSingle) GetFixed32Field() uint32

func (*OptionalSingle) GetFixed64Field

func (x *OptionalSingle) GetFixed64Field() uint64

func (*OptionalSingle) GetFloatField

func (x *OptionalSingle) GetFloatField() float32

func (*OptionalSingle) GetInt32Field

func (x *OptionalSingle) GetInt32Field() int32

func (*OptionalSingle) GetInt64Field

func (x *OptionalSingle) GetInt64Field() int64

func (*OptionalSingle) GetSfixed32Field

func (x *OptionalSingle) GetSfixed32Field() int32

func (*OptionalSingle) GetSfixed64Field

func (x *OptionalSingle) GetSfixed64Field() int64

func (*OptionalSingle) GetSint32Field

func (x *OptionalSingle) GetSint32Field() int32

func (*OptionalSingle) GetSint64Field

func (x *OptionalSingle) GetSint64Field() int64

func (*OptionalSingle) GetStringField

func (x *OptionalSingle) GetStringField() string

func (*OptionalSingle) GetUint32Field

func (x *OptionalSingle) GetUint32Field() uint32

func (*OptionalSingle) GetUint64Field

func (x *OptionalSingle) GetUint64Field() uint64

func (*OptionalSingle) ProtoMessage

func (*OptionalSingle) ProtoMessage()

func (*OptionalSingle) ProtoReflect

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

func (*OptionalSingle) Reset

func (x *OptionalSingle) Reset()

func (*OptionalSingle) String

func (x *OptionalSingle) String() string

type PersonV1

type PersonV1 struct {
	Id   int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonV1) Descriptor deprecated

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

Deprecated: Use PersonV1.ProtoReflect.Descriptor instead.

func (*PersonV1) GetId

func (x *PersonV1) GetId() int32

func (*PersonV1) GetName

func (x *PersonV1) GetName() string

func (*PersonV1) ProtoMessage

func (*PersonV1) ProtoMessage()

func (*PersonV1) ProtoReflect

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

func (*PersonV1) Reset

func (x *PersonV1) Reset()

func (*PersonV1) String

func (x *PersonV1) String() string

type PersonV2

type PersonV2 struct {
	Id         int32       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name       string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Age        uint32      `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"`
	Profession string      `protobuf:"bytes,4,opt,name=profession,proto3" json:"profession,omitempty"`
	Children   []*PersonV2 `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonV2) Descriptor deprecated

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

Deprecated: Use PersonV2.ProtoReflect.Descriptor instead.

func (*PersonV2) GetAge

func (x *PersonV2) GetAge() uint32

func (*PersonV2) GetChildren

func (x *PersonV2) GetChildren() []*PersonV2

func (*PersonV2) GetId

func (x *PersonV2) GetId() int32

func (*PersonV2) GetName

func (x *PersonV2) GetName() string

func (*PersonV2) GetProfession

func (x *PersonV2) GetProfession() string

func (*PersonV2) ProtoMessage

func (*PersonV2) ProtoMessage()

func (*PersonV2) ProtoReflect

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

func (*PersonV2) Reset

func (x *PersonV2) Reset()

func (*PersonV2) String

func (x *PersonV2) String() string

type PersonV3

type PersonV3 struct {
	Id         int32       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Age        uint32      `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"`
	Profession string      `protobuf:"bytes,4,opt,name=profession,proto3" json:"profession,omitempty"`
	Children   []*PersonV3 `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`
	// Types that are assignable to Name:
	//	*PersonV3_FullName
	//	*PersonV3_StructuredName
	Name isPersonV3_Name `protobuf_oneof:"name"`
	// contains filtered or unexported fields
}

func (*PersonV3) Descriptor deprecated

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

Deprecated: Use PersonV3.ProtoReflect.Descriptor instead.

func (*PersonV3) GetAge

func (x *PersonV3) GetAge() uint32

func (*PersonV3) GetChildren

func (x *PersonV3) GetChildren() []*PersonV3

func (*PersonV3) GetFullName

func (x *PersonV3) GetFullName() string

func (*PersonV3) GetId

func (x *PersonV3) GetId() int32

func (*PersonV3) GetName

func (m *PersonV3) GetName() isPersonV3_Name

func (*PersonV3) GetProfession

func (x *PersonV3) GetProfession() string

func (*PersonV3) GetStructuredName

func (x *PersonV3) GetStructuredName() *PersonV3_NameV3

func (*PersonV3) ProtoMessage

func (*PersonV3) ProtoMessage()

func (*PersonV3) ProtoReflect

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

func (*PersonV3) Reset

func (x *PersonV3) Reset()

func (*PersonV3) String

func (x *PersonV3) String() string

type PersonV3_FullName

type PersonV3_FullName struct {
	FullName string `protobuf:"bytes,2,opt,name=full_name,json=fullName,proto3,oneof"`
}

type PersonV3_NameV3

type PersonV3_NameV3 struct {
	First string `protobuf:"bytes,1,opt,name=first,proto3" json:"first,omitempty"`
	Last  string `protobuf:"bytes,2,opt,name=last,proto3" json:"last,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonV3_NameV3) Descriptor deprecated

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

Deprecated: Use PersonV3_NameV3.ProtoReflect.Descriptor instead.

func (*PersonV3_NameV3) GetFirst

func (x *PersonV3_NameV3) GetFirst() string

func (*PersonV3_NameV3) GetLast

func (x *PersonV3_NameV3) GetLast() string

func (*PersonV3_NameV3) ProtoMessage

func (*PersonV3_NameV3) ProtoMessage()

func (*PersonV3_NameV3) ProtoReflect

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

func (*PersonV3_NameV3) Reset

func (x *PersonV3_NameV3) Reset()

func (*PersonV3_NameV3) String

func (x *PersonV3_NameV3) String() string

type PersonV3_StructuredName

type PersonV3_StructuredName struct {
	StructuredName *PersonV3_NameV3 `protobuf:"bytes,6,opt,name=structured_name,json=structuredName,proto3,oneof"`
}

type PersonV4

type PersonV4 struct {
	Id                 int32            `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DeprecatedFullName string           `protobuf:"bytes,2,opt,name=deprecated_full_name,json=deprecatedFullName,proto3" json:"deprecated_full_name,omitempty"`
	Age                uint32           `protobuf:"varint,3,opt,name=age,proto3" json:"age,omitempty"`
	Profession         string           `protobuf:"bytes,4,opt,name=profession,proto3" json:"profession,omitempty"`
	Children           []*PersonV3      `protobuf:"bytes,5,rep,name=children,proto3" json:"children,omitempty"`
	StructuredName     *PersonV4_NameV4 `protobuf:"bytes,6,opt,name=structured_name,json=structuredName,proto3" json:"structured_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonV4) Descriptor deprecated

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

Deprecated: Use PersonV4.ProtoReflect.Descriptor instead.

func (*PersonV4) GetAge

func (x *PersonV4) GetAge() uint32

func (*PersonV4) GetChildren

func (x *PersonV4) GetChildren() []*PersonV3

func (*PersonV4) GetDeprecatedFullName

func (x *PersonV4) GetDeprecatedFullName() string

func (*PersonV4) GetId

func (x *PersonV4) GetId() int32

func (*PersonV4) GetProfession

func (x *PersonV4) GetProfession() string

func (*PersonV4) GetStructuredName

func (x *PersonV4) GetStructuredName() *PersonV4_NameV4

func (*PersonV4) ProtoMessage

func (*PersonV4) ProtoMessage()

func (*PersonV4) ProtoReflect

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

func (*PersonV4) Reset

func (x *PersonV4) Reset()

func (*PersonV4) String

func (x *PersonV4) String() string

type PersonV4_NameV4

type PersonV4_NameV4 struct {
	First string `protobuf:"bytes,1,opt,name=first,proto3" json:"first,omitempty"`
	Last  string `protobuf:"bytes,2,opt,name=last,proto3" json:"last,omitempty"`
	// contains filtered or unexported fields
}

func (*PersonV4_NameV4) Descriptor deprecated

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

Deprecated: Use PersonV4_NameV4.ProtoReflect.Descriptor instead.

func (*PersonV4_NameV4) GetFirst

func (x *PersonV4_NameV4) GetFirst() string

func (*PersonV4_NameV4) GetLast

func (x *PersonV4_NameV4) GetLast() string

func (*PersonV4_NameV4) ProtoMessage

func (*PersonV4_NameV4) ProtoMessage()

func (*PersonV4_NameV4) ProtoReflect

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

func (*PersonV4_NameV4) Reset

func (x *PersonV4_NameV4) Reset()

func (*PersonV4_NameV4) String

func (x *PersonV4_NameV4) String() string

type Planet

type Planet int32
const (
	Planet_PLANET_UNKNOWN Planet = 0
	Planet_PLANET_EARTH   Planet = 3
	Planet_PLANET_MERCURY Planet = 1
	Planet_PLANET_VENUS   Planet = 2
	Planet_PLANET_MARS    Planet = 4
	Planet_PLANET_JUPITER Planet = 5
	Planet_PLANET_SATURN  Planet = 6
)

func (Planet) Descriptor

func (Planet) Descriptor() protoreflect.EnumDescriptor

func (Planet) Enum

func (x Planet) Enum() *Planet

func (Planet) EnumDescriptor deprecated

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

Deprecated: Use Planet.Descriptor instead.

func (Planet) Number

func (x Planet) Number() protoreflect.EnumNumber

func (Planet) String

func (x Planet) String() string

func (Planet) Type

func (Planet) Type() protoreflect.EnumType

type Repetitive

type Repetitive struct {
	BoolField       []bool        `protobuf:"varint,1,rep,packed,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"`
	BytesField      [][]byte      `protobuf:"bytes,3,rep,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"`
	DoubleField     []float64     `protobuf:"fixed64,5,rep,packed,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"`
	Fixed32Field    []uint32      `protobuf:"fixed32,7,rep,packed,name=fixed32_field,json=fixed32Field,proto3" json:"fixed32_field,omitempty"`
	Fixed64Field    []uint64      `protobuf:"fixed64,9,rep,packed,name=fixed64_field,json=fixed64Field,proto3" json:"fixed64_field,omitempty"`
	FloatField      []float32     `protobuf:"fixed32,11,rep,packed,name=float_field,json=floatField,proto3" json:"float_field,omitempty"`
	Int32Field      []int32       `protobuf:"varint,13,rep,packed,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"`
	Int64Field      []int64       `protobuf:"varint,15,rep,packed,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"`
	Sfixed32Field   []int32       `protobuf:"fixed32,17,rep,packed,name=sfixed32_field,json=sfixed32Field,proto3" json:"sfixed32_field,omitempty"`
	Sfixed64Field   []int64       `protobuf:"fixed64,19,rep,packed,name=sfixed64_field,json=sfixed64Field,proto3" json:"sfixed64_field,omitempty"`
	Sint32Field     []int32       `protobuf:"zigzag32,21,rep,packed,name=sint32_field,json=sint32Field,proto3" json:"sint32_field,omitempty"`
	Sint64Field     []int64       `protobuf:"zigzag64,23,rep,packed,name=sint64_field,json=sint64Field,proto3" json:"sint64_field,omitempty"`
	StringField     []string      `protobuf:"bytes,25,rep,name=string_field,json=stringField,proto3" json:"string_field,omitempty"`
	Uint32Field     []uint32      `protobuf:"varint,27,rep,packed,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"`
	Uint64Field     []uint64      `protobuf:"varint,29,rep,packed,name=uint64_field,json=uint64Field,proto3" json:"uint64_field,omitempty"`
	SimpleField     []*Simple     `protobuf:"bytes,31,rep,name=simple_field,json=simpleField,proto3" json:"simple_field,omitempty"`
	RepetitiveField []*Repetitive `protobuf:"bytes,33,rep,name=repetitive_field,json=repetitiveField,proto3" json:"repetitive_field,omitempty"`
	SingletonField  []*Singleton  `protobuf:"bytes,35,rep,name=singleton_field,json=singletonField,proto3" json:"singleton_field,omitempty"`
	// contains filtered or unexported fields
}

func (*Repetitive) Descriptor deprecated

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

Deprecated: Use Repetitive.ProtoReflect.Descriptor instead.

func (*Repetitive) GetBoolField

func (x *Repetitive) GetBoolField() []bool

func (*Repetitive) GetBytesField

func (x *Repetitive) GetBytesField() [][]byte

func (*Repetitive) GetDoubleField

func (x *Repetitive) GetDoubleField() []float64

func (*Repetitive) GetFixed32Field

func (x *Repetitive) GetFixed32Field() []uint32

func (*Repetitive) GetFixed64Field

func (x *Repetitive) GetFixed64Field() []uint64

func (*Repetitive) GetFloatField

func (x *Repetitive) GetFloatField() []float32

func (*Repetitive) GetInt32Field

func (x *Repetitive) GetInt32Field() []int32

func (*Repetitive) GetInt64Field

func (x *Repetitive) GetInt64Field() []int64

func (*Repetitive) GetRepetitiveField

func (x *Repetitive) GetRepetitiveField() []*Repetitive

func (*Repetitive) GetSfixed32Field

func (x *Repetitive) GetSfixed32Field() []int32

func (*Repetitive) GetSfixed64Field

func (x *Repetitive) GetSfixed64Field() []int64

func (*Repetitive) GetSimpleField

func (x *Repetitive) GetSimpleField() []*Simple

func (*Repetitive) GetSingletonField

func (x *Repetitive) GetSingletonField() []*Singleton

func (*Repetitive) GetSint32Field

func (x *Repetitive) GetSint32Field() []int32

func (*Repetitive) GetSint64Field

func (x *Repetitive) GetSint64Field() []int64

func (*Repetitive) GetStringField

func (x *Repetitive) GetStringField() []string

func (*Repetitive) GetUint32Field

func (x *Repetitive) GetUint32Field() []uint32

func (*Repetitive) GetUint64Field

func (x *Repetitive) GetUint64Field() []uint64

func (*Repetitive) ProtoMessage

func (*Repetitive) ProtoMessage()

func (*Repetitive) ProtoReflect

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

func (*Repetitive) Reset

func (x *Repetitive) Reset()

func (*Repetitive) String

func (x *Repetitive) String() string

type Sfixed32Message

type Sfixed32Message struct {
	Value  int32   `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []int32 `protobuf:"fixed32,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Sfixed32Message) Descriptor deprecated

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

Deprecated: Use Sfixed32Message.ProtoReflect.Descriptor instead.

func (*Sfixed32Message) GetValue

func (x *Sfixed32Message) GetValue() int32

func (*Sfixed32Message) GetValues

func (x *Sfixed32Message) GetValues() []int32

func (*Sfixed32Message) ProtoMessage

func (*Sfixed32Message) ProtoMessage()

func (*Sfixed32Message) ProtoReflect

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

func (*Sfixed32Message) Reset

func (x *Sfixed32Message) Reset()

func (*Sfixed32Message) String

func (x *Sfixed32Message) String() string

type Sfixed64Message

type Sfixed64Message struct {
	Value  int64   `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []int64 `protobuf:"fixed64,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Sfixed64Message) Descriptor deprecated

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

Deprecated: Use Sfixed64Message.ProtoReflect.Descriptor instead.

func (*Sfixed64Message) GetValue

func (x *Sfixed64Message) GetValue() int64

func (*Sfixed64Message) GetValues

func (x *Sfixed64Message) GetValues() []int64

func (*Sfixed64Message) ProtoMessage

func (*Sfixed64Message) ProtoMessage()

func (*Sfixed64Message) ProtoReflect

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

func (*Sfixed64Message) Reset

func (x *Sfixed64Message) Reset()

func (*Sfixed64Message) String

func (x *Sfixed64Message) String() string

type Simple

type Simple struct {
	BoolField       bool        `protobuf:"varint,1,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"`
	BytesField      []byte      `protobuf:"bytes,3,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"`
	DoubleField     float64     `protobuf:"fixed64,5,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"`
	Fixed32Field    uint32      `protobuf:"fixed32,7,opt,name=fixed32_field,json=fixed32Field,proto3" json:"fixed32_field,omitempty"`
	Fixed64Field    uint64      `protobuf:"fixed64,9,opt,name=fixed64_field,json=fixed64Field,proto3" json:"fixed64_field,omitempty"`
	FloatField      float32     `protobuf:"fixed32,11,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"`
	Int32Field      int32       `protobuf:"varint,13,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"`
	Int64Field      int64       `protobuf:"varint,15,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"`
	Sfixed32Field   int32       `protobuf:"fixed32,17,opt,name=sfixed32_field,json=sfixed32Field,proto3" json:"sfixed32_field,omitempty"`
	Sfixed64Field   int64       `protobuf:"fixed64,19,opt,name=sfixed64_field,json=sfixed64Field,proto3" json:"sfixed64_field,omitempty"`
	Sint32Field     int32       `protobuf:"zigzag32,21,opt,name=sint32_field,json=sint32Field,proto3" json:"sint32_field,omitempty"`
	Sint64Field     int64       `protobuf:"zigzag64,23,opt,name=sint64_field,json=sint64Field,proto3" json:"sint64_field,omitempty"`
	StringField     string      `protobuf:"bytes,25,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"`
	Uint32Field     uint32      `protobuf:"varint,27,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"`
	Uint64Field     uint64      `protobuf:"varint,29,opt,name=uint64_field,json=uint64Field,proto3" json:"uint64_field,omitempty"`
	SimpleField     *Simple     `protobuf:"bytes,31,opt,name=simple_field,json=simpleField,proto3" json:"simple_field,omitempty"`
	RepetitiveField *Repetitive `protobuf:"bytes,33,opt,name=repetitive_field,json=repetitiveField,proto3" json:"repetitive_field,omitempty"`
	SingletonField  *Singleton  `protobuf:"bytes,35,opt,name=singleton_field,json=singletonField,proto3" json:"singleton_field,omitempty"`
	// contains filtered or unexported fields
}

func (*Simple) Descriptor deprecated

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

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetBoolField

func (x *Simple) GetBoolField() bool

func (*Simple) GetBytesField

func (x *Simple) GetBytesField() []byte

func (*Simple) GetDoubleField

func (x *Simple) GetDoubleField() float64

func (*Simple) GetFixed32Field

func (x *Simple) GetFixed32Field() uint32

func (*Simple) GetFixed64Field

func (x *Simple) GetFixed64Field() uint64

func (*Simple) GetFloatField

func (x *Simple) GetFloatField() float32

func (*Simple) GetInt32Field

func (x *Simple) GetInt32Field() int32

func (*Simple) GetInt64Field

func (x *Simple) GetInt64Field() int64

func (*Simple) GetRepetitiveField

func (x *Simple) GetRepetitiveField() *Repetitive

func (*Simple) GetSfixed32Field

func (x *Simple) GetSfixed32Field() int32

func (*Simple) GetSfixed64Field

func (x *Simple) GetSfixed64Field() int64

func (*Simple) GetSimpleField

func (x *Simple) GetSimpleField() *Simple

func (*Simple) GetSingletonField

func (x *Simple) GetSingletonField() *Singleton

func (*Simple) GetSint32Field

func (x *Simple) GetSint32Field() int32

func (*Simple) GetSint64Field

func (x *Simple) GetSint64Field() int64

func (*Simple) GetStringField

func (x *Simple) GetStringField() string

func (*Simple) GetUint32Field

func (x *Simple) GetUint32Field() uint32

func (*Simple) GetUint64Field

func (x *Simple) GetUint64Field() uint64

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect

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

func (*Simple) Reset

func (x *Simple) Reset()

func (*Simple) String

func (x *Simple) String() string

type Single

type Single struct {
	BoolField     bool    `protobuf:"varint,1,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"`
	BytesField    []byte  `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"`
	DoubleField   float64 `protobuf:"fixed64,3,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"`
	Fixed32Field  uint32  `protobuf:"fixed32,4,opt,name=fixed32_field,json=fixed32Field,proto3" json:"fixed32_field,omitempty"`
	Fixed64Field  uint64  `protobuf:"fixed64,5,opt,name=fixed64_field,json=fixed64Field,proto3" json:"fixed64_field,omitempty"`
	FloatField    float32 `protobuf:"fixed32,6,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"`
	Int32Field    int32   `protobuf:"varint,7,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"`
	Int64Field    int64   `protobuf:"varint,8,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"`
	Sfixed32Field int32   `protobuf:"fixed32,9,opt,name=sfixed32_field,json=sfixed32Field,proto3" json:"sfixed32_field,omitempty"`
	Sfixed64Field int64   `protobuf:"fixed64,10,opt,name=sfixed64_field,json=sfixed64Field,proto3" json:"sfixed64_field,omitempty"`
	Sint32Field   int32   `protobuf:"zigzag32,11,opt,name=sint32_field,json=sint32Field,proto3" json:"sint32_field,omitempty"`
	Sint64Field   int64   `protobuf:"zigzag64,12,opt,name=sint64_field,json=sint64Field,proto3" json:"sint64_field,omitempty"`
	StringField   string  `protobuf:"bytes,13,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"`
	Uint32Field   uint32  `protobuf:"varint,14,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"`
	Uint64Field   uint64  `protobuf:"varint,15,opt,name=uint64_field,json=uint64Field,proto3" json:"uint64_field,omitempty"`
	// contains filtered or unexported fields
}

Single contains one of each primitive data type.

func (*Single) Descriptor deprecated

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

Deprecated: Use Single.ProtoReflect.Descriptor instead.

func (*Single) GetBoolField

func (x *Single) GetBoolField() bool

func (*Single) GetBytesField

func (x *Single) GetBytesField() []byte

func (*Single) GetDoubleField

func (x *Single) GetDoubleField() float64

func (*Single) GetFixed32Field

func (x *Single) GetFixed32Field() uint32

func (*Single) GetFixed64Field

func (x *Single) GetFixed64Field() uint64

func (*Single) GetFloatField

func (x *Single) GetFloatField() float32

func (*Single) GetInt32Field

func (x *Single) GetInt32Field() int32

func (*Single) GetInt64Field

func (x *Single) GetInt64Field() int64

func (*Single) GetSfixed32Field

func (x *Single) GetSfixed32Field() int32

func (*Single) GetSfixed64Field

func (x *Single) GetSfixed64Field() int64

func (*Single) GetSint32Field

func (x *Single) GetSint32Field() int32

func (*Single) GetSint64Field

func (x *Single) GetSint64Field() int64

func (*Single) GetStringField

func (x *Single) GetStringField() string

func (*Single) GetUint32Field

func (x *Single) GetUint32Field() uint32

func (*Single) GetUint64Field

func (x *Single) GetUint64Field() uint64

func (*Single) ProtoMessage

func (*Single) ProtoMessage()

func (*Single) ProtoReflect

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

func (*Single) Reset

func (x *Single) Reset()

func (*Single) String

func (x *Single) String() string

type Singleton

type Singleton struct {

	// Types that are assignable to Singleton:
	//	*Singleton_TheBool
	//	*Singleton_TheBytes
	//	*Singleton_TheDouble
	//	*Singleton_TheFixed32
	//	*Singleton_TheFixed64
	//	*Singleton_TheFloat
	//	*Singleton_TheInt32
	//	*Singleton_TheInt64
	//	*Singleton_TheSfixed32
	//	*Singleton_TheSfixed64
	//	*Singleton_TheSint32
	//	*Singleton_TheSint64
	//	*Singleton_TheString
	//	*Singleton_TheUint32
	//	*Singleton_TheUint64
	//	*Singleton_TheSimple
	//	*Singleton_TheRepetitive
	//	*Singleton_TheSingleton
	Singleton isSingleton_Singleton `protobuf_oneof:"singleton"`
	// contains filtered or unexported fields
}

func (*Singleton) Descriptor deprecated

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

Deprecated: Use Singleton.ProtoReflect.Descriptor instead.

func (*Singleton) GetSingleton

func (m *Singleton) GetSingleton() isSingleton_Singleton

func (*Singleton) GetTheBool

func (x *Singleton) GetTheBool() bool

func (*Singleton) GetTheBytes

func (x *Singleton) GetTheBytes() []byte

func (*Singleton) GetTheDouble

func (x *Singleton) GetTheDouble() float64

func (*Singleton) GetTheFixed32

func (x *Singleton) GetTheFixed32() uint32

func (*Singleton) GetTheFixed64

func (x *Singleton) GetTheFixed64() uint64

func (*Singleton) GetTheFloat

func (x *Singleton) GetTheFloat() float32

func (*Singleton) GetTheInt32

func (x *Singleton) GetTheInt32() int32

func (*Singleton) GetTheInt64

func (x *Singleton) GetTheInt64() int64

func (*Singleton) GetTheRepetitive

func (x *Singleton) GetTheRepetitive() *Repetitive

func (*Singleton) GetTheSfixed32

func (x *Singleton) GetTheSfixed32() int32

func (*Singleton) GetTheSfixed64

func (x *Singleton) GetTheSfixed64() int64

func (*Singleton) GetTheSimple

func (x *Singleton) GetTheSimple() *Simple

func (*Singleton) GetTheSingleton

func (x *Singleton) GetTheSingleton() *Singleton

func (*Singleton) GetTheSint32

func (x *Singleton) GetTheSint32() int32

func (*Singleton) GetTheSint64

func (x *Singleton) GetTheSint64() int64

func (*Singleton) GetTheString

func (x *Singleton) GetTheString() string

func (*Singleton) GetTheUint32

func (x *Singleton) GetTheUint32() uint32

func (*Singleton) GetTheUint64

func (x *Singleton) GetTheUint64() uint64

func (*Singleton) ProtoMessage

func (*Singleton) ProtoMessage()

func (*Singleton) ProtoReflect

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

func (*Singleton) Reset

func (x *Singleton) Reset()

func (*Singleton) String

func (x *Singleton) String() string

type Singleton_TheBool

type Singleton_TheBool struct {
	TheBool bool `protobuf:"varint,1,opt,name=the_bool,json=theBool,proto3,oneof"`
}

type Singleton_TheBytes

type Singleton_TheBytes struct {
	TheBytes []byte `protobuf:"bytes,3,opt,name=the_bytes,json=theBytes,proto3,oneof"`
}

type Singleton_TheDouble

type Singleton_TheDouble struct {
	TheDouble float64 `protobuf:"fixed64,5,opt,name=the_double,json=theDouble,proto3,oneof"`
}

type Singleton_TheFixed32

type Singleton_TheFixed32 struct {
	TheFixed32 uint32 `protobuf:"fixed32,7,opt,name=the_fixed32,json=theFixed32,proto3,oneof"`
}

type Singleton_TheFixed64

type Singleton_TheFixed64 struct {
	TheFixed64 uint64 `protobuf:"fixed64,9,opt,name=the_fixed64,json=theFixed64,proto3,oneof"`
}

type Singleton_TheFloat

type Singleton_TheFloat struct {
	TheFloat float32 `protobuf:"fixed32,11,opt,name=the_float,json=theFloat,proto3,oneof"`
}

type Singleton_TheInt32

type Singleton_TheInt32 struct {
	TheInt32 int32 `protobuf:"varint,13,opt,name=the_int32,json=theInt32,proto3,oneof"`
}

type Singleton_TheInt64

type Singleton_TheInt64 struct {
	TheInt64 int64 `protobuf:"varint,15,opt,name=the_int64,json=theInt64,proto3,oneof"`
}

type Singleton_TheRepetitive

type Singleton_TheRepetitive struct {
	TheRepetitive *Repetitive `protobuf:"bytes,33,opt,name=the_repetitive,json=theRepetitive,proto3,oneof"`
}

type Singleton_TheSfixed32

type Singleton_TheSfixed32 struct {
	TheSfixed32 int32 `protobuf:"fixed32,17,opt,name=the_sfixed32,json=theSfixed32,proto3,oneof"`
}

type Singleton_TheSfixed64

type Singleton_TheSfixed64 struct {
	TheSfixed64 int64 `protobuf:"fixed64,19,opt,name=the_sfixed64,json=theSfixed64,proto3,oneof"`
}

type Singleton_TheSimple

type Singleton_TheSimple struct {
	TheSimple *Simple `protobuf:"bytes,31,opt,name=the_simple,json=theSimple,proto3,oneof"`
}

type Singleton_TheSingleton

type Singleton_TheSingleton struct {
	TheSingleton *Singleton `protobuf:"bytes,35,opt,name=the_singleton,json=theSingleton,proto3,oneof"`
}

type Singleton_TheSint32

type Singleton_TheSint32 struct {
	TheSint32 int32 `protobuf:"zigzag32,21,opt,name=the_sint32,json=theSint32,proto3,oneof"`
}

type Singleton_TheSint64

type Singleton_TheSint64 struct {
	TheSint64 int64 `protobuf:"zigzag64,23,opt,name=the_sint64,json=theSint64,proto3,oneof"`
}

type Singleton_TheString

type Singleton_TheString struct {
	TheString string `protobuf:"bytes,25,opt,name=the_string,json=theString,proto3,oneof"`
}

type Singleton_TheUint32

type Singleton_TheUint32 struct {
	TheUint32 uint32 `protobuf:"varint,27,opt,name=the_uint32,json=theUint32,proto3,oneof"`
}

type Singleton_TheUint64

type Singleton_TheUint64 struct {
	TheUint64 uint64 `protobuf:"varint,29,opt,name=the_uint64,json=theUint64,proto3,oneof"`
}

type Sint32Message

type Sint32Message struct {
	Value  int32   `protobuf:"zigzag32,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []int32 `protobuf:"zigzag32,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Sint32Message) Descriptor deprecated

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

Deprecated: Use Sint32Message.ProtoReflect.Descriptor instead.

func (*Sint32Message) GetValue

func (x *Sint32Message) GetValue() int32

func (*Sint32Message) GetValues

func (x *Sint32Message) GetValues() []int32

func (*Sint32Message) ProtoMessage

func (*Sint32Message) ProtoMessage()

func (*Sint32Message) ProtoReflect

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

func (*Sint32Message) Reset

func (x *Sint32Message) Reset()

func (*Sint32Message) String

func (x *Sint32Message) String() string

type Sint64Message

type Sint64Message struct {
	Value  int64   `protobuf:"zigzag64,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []int64 `protobuf:"zigzag64,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Sint64Message) Descriptor deprecated

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

Deprecated: Use Sint64Message.ProtoReflect.Descriptor instead.

func (*Sint64Message) GetValue

func (x *Sint64Message) GetValue() int64

func (*Sint64Message) GetValues

func (x *Sint64Message) GetValues() []int64

func (*Sint64Message) ProtoMessage

func (*Sint64Message) ProtoMessage()

func (*Sint64Message) ProtoReflect

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

func (*Sint64Message) Reset

func (x *Sint64Message) Reset()

func (*Sint64Message) String

func (x *Sint64Message) String() string

type StringMaps

type StringMaps struct {
	StringToBool       map[string]bool        `` /* 188-byte string literal not displayed */
	StringToBytes      map[string][]byte      `` /* 190-byte string literal not displayed */
	StringToDouble     map[string]float64     `` /* 195-byte string literal not displayed */
	StringToFixed32    map[string]uint32      `` /* 198-byte string literal not displayed */
	StringToFixed64    map[string]uint64      `` /* 198-byte string literal not displayed */
	StringToFloat      map[string]float32     `` /* 192-byte string literal not displayed */
	StringToInt32      map[string]int32       `` /* 191-byte string literal not displayed */
	StringToInt64      map[string]int64       `` /* 191-byte string literal not displayed */
	StringToSfixed32   map[string]int32       `` /* 201-byte string literal not displayed */
	StringToSfixed64   map[string]int64       `` /* 202-byte string literal not displayed */
	StringToSint32     map[string]int32       `` /* 197-byte string literal not displayed */
	StringToSint64     map[string]int64       `` /* 197-byte string literal not displayed */
	StringToString     map[string]string      `` /* 194-byte string literal not displayed */
	StringToUint32     map[string]uint32      `` /* 195-byte string literal not displayed */
	StringToUint64     map[string]uint64      `` /* 195-byte string literal not displayed */
	StringToPlanet     map[string]Planet      `` /* 220-byte string literal not displayed */
	StringToSimple     map[string]*Simple     `` /* 194-byte string literal not displayed */
	StringToRepetitive map[string]*Repetitive `` /* 206-byte string literal not displayed */
	StringToSingleton  map[string]*Singleton  `` /* 203-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StringMaps) Descriptor deprecated

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

Deprecated: Use StringMaps.ProtoReflect.Descriptor instead.

func (*StringMaps) GetStringToBool

func (x *StringMaps) GetStringToBool() map[string]bool

func (*StringMaps) GetStringToBytes

func (x *StringMaps) GetStringToBytes() map[string][]byte

func (*StringMaps) GetStringToDouble

func (x *StringMaps) GetStringToDouble() map[string]float64

func (*StringMaps) GetStringToFixed32

func (x *StringMaps) GetStringToFixed32() map[string]uint32

func (*StringMaps) GetStringToFixed64

func (x *StringMaps) GetStringToFixed64() map[string]uint64

func (*StringMaps) GetStringToFloat

func (x *StringMaps) GetStringToFloat() map[string]float32

func (*StringMaps) GetStringToInt32

func (x *StringMaps) GetStringToInt32() map[string]int32

func (*StringMaps) GetStringToInt64

func (x *StringMaps) GetStringToInt64() map[string]int64

func (*StringMaps) GetStringToPlanet

func (x *StringMaps) GetStringToPlanet() map[string]Planet

func (*StringMaps) GetStringToRepetitive

func (x *StringMaps) GetStringToRepetitive() map[string]*Repetitive

func (*StringMaps) GetStringToSfixed32

func (x *StringMaps) GetStringToSfixed32() map[string]int32

func (*StringMaps) GetStringToSfixed64

func (x *StringMaps) GetStringToSfixed64() map[string]int64

func (*StringMaps) GetStringToSimple

func (x *StringMaps) GetStringToSimple() map[string]*Simple

func (*StringMaps) GetStringToSingleton

func (x *StringMaps) GetStringToSingleton() map[string]*Singleton

func (*StringMaps) GetStringToSint32

func (x *StringMaps) GetStringToSint32() map[string]int32

func (*StringMaps) GetStringToSint64

func (x *StringMaps) GetStringToSint64() map[string]int64

func (*StringMaps) GetStringToString

func (x *StringMaps) GetStringToString() map[string]string

func (*StringMaps) GetStringToUint32

func (x *StringMaps) GetStringToUint32() map[string]uint32

func (*StringMaps) GetStringToUint64

func (x *StringMaps) GetStringToUint64() map[string]uint64

func (*StringMaps) ProtoMessage

func (*StringMaps) ProtoMessage()

func (*StringMaps) ProtoReflect

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

func (*StringMaps) Reset

func (x *StringMaps) Reset()

func (*StringMaps) String

func (x *StringMaps) String() string

type Uint32Message

type Uint32Message struct {
	Value  uint32   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []uint32 `protobuf:"varint,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint32Message) Descriptor deprecated

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

Deprecated: Use Uint32Message.ProtoReflect.Descriptor instead.

func (*Uint32Message) GetValue

func (x *Uint32Message) GetValue() uint32

func (*Uint32Message) GetValues

func (x *Uint32Message) GetValues() []uint32

func (*Uint32Message) ProtoMessage

func (*Uint32Message) ProtoMessage()

func (*Uint32Message) ProtoReflect

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

func (*Uint32Message) Reset

func (x *Uint32Message) Reset()

func (*Uint32Message) String

func (x *Uint32Message) String() string

type Uint64Message

type Uint64Message struct {
	Value  uint64   `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	Values []uint64 `protobuf:"varint,2,rep,packed,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint64Message) Descriptor deprecated

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

Deprecated: Use Uint64Message.ProtoReflect.Descriptor instead.

func (*Uint64Message) GetValue

func (x *Uint64Message) GetValue() uint64

func (*Uint64Message) GetValues

func (x *Uint64Message) GetValues() []uint64

func (*Uint64Message) ProtoMessage

func (*Uint64Message) ProtoMessage()

func (*Uint64Message) ProtoReflect

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

func (*Uint64Message) Reset

func (x *Uint64Message) Reset()

func (*Uint64Message) String

func (x *Uint64Message) String() string

Jump to

Keyboard shortcuts

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