Documentation ¶
Index ¶
- Variables
- type ExampleAny
- type ExampleBytes
- type ExampleDate
- type ExampleDateTime
- type ExampleDuration
- func (*ExampleDuration) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleDuration) GetDuration() *durationpb.Duration
- func (*ExampleDuration) ProtoMessage()
- func (x *ExampleDuration) ProtoReflect() protoreflect.Message
- func (x *ExampleDuration) Reset()
- func (x *ExampleDuration) String() string
- type ExampleEnum
- type ExampleEnum_Enum
- func (ExampleEnum_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ExampleEnum_Enum) Enum() *ExampleEnum_Enum
- func (ExampleEnum_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExampleEnum_Enum) Number() protoreflect.EnumNumber
- func (x ExampleEnum_Enum) String() string
- func (ExampleEnum_Enum) Type() protoreflect.EnumType
- type ExampleList
- func (*ExampleList) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleList) GetEnumList() []ExampleList_Enum
- func (x *ExampleList) GetFloatValueList() []*wrapperspb.FloatValue
- func (x *ExampleList) GetInt64List() []int64
- func (x *ExampleList) GetNestedList() []*ExampleList_Nested
- func (x *ExampleList) GetStringList() []string
- func (*ExampleList) ProtoMessage()
- func (x *ExampleList) ProtoReflect() protoreflect.Message
- func (x *ExampleList) Reset()
- func (x *ExampleList) String() string
- type ExampleList_Enum
- func (ExampleList_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ExampleList_Enum) Enum() *ExampleList_Enum
- func (ExampleList_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExampleList_Enum) Number() protoreflect.EnumNumber
- func (x ExampleList_Enum) String() string
- func (ExampleList_Enum) Type() protoreflect.EnumType
- type ExampleList_Nested
- func (*ExampleList_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleList_Nested) GetStringList() []string
- func (*ExampleList_Nested) ProtoMessage()
- func (x *ExampleList_Nested) ProtoReflect() protoreflect.Message
- func (x *ExampleList_Nested) Reset()
- func (x *ExampleList_Nested) String() string
- type ExampleMap
- func (*ExampleMap) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleMap) GetBoolToString() map[bool]string
- func (x *ExampleMap) GetInt32ToString() map[int32]string
- func (x *ExampleMap) GetInt64ToString() map[int64]string
- func (x *ExampleMap) GetStringToEnum() map[string]ExampleMap_Enum
- func (x *ExampleMap) GetStringToFloatValue() map[string]*wrapperspb.FloatValue
- func (x *ExampleMap) GetStringToNested() map[string]*ExampleMap_Nested
- func (x *ExampleMap) GetStringToString() map[string]string
- func (x *ExampleMap) GetUint32ToString() map[uint32]string
- func (*ExampleMap) ProtoMessage()
- func (x *ExampleMap) ProtoReflect() protoreflect.Message
- func (x *ExampleMap) Reset()
- func (x *ExampleMap) String() string
- type ExampleMap_Enum
- func (ExampleMap_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ExampleMap_Enum) Enum() *ExampleMap_Enum
- func (ExampleMap_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExampleMap_Enum) Number() protoreflect.EnumNumber
- func (x ExampleMap_Enum) String() string
- func (ExampleMap_Enum) Type() protoreflect.EnumType
- type ExampleMap_Nested
- func (*ExampleMap_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleMap_Nested) GetStringToString() map[string]string
- func (*ExampleMap_Nested) ProtoMessage()
- func (x *ExampleMap_Nested) ProtoReflect() protoreflect.Message
- func (x *ExampleMap_Nested) Reset()
- func (x *ExampleMap_Nested) String() string
- type ExampleNumbers
- func (*ExampleNumbers) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleNumbers) GetValdouble() float64
- func (x *ExampleNumbers) GetValfloat() float32
- func (x *ExampleNumbers) GetValint32() int32
- func (x *ExampleNumbers) GetValint64() int64
- func (x *ExampleNumbers) GetValsint32() int32
- func (x *ExampleNumbers) GetValsint64() int64
- func (x *ExampleNumbers) GetValuint32() uint32
- func (x *ExampleNumbers) GetValuint64() uint64
- func (*ExampleNumbers) ProtoMessage()
- func (x *ExampleNumbers) ProtoReflect() protoreflect.Message
- func (x *ExampleNumbers) Reset()
- func (x *ExampleNumbers) String() string
- type ExampleOneof
- func (*ExampleOneof) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleOneof) GetOneofBool_1() bool
- func (x *ExampleOneof) GetOneofEmptyMessage_1() *ExampleOneof_EmptyMessage
- func (x *ExampleOneof) GetOneofEmptyMessage_2() *ExampleOneof_EmptyMessage
- func (m *ExampleOneof) GetOneofFields_1() isExampleOneof_OneofFields_1
- func (m *ExampleOneof) GetOneofFields_2() isExampleOneof_OneofFields_2
- func (x *ExampleOneof) GetOneofMessage() *ExampleOneof_Message
- func (*ExampleOneof) ProtoMessage()
- func (x *ExampleOneof) ProtoReflect() protoreflect.Message
- func (x *ExampleOneof) Reset()
- func (x *ExampleOneof) String() string
- type ExampleOneof_EmptyMessage
- type ExampleOneof_Message
- func (*ExampleOneof_Message) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleOneof_Message) GetStringValue() string
- func (*ExampleOneof_Message) ProtoMessage()
- func (x *ExampleOneof_Message) ProtoReflect() protoreflect.Message
- func (x *ExampleOneof_Message) Reset()
- func (x *ExampleOneof_Message) String() string
- type ExampleOneof_OneofBool_1
- type ExampleOneof_OneofEmptyMessage_1
- type ExampleOneof_OneofEmptyMessage_2
- type ExampleOneof_OneofMessage
- type ExampleRecursive
- func (*ExampleRecursive) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleRecursive) GetRecursive() *ExampleRecursive
- func (*ExampleRecursive) ProtoMessage()
- func (x *ExampleRecursive) ProtoReflect() protoreflect.Message
- func (x *ExampleRecursive) Reset()
- func (x *ExampleRecursive) String() string
- type ExampleStruct
- type ExampleTimeOfDay
- func (*ExampleTimeOfDay) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleTimeOfDay) GetTimeOfDay() *timeofday.TimeOfDay
- func (*ExampleTimeOfDay) ProtoMessage()
- func (x *ExampleTimeOfDay) ProtoReflect() protoreflect.Message
- func (x *ExampleTimeOfDay) Reset()
- func (x *ExampleTimeOfDay) String() string
- type ExampleTimestamp
- func (*ExampleTimestamp) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleTimestamp) GetTimestamp() *timestamppb.Timestamp
- func (*ExampleTimestamp) ProtoMessage()
- func (x *ExampleTimestamp) ProtoReflect() protoreflect.Message
- func (x *ExampleTimestamp) Reset()
- func (x *ExampleTimestamp) String() string
- type ExampleWrappers
- func (*ExampleWrappers) Descriptor() ([]byte, []int)deprecated
- func (x *ExampleWrappers) GetBoolValue() *wrapperspb.BoolValue
- func (x *ExampleWrappers) GetBytesValue() *wrapperspb.BytesValue
- func (x *ExampleWrappers) GetDoubleValue() *wrapperspb.DoubleValue
- func (x *ExampleWrappers) GetFloatValue() *wrapperspb.FloatValue
- func (x *ExampleWrappers) GetInt32Value() *wrapperspb.Int32Value
- func (x *ExampleWrappers) GetInt64Value() *wrapperspb.Int64Value
- func (x *ExampleWrappers) GetStringValue() *wrapperspb.StringValue
- func (x *ExampleWrappers) GetUint32Value() *wrapperspb.UInt32Value
- func (x *ExampleWrappers) GetUint64Value() *wrapperspb.UInt64Value
- func (*ExampleWrappers) ProtoMessage()
- func (x *ExampleWrappers) ProtoReflect() protoreflect.Message
- func (x *ExampleWrappers) Reset()
- func (x *ExampleWrappers) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ExampleEnum_Enum_name = map[int32]string{ 0: "ENUM_UNSPECIFIED", 1: "ENUM_VALUE1", 2: "ENUM_VALUE2", 4: "ENUM_VALUE3", } ExampleEnum_Enum_value = map[string]int32{ "ENUM_UNSPECIFIED": 0, "ENUM_VALUE1": 1, "ENUM_VALUE2": 2, "ENUM_VALUE3": 4, } )
Enum value maps for ExampleEnum_Enum.
var ( ExampleList_Enum_name = map[int32]string{ 0: "ENUM_UNSPECIFIED", 1: "ENUM_VALUE1", 2: "ENUM_VALUE2", } ExampleList_Enum_value = map[string]int32{ "ENUM_UNSPECIFIED": 0, "ENUM_VALUE1": 1, "ENUM_VALUE2": 2, } )
Enum value maps for ExampleList_Enum.
var ( ExampleMap_Enum_name = map[int32]string{ 0: "ENUM_UNSPECIFIED", 1: "ENUM_VALUE1", 2: "ENUM_VALUE2", } ExampleMap_Enum_value = map[string]int32{ "ENUM_UNSPECIFIED": 0, "ENUM_VALUE1": 1, "ENUM_VALUE2": 2, } )
Enum value maps for ExampleMap_Enum.
var File_einride_avro_example_v1_example_any_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_bytes_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_date_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_datetime_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_duration_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_enum_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_list_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_map_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_num_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_oneof_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_recursive_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_struct_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_timeofday_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_timestamp_proto protoreflect.FileDescriptor
var File_einride_avro_example_v1_example_wrappers_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExampleAny ¶
type ExampleAny struct { Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` // contains filtered or unexported fields }
func (*ExampleAny) Descriptor
deprecated
func (*ExampleAny) Descriptor() ([]byte, []int)
Deprecated: Use ExampleAny.ProtoReflect.Descriptor instead.
func (*ExampleAny) GetAny ¶
func (x *ExampleAny) GetAny() *anypb.Any
func (*ExampleAny) ProtoMessage ¶
func (*ExampleAny) ProtoMessage()
func (*ExampleAny) ProtoReflect ¶
func (x *ExampleAny) ProtoReflect() protoreflect.Message
func (*ExampleAny) Reset ¶
func (x *ExampleAny) Reset()
func (*ExampleAny) String ¶
func (x *ExampleAny) String() string
type ExampleBytes ¶
type ExampleBytes struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` // contains filtered or unexported fields }
func (*ExampleBytes) Descriptor
deprecated
func (*ExampleBytes) Descriptor() ([]byte, []int)
Deprecated: Use ExampleBytes.ProtoReflect.Descriptor instead.
func (*ExampleBytes) GetBytes ¶
func (x *ExampleBytes) GetBytes() []byte
func (*ExampleBytes) ProtoMessage ¶
func (*ExampleBytes) ProtoMessage()
func (*ExampleBytes) ProtoReflect ¶
func (x *ExampleBytes) ProtoReflect() protoreflect.Message
func (*ExampleBytes) Reset ¶
func (x *ExampleBytes) Reset()
func (*ExampleBytes) String ¶
func (x *ExampleBytes) String() string
type ExampleDate ¶
type ExampleDate struct { Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // contains filtered or unexported fields }
func (*ExampleDate) Descriptor
deprecated
func (*ExampleDate) Descriptor() ([]byte, []int)
Deprecated: Use ExampleDate.ProtoReflect.Descriptor instead.
func (*ExampleDate) GetDate ¶
func (x *ExampleDate) GetDate() *date.Date
func (*ExampleDate) ProtoMessage ¶
func (*ExampleDate) ProtoMessage()
func (*ExampleDate) ProtoReflect ¶
func (x *ExampleDate) ProtoReflect() protoreflect.Message
func (*ExampleDate) Reset ¶
func (x *ExampleDate) Reset()
func (*ExampleDate) String ¶
func (x *ExampleDate) String() string
type ExampleDateTime ¶
type ExampleDateTime struct { DateTime *datetime.DateTime `protobuf:"bytes,1,opt,name=date_time,json=dateTime,proto3" json:"date_time,omitempty"` // contains filtered or unexported fields }
func (*ExampleDateTime) Descriptor
deprecated
func (*ExampleDateTime) Descriptor() ([]byte, []int)
Deprecated: Use ExampleDateTime.ProtoReflect.Descriptor instead.
func (*ExampleDateTime) GetDateTime ¶
func (x *ExampleDateTime) GetDateTime() *datetime.DateTime
func (*ExampleDateTime) ProtoMessage ¶
func (*ExampleDateTime) ProtoMessage()
func (*ExampleDateTime) ProtoReflect ¶
func (x *ExampleDateTime) ProtoReflect() protoreflect.Message
func (*ExampleDateTime) Reset ¶
func (x *ExampleDateTime) Reset()
func (*ExampleDateTime) String ¶
func (x *ExampleDateTime) String() string
type ExampleDuration ¶
type ExampleDuration struct { Duration *durationpb.Duration `protobuf:"bytes,1,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*ExampleDuration) Descriptor
deprecated
func (*ExampleDuration) Descriptor() ([]byte, []int)
Deprecated: Use ExampleDuration.ProtoReflect.Descriptor instead.
func (*ExampleDuration) GetDuration ¶
func (x *ExampleDuration) GetDuration() *durationpb.Duration
func (*ExampleDuration) ProtoMessage ¶
func (*ExampleDuration) ProtoMessage()
func (*ExampleDuration) ProtoReflect ¶
func (x *ExampleDuration) ProtoReflect() protoreflect.Message
func (*ExampleDuration) Reset ¶
func (x *ExampleDuration) Reset()
func (*ExampleDuration) String ¶
func (x *ExampleDuration) String() string
type ExampleEnum ¶
type ExampleEnum struct { EnumValue ExampleEnum_Enum `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExampleEnum) Descriptor
deprecated
func (*ExampleEnum) Descriptor() ([]byte, []int)
Deprecated: Use ExampleEnum.ProtoReflect.Descriptor instead.
func (*ExampleEnum) GetEnumValue ¶
func (x *ExampleEnum) GetEnumValue() ExampleEnum_Enum
func (*ExampleEnum) ProtoMessage ¶
func (*ExampleEnum) ProtoMessage()
func (*ExampleEnum) ProtoReflect ¶
func (x *ExampleEnum) ProtoReflect() protoreflect.Message
func (*ExampleEnum) Reset ¶
func (x *ExampleEnum) Reset()
func (*ExampleEnum) String ¶
func (x *ExampleEnum) String() string
type ExampleEnum_Enum ¶
type ExampleEnum_Enum int32
const ( ExampleEnum_ENUM_UNSPECIFIED ExampleEnum_Enum = 0 ExampleEnum_ENUM_VALUE1 ExampleEnum_Enum = 1 ExampleEnum_ENUM_VALUE2 ExampleEnum_Enum = 2 ExampleEnum_ENUM_VALUE3 ExampleEnum_Enum = 4 )
func (ExampleEnum_Enum) Descriptor ¶
func (ExampleEnum_Enum) Descriptor() protoreflect.EnumDescriptor
func (ExampleEnum_Enum) Enum ¶
func (x ExampleEnum_Enum) Enum() *ExampleEnum_Enum
func (ExampleEnum_Enum) EnumDescriptor
deprecated
func (ExampleEnum_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExampleEnum_Enum.Descriptor instead.
func (ExampleEnum_Enum) Number ¶
func (x ExampleEnum_Enum) Number() protoreflect.EnumNumber
func (ExampleEnum_Enum) String ¶
func (x ExampleEnum_Enum) String() string
func (ExampleEnum_Enum) Type ¶
func (ExampleEnum_Enum) Type() protoreflect.EnumType
type ExampleList ¶
type ExampleList struct { Int64List []int64 `protobuf:"varint,1,rep,packed,name=int64_list,json=int64List,proto3" json:"int64_list,omitempty"` StringList []string `protobuf:"bytes,2,rep,name=string_list,json=stringList,proto3" json:"string_list,omitempty"` EnumList []ExampleList_Enum `` /* 139-byte string literal not displayed */ NestedList []*ExampleList_Nested `protobuf:"bytes,4,rep,name=nested_list,json=nestedList,proto3" json:"nested_list,omitempty"` FloatValueList []*wrapperspb.FloatValue `protobuf:"bytes,5,rep,name=float_value_list,json=floatValueList,proto3" json:"float_value_list,omitempty"` // contains filtered or unexported fields }
func (*ExampleList) Descriptor
deprecated
func (*ExampleList) Descriptor() ([]byte, []int)
Deprecated: Use ExampleList.ProtoReflect.Descriptor instead.
func (*ExampleList) GetEnumList ¶
func (x *ExampleList) GetEnumList() []ExampleList_Enum
func (*ExampleList) GetFloatValueList ¶
func (x *ExampleList) GetFloatValueList() []*wrapperspb.FloatValue
func (*ExampleList) GetInt64List ¶
func (x *ExampleList) GetInt64List() []int64
func (*ExampleList) GetNestedList ¶
func (x *ExampleList) GetNestedList() []*ExampleList_Nested
func (*ExampleList) GetStringList ¶
func (x *ExampleList) GetStringList() []string
func (*ExampleList) ProtoMessage ¶
func (*ExampleList) ProtoMessage()
func (*ExampleList) ProtoReflect ¶
func (x *ExampleList) ProtoReflect() protoreflect.Message
func (*ExampleList) Reset ¶
func (x *ExampleList) Reset()
func (*ExampleList) String ¶
func (x *ExampleList) String() string
type ExampleList_Enum ¶
type ExampleList_Enum int32
const ( ExampleList_ENUM_UNSPECIFIED ExampleList_Enum = 0 ExampleList_ENUM_VALUE1 ExampleList_Enum = 1 ExampleList_ENUM_VALUE2 ExampleList_Enum = 2 )
func (ExampleList_Enum) Descriptor ¶
func (ExampleList_Enum) Descriptor() protoreflect.EnumDescriptor
func (ExampleList_Enum) Enum ¶
func (x ExampleList_Enum) Enum() *ExampleList_Enum
func (ExampleList_Enum) EnumDescriptor
deprecated
func (ExampleList_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExampleList_Enum.Descriptor instead.
func (ExampleList_Enum) Number ¶
func (x ExampleList_Enum) Number() protoreflect.EnumNumber
func (ExampleList_Enum) String ¶
func (x ExampleList_Enum) String() string
func (ExampleList_Enum) Type ¶
func (ExampleList_Enum) Type() protoreflect.EnumType
type ExampleList_Nested ¶
type ExampleList_Nested struct { StringList []string `protobuf:"bytes,1,rep,name=string_list,json=stringList,proto3" json:"string_list,omitempty"` // contains filtered or unexported fields }
func (*ExampleList_Nested) Descriptor
deprecated
func (*ExampleList_Nested) Descriptor() ([]byte, []int)
Deprecated: Use ExampleList_Nested.ProtoReflect.Descriptor instead.
func (*ExampleList_Nested) GetStringList ¶
func (x *ExampleList_Nested) GetStringList() []string
func (*ExampleList_Nested) ProtoMessage ¶
func (*ExampleList_Nested) ProtoMessage()
func (*ExampleList_Nested) ProtoReflect ¶
func (x *ExampleList_Nested) ProtoReflect() protoreflect.Message
func (*ExampleList_Nested) Reset ¶
func (x *ExampleList_Nested) Reset()
func (*ExampleList_Nested) String ¶
func (x *ExampleList_Nested) String() string
type ExampleMap ¶
type ExampleMap struct { StringToString map[string]string `` /* 193-byte string literal not displayed */ StringToNested map[string]*ExampleMap_Nested `` /* 193-byte string literal not displayed */ StringToEnum map[string]ExampleMap_Enum `` /* 233-byte string literal not displayed */ Int32ToString map[int32]string `` /* 191-byte string literal not displayed */ Int64ToString map[int64]string `` /* 191-byte string literal not displayed */ Uint32ToString map[uint32]string `` /* 194-byte string literal not displayed */ BoolToString map[bool]string `` /* 188-byte string literal not displayed */ StringToFloatValue map[string]*wrapperspb.FloatValue `` /* 207-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExampleMap) Descriptor
deprecated
func (*ExampleMap) Descriptor() ([]byte, []int)
Deprecated: Use ExampleMap.ProtoReflect.Descriptor instead.
func (*ExampleMap) GetBoolToString ¶
func (x *ExampleMap) GetBoolToString() map[bool]string
func (*ExampleMap) GetInt32ToString ¶
func (x *ExampleMap) GetInt32ToString() map[int32]string
func (*ExampleMap) GetInt64ToString ¶
func (x *ExampleMap) GetInt64ToString() map[int64]string
func (*ExampleMap) GetStringToEnum ¶
func (x *ExampleMap) GetStringToEnum() map[string]ExampleMap_Enum
func (*ExampleMap) GetStringToFloatValue ¶
func (x *ExampleMap) GetStringToFloatValue() map[string]*wrapperspb.FloatValue
func (*ExampleMap) GetStringToNested ¶
func (x *ExampleMap) GetStringToNested() map[string]*ExampleMap_Nested
func (*ExampleMap) GetStringToString ¶
func (x *ExampleMap) GetStringToString() map[string]string
func (*ExampleMap) GetUint32ToString ¶
func (x *ExampleMap) GetUint32ToString() map[uint32]string
func (*ExampleMap) ProtoMessage ¶
func (*ExampleMap) ProtoMessage()
func (*ExampleMap) ProtoReflect ¶
func (x *ExampleMap) ProtoReflect() protoreflect.Message
func (*ExampleMap) Reset ¶
func (x *ExampleMap) Reset()
func (*ExampleMap) String ¶
func (x *ExampleMap) String() string
type ExampleMap_Enum ¶
type ExampleMap_Enum int32
const ( ExampleMap_ENUM_UNSPECIFIED ExampleMap_Enum = 0 ExampleMap_ENUM_VALUE1 ExampleMap_Enum = 1 ExampleMap_ENUM_VALUE2 ExampleMap_Enum = 2 )
func (ExampleMap_Enum) Descriptor ¶
func (ExampleMap_Enum) Descriptor() protoreflect.EnumDescriptor
func (ExampleMap_Enum) Enum ¶
func (x ExampleMap_Enum) Enum() *ExampleMap_Enum
func (ExampleMap_Enum) EnumDescriptor
deprecated
func (ExampleMap_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExampleMap_Enum.Descriptor instead.
func (ExampleMap_Enum) Number ¶
func (x ExampleMap_Enum) Number() protoreflect.EnumNumber
func (ExampleMap_Enum) String ¶
func (x ExampleMap_Enum) String() string
func (ExampleMap_Enum) Type ¶
func (ExampleMap_Enum) Type() protoreflect.EnumType
type ExampleMap_Nested ¶
type ExampleMap_Nested struct { StringToString map[string]string `` /* 193-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ExampleMap_Nested) Descriptor
deprecated
func (*ExampleMap_Nested) Descriptor() ([]byte, []int)
Deprecated: Use ExampleMap_Nested.ProtoReflect.Descriptor instead.
func (*ExampleMap_Nested) GetStringToString ¶
func (x *ExampleMap_Nested) GetStringToString() map[string]string
func (*ExampleMap_Nested) ProtoMessage ¶
func (*ExampleMap_Nested) ProtoMessage()
func (*ExampleMap_Nested) ProtoReflect ¶
func (x *ExampleMap_Nested) ProtoReflect() protoreflect.Message
func (*ExampleMap_Nested) Reset ¶
func (x *ExampleMap_Nested) Reset()
func (*ExampleMap_Nested) String ¶
func (x *ExampleMap_Nested) String() string
type ExampleNumbers ¶ added in v0.8.0
type ExampleNumbers struct { Valint32 int32 `protobuf:"varint,1,opt,name=valint32,proto3" json:"valint32,omitempty"` Valint64 int64 `protobuf:"varint,2,opt,name=valint64,proto3" json:"valint64,omitempty"` Valfloat float32 `protobuf:"fixed32,3,opt,name=valfloat,proto3" json:"valfloat,omitempty"` Valdouble float64 `protobuf:"fixed64,4,opt,name=valdouble,proto3" json:"valdouble,omitempty"` Valuint32 uint32 `protobuf:"varint,5,opt,name=valuint32,proto3" json:"valuint32,omitempty"` Valuint64 uint64 `protobuf:"varint,6,opt,name=valuint64,proto3" json:"valuint64,omitempty"` Valsint32 int32 `protobuf:"zigzag32,7,opt,name=valsint32,proto3" json:"valsint32,omitempty"` Valsint64 int64 `protobuf:"zigzag64,8,opt,name=valsint64,proto3" json:"valsint64,omitempty"` // contains filtered or unexported fields }
func (*ExampleNumbers) Descriptor
deprecated
added in
v0.8.0
func (*ExampleNumbers) Descriptor() ([]byte, []int)
Deprecated: Use ExampleNumbers.ProtoReflect.Descriptor instead.
func (*ExampleNumbers) GetValdouble ¶ added in v0.8.0
func (x *ExampleNumbers) GetValdouble() float64
func (*ExampleNumbers) GetValfloat ¶ added in v0.8.0
func (x *ExampleNumbers) GetValfloat() float32
func (*ExampleNumbers) GetValint32 ¶ added in v0.8.0
func (x *ExampleNumbers) GetValint32() int32
func (*ExampleNumbers) GetValint64 ¶ added in v0.8.0
func (x *ExampleNumbers) GetValint64() int64
func (*ExampleNumbers) GetValsint32 ¶ added in v0.8.0
func (x *ExampleNumbers) GetValsint32() int32
func (*ExampleNumbers) GetValsint64 ¶ added in v0.8.0
func (x *ExampleNumbers) GetValsint64() int64
func (*ExampleNumbers) GetValuint32 ¶ added in v0.8.0
func (x *ExampleNumbers) GetValuint32() uint32
func (*ExampleNumbers) GetValuint64 ¶ added in v0.8.0
func (x *ExampleNumbers) GetValuint64() uint64
func (*ExampleNumbers) ProtoMessage ¶ added in v0.8.0
func (*ExampleNumbers) ProtoMessage()
func (*ExampleNumbers) ProtoReflect ¶ added in v0.8.0
func (x *ExampleNumbers) ProtoReflect() protoreflect.Message
func (*ExampleNumbers) Reset ¶ added in v0.8.0
func (x *ExampleNumbers) Reset()
func (*ExampleNumbers) String ¶ added in v0.8.0
func (x *ExampleNumbers) String() string
type ExampleOneof ¶
type ExampleOneof struct { // Types that are assignable to OneofFields_1: // // *ExampleOneof_OneofEmptyMessage_1 // *ExampleOneof_OneofBool_1 OneofFields_1 isExampleOneof_OneofFields_1 `protobuf_oneof:"oneof_fields_1"` // Types that are assignable to OneofFields_2: // // *ExampleOneof_OneofEmptyMessage_2 // *ExampleOneof_OneofMessage OneofFields_2 isExampleOneof_OneofFields_2 `protobuf_oneof:"oneof_fields_2"` // contains filtered or unexported fields }
func (*ExampleOneof) Descriptor
deprecated
func (*ExampleOneof) Descriptor() ([]byte, []int)
Deprecated: Use ExampleOneof.ProtoReflect.Descriptor instead.
func (*ExampleOneof) GetOneofBool_1 ¶
func (x *ExampleOneof) GetOneofBool_1() bool
func (*ExampleOneof) GetOneofEmptyMessage_1 ¶
func (x *ExampleOneof) GetOneofEmptyMessage_1() *ExampleOneof_EmptyMessage
func (*ExampleOneof) GetOneofEmptyMessage_2 ¶
func (x *ExampleOneof) GetOneofEmptyMessage_2() *ExampleOneof_EmptyMessage
func (*ExampleOneof) GetOneofFields_1 ¶
func (m *ExampleOneof) GetOneofFields_1() isExampleOneof_OneofFields_1
func (*ExampleOneof) GetOneofFields_2 ¶
func (m *ExampleOneof) GetOneofFields_2() isExampleOneof_OneofFields_2
func (*ExampleOneof) GetOneofMessage ¶
func (x *ExampleOneof) GetOneofMessage() *ExampleOneof_Message
func (*ExampleOneof) ProtoMessage ¶
func (*ExampleOneof) ProtoMessage()
func (*ExampleOneof) ProtoReflect ¶
func (x *ExampleOneof) ProtoReflect() protoreflect.Message
func (*ExampleOneof) Reset ¶
func (x *ExampleOneof) Reset()
func (*ExampleOneof) String ¶
func (x *ExampleOneof) String() string
type ExampleOneof_EmptyMessage ¶
type ExampleOneof_EmptyMessage struct {
// contains filtered or unexported fields
}
func (*ExampleOneof_EmptyMessage) Descriptor
deprecated
func (*ExampleOneof_EmptyMessage) Descriptor() ([]byte, []int)
Deprecated: Use ExampleOneof_EmptyMessage.ProtoReflect.Descriptor instead.
func (*ExampleOneof_EmptyMessage) ProtoMessage ¶
func (*ExampleOneof_EmptyMessage) ProtoMessage()
func (*ExampleOneof_EmptyMessage) ProtoReflect ¶
func (x *ExampleOneof_EmptyMessage) ProtoReflect() protoreflect.Message
func (*ExampleOneof_EmptyMessage) Reset ¶
func (x *ExampleOneof_EmptyMessage) Reset()
func (*ExampleOneof_EmptyMessage) String ¶
func (x *ExampleOneof_EmptyMessage) String() string
type ExampleOneof_Message ¶
type ExampleOneof_Message struct { StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` // contains filtered or unexported fields }
func (*ExampleOneof_Message) Descriptor
deprecated
func (*ExampleOneof_Message) Descriptor() ([]byte, []int)
Deprecated: Use ExampleOneof_Message.ProtoReflect.Descriptor instead.
func (*ExampleOneof_Message) GetStringValue ¶
func (x *ExampleOneof_Message) GetStringValue() string
func (*ExampleOneof_Message) ProtoMessage ¶
func (*ExampleOneof_Message) ProtoMessage()
func (*ExampleOneof_Message) ProtoReflect ¶
func (x *ExampleOneof_Message) ProtoReflect() protoreflect.Message
func (*ExampleOneof_Message) Reset ¶
func (x *ExampleOneof_Message) Reset()
func (*ExampleOneof_Message) String ¶
func (x *ExampleOneof_Message) String() string
type ExampleOneof_OneofBool_1 ¶
type ExampleOneof_OneofBool_1 struct {
OneofBool_1 bool `protobuf:"varint,2,opt,name=oneof_bool_1,json=oneofBool1,proto3,oneof"`
}
type ExampleOneof_OneofEmptyMessage_1 ¶
type ExampleOneof_OneofEmptyMessage_1 struct {
OneofEmptyMessage_1 *ExampleOneof_EmptyMessage `protobuf:"bytes,1,opt,name=oneof_empty_message_1,json=oneofEmptyMessage1,proto3,oneof"`
}
type ExampleOneof_OneofEmptyMessage_2 ¶
type ExampleOneof_OneofEmptyMessage_2 struct {
OneofEmptyMessage_2 *ExampleOneof_EmptyMessage `protobuf:"bytes,3,opt,name=oneof_empty_message_2,json=oneofEmptyMessage2,proto3,oneof"`
}
type ExampleOneof_OneofMessage ¶
type ExampleOneof_OneofMessage struct {
OneofMessage *ExampleOneof_Message `protobuf:"bytes,4,opt,name=oneof_message,json=oneofMessage,proto3,oneof"`
}
type ExampleRecursive ¶
type ExampleRecursive struct { Recursive *ExampleRecursive `protobuf:"bytes,1,opt,name=recursive,proto3" json:"recursive,omitempty"` // contains filtered or unexported fields }
func (*ExampleRecursive) Descriptor
deprecated
func (*ExampleRecursive) Descriptor() ([]byte, []int)
Deprecated: Use ExampleRecursive.ProtoReflect.Descriptor instead.
func (*ExampleRecursive) GetRecursive ¶
func (x *ExampleRecursive) GetRecursive() *ExampleRecursive
func (*ExampleRecursive) ProtoMessage ¶
func (*ExampleRecursive) ProtoMessage()
func (*ExampleRecursive) ProtoReflect ¶
func (x *ExampleRecursive) ProtoReflect() protoreflect.Message
func (*ExampleRecursive) Reset ¶
func (x *ExampleRecursive) Reset()
func (*ExampleRecursive) String ¶
func (x *ExampleRecursive) String() string
type ExampleStruct ¶
type ExampleStruct struct { Struct *structpb.Struct `protobuf:"bytes,1,opt,name=struct,proto3" json:"struct,omitempty"` // contains filtered or unexported fields }
func (*ExampleStruct) Descriptor
deprecated
func (*ExampleStruct) Descriptor() ([]byte, []int)
Deprecated: Use ExampleStruct.ProtoReflect.Descriptor instead.
func (*ExampleStruct) GetStruct ¶
func (x *ExampleStruct) GetStruct() *structpb.Struct
func (*ExampleStruct) ProtoMessage ¶
func (*ExampleStruct) ProtoMessage()
func (*ExampleStruct) ProtoReflect ¶
func (x *ExampleStruct) ProtoReflect() protoreflect.Message
func (*ExampleStruct) Reset ¶
func (x *ExampleStruct) Reset()
func (*ExampleStruct) String ¶
func (x *ExampleStruct) String() string
type ExampleTimeOfDay ¶
type ExampleTimeOfDay struct { TimeOfDay *timeofday.TimeOfDay `protobuf:"bytes,1,opt,name=time_of_day,json=timeOfDay,proto3" json:"time_of_day,omitempty"` // contains filtered or unexported fields }
func (*ExampleTimeOfDay) Descriptor
deprecated
func (*ExampleTimeOfDay) Descriptor() ([]byte, []int)
Deprecated: Use ExampleTimeOfDay.ProtoReflect.Descriptor instead.
func (*ExampleTimeOfDay) GetTimeOfDay ¶
func (x *ExampleTimeOfDay) GetTimeOfDay() *timeofday.TimeOfDay
func (*ExampleTimeOfDay) ProtoMessage ¶
func (*ExampleTimeOfDay) ProtoMessage()
func (*ExampleTimeOfDay) ProtoReflect ¶
func (x *ExampleTimeOfDay) ProtoReflect() protoreflect.Message
func (*ExampleTimeOfDay) Reset ¶
func (x *ExampleTimeOfDay) Reset()
func (*ExampleTimeOfDay) String ¶
func (x *ExampleTimeOfDay) String() string
type ExampleTimestamp ¶
type ExampleTimestamp struct { Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*ExampleTimestamp) Descriptor
deprecated
func (*ExampleTimestamp) Descriptor() ([]byte, []int)
Deprecated: Use ExampleTimestamp.ProtoReflect.Descriptor instead.
func (*ExampleTimestamp) GetTimestamp ¶
func (x *ExampleTimestamp) GetTimestamp() *timestamppb.Timestamp
func (*ExampleTimestamp) ProtoMessage ¶
func (*ExampleTimestamp) ProtoMessage()
func (*ExampleTimestamp) ProtoReflect ¶
func (x *ExampleTimestamp) ProtoReflect() protoreflect.Message
func (*ExampleTimestamp) Reset ¶
func (x *ExampleTimestamp) Reset()
func (*ExampleTimestamp) String ¶
func (x *ExampleTimestamp) String() string
type ExampleWrappers ¶
type ExampleWrappers struct { FloatValue *wrapperspb.FloatValue `protobuf:"bytes,1,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` DoubleValue *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` StringValue *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` BytesValue *wrapperspb.BytesValue `protobuf:"bytes,4,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` Int32Value *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Int64Value *wrapperspb.Int64Value `protobuf:"bytes,6,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` Uint32Value *wrapperspb.UInt32Value `protobuf:"bytes,7,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` Uint64Value *wrapperspb.UInt64Value `protobuf:"bytes,8,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` BoolValue *wrapperspb.BoolValue `protobuf:"bytes,9,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` // contains filtered or unexported fields }
func (*ExampleWrappers) Descriptor
deprecated
func (*ExampleWrappers) Descriptor() ([]byte, []int)
Deprecated: Use ExampleWrappers.ProtoReflect.Descriptor instead.
func (*ExampleWrappers) GetBoolValue ¶
func (x *ExampleWrappers) GetBoolValue() *wrapperspb.BoolValue
func (*ExampleWrappers) GetBytesValue ¶
func (x *ExampleWrappers) GetBytesValue() *wrapperspb.BytesValue
func (*ExampleWrappers) GetDoubleValue ¶
func (x *ExampleWrappers) GetDoubleValue() *wrapperspb.DoubleValue
func (*ExampleWrappers) GetFloatValue ¶
func (x *ExampleWrappers) GetFloatValue() *wrapperspb.FloatValue
func (*ExampleWrappers) GetInt32Value ¶
func (x *ExampleWrappers) GetInt32Value() *wrapperspb.Int32Value
func (*ExampleWrappers) GetInt64Value ¶
func (x *ExampleWrappers) GetInt64Value() *wrapperspb.Int64Value
func (*ExampleWrappers) GetStringValue ¶
func (x *ExampleWrappers) GetStringValue() *wrapperspb.StringValue
func (*ExampleWrappers) GetUint32Value ¶
func (x *ExampleWrappers) GetUint32Value() *wrapperspb.UInt32Value
func (*ExampleWrappers) GetUint64Value ¶
func (x *ExampleWrappers) GetUint64Value() *wrapperspb.UInt64Value
func (*ExampleWrappers) ProtoMessage ¶
func (*ExampleWrappers) ProtoMessage()
func (*ExampleWrappers) ProtoReflect ¶
func (x *ExampleWrappers) ProtoReflect() protoreflect.Message
func (*ExampleWrappers) Reset ¶
func (x *ExampleWrappers) Reset()
func (*ExampleWrappers) String ¶
func (x *ExampleWrappers) String() string
Source Files ¶
- example_any.pb.go
- example_bytes.pb.go
- example_date.pb.go
- example_datetime.pb.go
- example_duration.pb.go
- example_enum.pb.go
- example_list.pb.go
- example_map.pb.go
- example_num.pb.go
- example_oneof.pb.go
- example_recursive.pb.go
- example_struct.pb.go
- example_timeofday.pb.go
- example_timestamp.pb.go
- example_wrappers.pb.go