Documentation
¶
Index ¶
- Variables
- type ABitOfEverything
- func (*ABitOfEverything) Descriptor() ([]byte, []int)deprecated
- func (x *ABitOfEverything) GetAnytype() *anypb.Any
- func (x *ABitOfEverything) GetBoolValue() bool
- func (x *ABitOfEverything) GetBytesValue() []byte
- func (x *ABitOfEverything) GetDoubleValue() float64
- func (x *ABitOfEverything) GetEnumValue() NumericEnum
- func (x *ABitOfEverything) GetEnumValueAnnotation() NumericEnum
- func (x *ABitOfEverything) GetFixed32Value() uint32
- func (x *ABitOfEverything) GetFixed64Value() uint64
- func (x *ABitOfEverything) GetFloatValue() float32
- func (x *ABitOfEverything) GetInt32Value() int32
- func (x *ABitOfEverything) GetInt64OverrideType() int64
- func (x *ABitOfEverything) GetInt64Value() int64
- func (x *ABitOfEverything) GetMapValue() map[string]NumericEnum
- func (x *ABitOfEverything) GetMappedNestedValue() map[string]*ABitOfEverything_Nested
- func (x *ABitOfEverything) GetMappedStringValue() map[string]string
- func (x *ABitOfEverything) GetNested() []*ABitOfEverything_Nested
- func (x *ABitOfEverything) GetNestedAnnotation() *ABitOfEverything_Nested
- func (x *ABitOfEverything) GetNonConventionalNameValue() string
- func (x *ABitOfEverything) GetOneofEmpty() *emptypb.Empty
- func (x *ABitOfEverything) GetOneofString() string
- func (m *ABitOfEverything) GetOneofValue() isABitOfEverything_OneofValue
- func (x *ABitOfEverything) GetRepeatedAnytype() []*anypb.Any
- func (x *ABitOfEverything) GetRepeatedEnumAnnotation() []NumericEnum
- func (x *ABitOfEverything) GetRepeatedEnumValue() []NumericEnum
- func (x *ABitOfEverything) GetRepeatedNestedAnnotation() []*ABitOfEverything_Nested
- func (x *ABitOfEverything) GetRepeatedStringAnnotation() []string
- func (x *ABitOfEverything) GetRepeatedStringValue() []string
- func (x *ABitOfEverything) GetSfixed32Value() int32
- func (x *ABitOfEverything) GetSfixed64Value() int64
- func (x *ABitOfEverything) GetSingleNested() *ABitOfEverything_Nested
- func (x *ABitOfEverything) GetSint32Value() int32
- func (x *ABitOfEverything) GetSint64Value() int64
- func (x *ABitOfEverything) GetStringValue() string
- func (x *ABitOfEverything) GetTimestampValue() *timestamppb.Timestamp
- func (x *ABitOfEverything) GetUint32Value() uint32
- func (x *ABitOfEverything) GetUint64Value() uint64
- func (x *ABitOfEverything) GetUuid() string
- func (*ABitOfEverything) ProtoMessage()
- func (x *ABitOfEverything) ProtoReflect() protoreflect.Message
- func (x *ABitOfEverything) Reset()
- func (x *ABitOfEverything) String() string
- type ABitOfEverything_Nested
- func (*ABitOfEverything_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *ABitOfEverything_Nested) GetAmount() uint32
- func (x *ABitOfEverything_Nested) GetName() string
- func (x *ABitOfEverything_Nested) GetOk() ABitOfEverything_Nested_DeepEnum
- func (*ABitOfEverything_Nested) ProtoMessage()
- func (x *ABitOfEverything_Nested) ProtoReflect() protoreflect.Message
- func (x *ABitOfEverything_Nested) Reset()
- func (x *ABitOfEverything_Nested) String() string
- type ABitOfEverything_Nested_DeepEnum
- func (ABitOfEverything_Nested_DeepEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ABitOfEverything_Nested_DeepEnum) Enum() *ABitOfEverything_Nested_DeepEnum
- func (ABitOfEverything_Nested_DeepEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ABitOfEverything_Nested_DeepEnum) Number() protoreflect.EnumNumber
- func (x ABitOfEverything_Nested_DeepEnum) String() string
- func (ABitOfEverything_Nested_DeepEnum) Type() protoreflect.EnumType
- type ABitOfEverything_OneofEmpty
- type ABitOfEverything_OneofString
- type Complex
- func (*Complex) Descriptor() ([]byte, []int)deprecated
- func (x *Complex) GetA() uint32
- func (x *Complex) GetAge() int32
- func (x *Complex) GetB() bool
- func (x *Complex) GetBool() *wrapperspb.BoolValue
- func (x *Complex) GetByte() []byte
- func (x *Complex) GetBytes() *wrapperspb.BytesValue
- func (x *Complex) GetCount() uint64
- func (x *Complex) GetD() float64
- func (x *Complex) GetDouble() *wrapperspb.DoubleValue
- func (x *Complex) GetDuration() *durationpb.Duration
- func (x *Complex) GetField() *fieldmaskpb.FieldMask
- func (x *Complex) GetFloat() *wrapperspb.FloatValue
- func (x *Complex) GetId() int64
- func (x *Complex) GetInt32() *wrapperspb.Int32Value
- func (x *Complex) GetInt64() *wrapperspb.Int64Value
- func (x *Complex) GetMap() map[string]string
- func (x *Complex) GetNoOne() string
- func (x *Complex) GetPrice() float32
- func (x *Complex) GetSex() Sex
- func (x *Complex) GetSimple() *Simple
- func (x *Complex) GetSimples() []string
- func (x *Complex) GetString_() *wrapperspb.StringValue
- func (x *Complex) GetTimestamp() *timestamppb.Timestamp
- func (x *Complex) GetUint32() *wrapperspb.UInt32Value
- func (x *Complex) GetUint64() *wrapperspb.UInt64Value
- func (*Complex) ProtoMessage()
- func (x *Complex) ProtoReflect() protoreflect.Message
- func (x *Complex) Reset()
- func (x *Complex) String() string
- type HelloRequest
- func (*HelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelloRequest) GetName() string
- func (x *HelloRequest) GetSub() *Sub
- func (*HelloRequest) ProtoMessage()
- func (x *HelloRequest) ProtoReflect() protoreflect.Message
- func (x *HelloRequest) Reset()
- func (x *HelloRequest) String() string
- type NestedOne
- type NestedOuter
- type NestedThree
- type NestedTwo
- type NumericEnum
- func (NumericEnum) Descriptor() protoreflect.EnumDescriptor
- func (x NumericEnum) Enum() *NumericEnum
- func (NumericEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x NumericEnum) Number() protoreflect.EnumNumber
- func (x NumericEnum) String() string
- func (NumericEnum) Type() protoreflect.EnumType
- type RepeatedResponseBodyOut
- func (*RepeatedResponseBodyOut) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedResponseBodyOut) GetResponse() []*RepeatedResponseBodyOut_Response
- func (*RepeatedResponseBodyOut) ProtoMessage()
- func (x *RepeatedResponseBodyOut) ProtoReflect() protoreflect.Message
- func (x *RepeatedResponseBodyOut) Reset()
- func (x *RepeatedResponseBodyOut) String() string
- type RepeatedResponseBodyOut_Response
- func (*RepeatedResponseBodyOut_Response) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedResponseBodyOut_Response) GetData() string
- func (x *RepeatedResponseBodyOut_Response) GetType() RepeatedResponseBodyOut_Response_ResponseType
- func (*RepeatedResponseBodyOut_Response) ProtoMessage()
- func (x *RepeatedResponseBodyOut_Response) ProtoReflect() protoreflect.Message
- func (x *RepeatedResponseBodyOut_Response) Reset()
- func (x *RepeatedResponseBodyOut_Response) String() string
- type RepeatedResponseBodyOut_Response_ResponseType
- func (RepeatedResponseBodyOut_Response_ResponseType) Descriptor() protoreflect.EnumDescriptor
- func (x RepeatedResponseBodyOut_Response_ResponseType) Enum() *RepeatedResponseBodyOut_Response_ResponseType
- func (RepeatedResponseBodyOut_Response_ResponseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RepeatedResponseBodyOut_Response_ResponseType) Number() protoreflect.EnumNumber
- func (x RepeatedResponseBodyOut_Response_ResponseType) String() string
- func (RepeatedResponseBodyOut_Response_ResponseType) Type() protoreflect.EnumType
- type ResponseBodyOut
- func (*ResponseBodyOut) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response
- func (*ResponseBodyOut) ProtoMessage()
- func (x *ResponseBodyOut) ProtoReflect() protoreflect.Message
- func (x *ResponseBodyOut) Reset()
- func (x *ResponseBodyOut) String() string
- type ResponseBodyOut_Response
- func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseBodyOut_Response) GetData() string
- func (*ResponseBodyOut_Response) ProtoMessage()
- func (x *ResponseBodyOut_Response) ProtoReflect() protoreflect.Message
- func (x *ResponseBodyOut_Response) Reset()
- func (x *ResponseBodyOut_Response) String() string
- type Sex
- type Simple
- type SimpleMessage
- type Sub
- type TestModel
- func (*TestModel) Descriptor() ([]byte, []int)deprecated
- func (x *TestModel) GetHobby() []string
- func (x *TestModel) GetId() int64
- func (x *TestModel) GetName() string
- func (x *TestModel) GetSnakeCase() map[string]string
- func (*TestModel) ProtoMessage()
- func (x *TestModel) ProtoReflect() protoreflect.Message
- func (x *TestModel) Reset()
- func (x *TestModel) String() string
- type UpdateMessage
- func (*UpdateMessage) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMessage) GetABitOfEverything() *ABitOfEverything
- func (x *UpdateMessage) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateMessage) ProtoMessage()
- func (x *UpdateMessage) ProtoReflect() protoreflect.Message
- func (x *UpdateMessage) Reset()
- func (x *UpdateMessage) String() string
- type UpdateNestedRequest
- func (*UpdateNestedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNestedRequest) GetNested() *NestedOuter
- func (x *UpdateNestedRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateNestedRequest) ProtoMessage()
- func (x *UpdateNestedRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNestedRequest) Reset()
- func (x *UpdateNestedRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Sex_name = map[int32]string{ 0: "man", 1: "woman", } Sex_value = map[string]int32{ "man": 0, "woman": 1, } )
Enum value maps for Sex.
var ( NumericEnum_name = map[int32]string{ 0: "ZERO", 1: "ONE", } NumericEnum_value = map[string]int32{ "ZERO": 0, "ONE": 1, } )
Enum value maps for NumericEnum.
var ( ABitOfEverything_Nested_DeepEnum_name = map[int32]string{ 0: "FALSE", 1: "TRUE", } ABitOfEverything_Nested_DeepEnum_value = map[string]int32{ "FALSE": 0, "TRUE": 1, } )
Enum value maps for ABitOfEverything_Nested_DeepEnum.
var ( RepeatedResponseBodyOut_Response_ResponseType_name = map[int32]string{ 0: "UNKNOWN", 1: "A", 2: "B", } RepeatedResponseBodyOut_Response_ResponseType_value = map[string]int32{ "UNKNOWN": 0, "A": 1, "B": 2, } )
Enum value maps for RepeatedResponseBodyOut_Response_ResponseType.
var File_examplepb_encoding_proto protoreflect.FileDescriptor
var File_examplepb_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ABitOfEverything ¶
type ABitOfEverything struct {
SingleNested *ABitOfEverything_Nested `protobuf:"bytes,25,opt,name=single_nested,json=singleNested,proto3" json:"single_nested,omitempty"`
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
Nested []*ABitOfEverything_Nested `protobuf:"bytes,2,rep,name=nested,proto3" json:"nested,omitempty"`
FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"`
DoubleValue float64 `protobuf:"fixed64,4,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"`
Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"`
Uint64Value uint64 `protobuf:"varint,6,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"`
Int32Value int32 `protobuf:"varint,7,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"`
Fixed64Value uint64 `protobuf:"fixed64,8,opt,name=fixed64_value,json=fixed64Value,proto3" json:"fixed64_value,omitempty"`
Fixed32Value uint32 `protobuf:"fixed32,9,opt,name=fixed32_value,json=fixed32Value,proto3" json:"fixed32_value,omitempty"`
BoolValue bool `protobuf:"varint,10,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"`
StringValue string `protobuf:"bytes,11,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
BytesValue []byte `protobuf:"bytes,29,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"`
Uint32Value uint32 `protobuf:"varint,13,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"`
EnumValue NumericEnum `` /* 139-byte string literal not displayed */
Sfixed32Value int32 `protobuf:"fixed32,15,opt,name=sfixed32_value,json=sfixed32Value,proto3" json:"sfixed32_value,omitempty"`
Sfixed64Value int64 `protobuf:"fixed64,16,opt,name=sfixed64_value,json=sfixed64Value,proto3" json:"sfixed64_value,omitempty"`
Sint32Value int32 `protobuf:"zigzag32,17,opt,name=sint32_value,json=sint32Value,proto3" json:"sint32_value,omitempty"`
Sint64Value int64 `protobuf:"zigzag64,18,opt,name=sint64_value,json=sint64Value,proto3" json:"sint64_value,omitempty"`
RepeatedStringValue []string `protobuf:"bytes,19,rep,name=repeated_string_value,json=repeatedStringValue,proto3" json:"repeated_string_value,omitempty"`
// Types that are assignable to OneofValue:
//
// *ABitOfEverything_OneofEmpty
// *ABitOfEverything_OneofString
OneofValue isABitOfEverything_OneofValue `protobuf_oneof:"oneof_value"`
MapValue map[string]NumericEnum `` /* 224-byte string literal not displayed */
MappedStringValue map[string]string `` /* 203-byte string literal not displayed */
MappedNestedValue map[string]*ABitOfEverything_Nested `` /* 203-byte string literal not displayed */
NonConventionalNameValue string `protobuf:"bytes,26,opt,name=nonConventionalNameValue,proto3" json:"nonConventionalNameValue,omitempty"`
TimestampValue *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=timestamp_value,json=timestampValue,proto3" json:"timestamp_value,omitempty"`
// repeated enum value. it is comma-separated in query
RepeatedEnumValue []NumericEnum `` /* 172-byte string literal not displayed */
// repeated numeric enum comment (This comment is overridden by the field
// annotation)
RepeatedEnumAnnotation []NumericEnum `` /* 187-byte string literal not displayed */
// numeric enum comment (This comment is overridden by the field annotation)
EnumValueAnnotation NumericEnum `` /* 171-byte string literal not displayed */
// repeated string comment (This comment is overridden by the field
// annotation)
RepeatedStringAnnotation []string `` /* 136-byte string literal not displayed */
// repeated nested object comment (This comment is overridden by the field
// annotation)
RepeatedNestedAnnotation []*ABitOfEverything_Nested `` /* 136-byte string literal not displayed */
// nested object comments (This comment is overridden by the field annotation)
NestedAnnotation *ABitOfEverything_Nested `protobuf:"bytes,36,opt,name=nested_annotation,json=nestedAnnotation,proto3" json:"nested_annotation,omitempty"`
Int64OverrideType int64 `protobuf:"varint,37,opt,name=int64_override_type,json=int64OverrideType,proto3" json:"int64_override_type,omitempty"`
Anytype *anypb.Any `protobuf:"bytes,38,opt,name=anytype,proto3" json:"anytype,omitempty"`
RepeatedAnytype []*anypb.Any `protobuf:"bytes,39,rep,name=repeated_anytype,json=repeatedAnytype,proto3" json:"repeated_anytype,omitempty"`
// contains filtered or unexported fields
}
func (*ABitOfEverything) Descriptor
deprecated
func (*ABitOfEverything) Descriptor() ([]byte, []int)
Deprecated: Use ABitOfEverything.ProtoReflect.Descriptor instead.
func (*ABitOfEverything) GetAnytype ¶
func (x *ABitOfEverything) GetAnytype() *anypb.Any
func (*ABitOfEverything) GetBoolValue ¶
func (x *ABitOfEverything) GetBoolValue() bool
func (*ABitOfEverything) GetBytesValue ¶
func (x *ABitOfEverything) GetBytesValue() []byte
func (*ABitOfEverything) GetDoubleValue ¶
func (x *ABitOfEverything) GetDoubleValue() float64
func (*ABitOfEverything) GetEnumValue ¶
func (x *ABitOfEverything) GetEnumValue() NumericEnum
func (*ABitOfEverything) GetEnumValueAnnotation ¶
func (x *ABitOfEverything) GetEnumValueAnnotation() NumericEnum
func (*ABitOfEverything) GetFixed32Value ¶
func (x *ABitOfEverything) GetFixed32Value() uint32
func (*ABitOfEverything) GetFixed64Value ¶
func (x *ABitOfEverything) GetFixed64Value() uint64
func (*ABitOfEverything) GetFloatValue ¶
func (x *ABitOfEverything) GetFloatValue() float32
func (*ABitOfEverything) GetInt32Value ¶
func (x *ABitOfEverything) GetInt32Value() int32
func (*ABitOfEverything) GetInt64OverrideType ¶
func (x *ABitOfEverything) GetInt64OverrideType() int64
func (*ABitOfEverything) GetInt64Value ¶
func (x *ABitOfEverything) GetInt64Value() int64
func (*ABitOfEverything) GetMapValue ¶
func (x *ABitOfEverything) GetMapValue() map[string]NumericEnum
func (*ABitOfEverything) GetMappedNestedValue ¶
func (x *ABitOfEverything) GetMappedNestedValue() map[string]*ABitOfEverything_Nested
func (*ABitOfEverything) GetMappedStringValue ¶
func (x *ABitOfEverything) GetMappedStringValue() map[string]string
func (*ABitOfEverything) GetNested ¶
func (x *ABitOfEverything) GetNested() []*ABitOfEverything_Nested
func (*ABitOfEverything) GetNestedAnnotation ¶
func (x *ABitOfEverything) GetNestedAnnotation() *ABitOfEverything_Nested
func (*ABitOfEverything) GetNonConventionalNameValue ¶
func (x *ABitOfEverything) GetNonConventionalNameValue() string
func (*ABitOfEverything) GetOneofEmpty ¶
func (x *ABitOfEverything) GetOneofEmpty() *emptypb.Empty
func (*ABitOfEverything) GetOneofString ¶
func (x *ABitOfEverything) GetOneofString() string
func (*ABitOfEverything) GetOneofValue ¶
func (m *ABitOfEverything) GetOneofValue() isABitOfEverything_OneofValue
func (*ABitOfEverything) GetRepeatedAnytype ¶
func (x *ABitOfEverything) GetRepeatedAnytype() []*anypb.Any
func (*ABitOfEverything) GetRepeatedEnumAnnotation ¶
func (x *ABitOfEverything) GetRepeatedEnumAnnotation() []NumericEnum
func (*ABitOfEverything) GetRepeatedEnumValue ¶
func (x *ABitOfEverything) GetRepeatedEnumValue() []NumericEnum
func (*ABitOfEverything) GetRepeatedNestedAnnotation ¶
func (x *ABitOfEverything) GetRepeatedNestedAnnotation() []*ABitOfEverything_Nested
func (*ABitOfEverything) GetRepeatedStringAnnotation ¶
func (x *ABitOfEverything) GetRepeatedStringAnnotation() []string
func (*ABitOfEverything) GetRepeatedStringValue ¶
func (x *ABitOfEverything) GetRepeatedStringValue() []string
func (*ABitOfEverything) GetSfixed32Value ¶
func (x *ABitOfEverything) GetSfixed32Value() int32
func (*ABitOfEverything) GetSfixed64Value ¶
func (x *ABitOfEverything) GetSfixed64Value() int64
func (*ABitOfEverything) GetSingleNested ¶
func (x *ABitOfEverything) GetSingleNested() *ABitOfEverything_Nested
func (*ABitOfEverything) GetSint32Value ¶
func (x *ABitOfEverything) GetSint32Value() int32
func (*ABitOfEverything) GetSint64Value ¶
func (x *ABitOfEverything) GetSint64Value() int64
func (*ABitOfEverything) GetStringValue ¶
func (x *ABitOfEverything) GetStringValue() string
func (*ABitOfEverything) GetTimestampValue ¶
func (x *ABitOfEverything) GetTimestampValue() *timestamppb.Timestamp
func (*ABitOfEverything) GetUint32Value ¶
func (x *ABitOfEverything) GetUint32Value() uint32
func (*ABitOfEverything) GetUint64Value ¶
func (x *ABitOfEverything) GetUint64Value() uint64
func (*ABitOfEverything) GetUuid ¶
func (x *ABitOfEverything) GetUuid() string
func (*ABitOfEverything) ProtoMessage ¶
func (*ABitOfEverything) ProtoMessage()
func (*ABitOfEverything) ProtoReflect ¶
func (x *ABitOfEverything) ProtoReflect() protoreflect.Message
func (*ABitOfEverything) Reset ¶
func (x *ABitOfEverything) Reset()
func (*ABitOfEverything) String ¶
func (x *ABitOfEverything) String() string
type ABitOfEverything_Nested ¶
type ABitOfEverything_Nested struct {
// name is nested field.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Amount uint32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
// DeepEnum comment.
Ok ABitOfEverything_Nested_DeepEnum `` /* 128-byte string literal not displayed */
// contains filtered or unexported fields
}
Nested is nested type.
func (*ABitOfEverything_Nested) Descriptor
deprecated
func (*ABitOfEverything_Nested) Descriptor() ([]byte, []int)
Deprecated: Use ABitOfEverything_Nested.ProtoReflect.Descriptor instead.
func (*ABitOfEverything_Nested) GetAmount ¶
func (x *ABitOfEverything_Nested) GetAmount() uint32
func (*ABitOfEverything_Nested) GetName ¶
func (x *ABitOfEverything_Nested) GetName() string
func (*ABitOfEverything_Nested) GetOk ¶
func (x *ABitOfEverything_Nested) GetOk() ABitOfEverything_Nested_DeepEnum
func (*ABitOfEverything_Nested) ProtoMessage ¶
func (*ABitOfEverything_Nested) ProtoMessage()
func (*ABitOfEverything_Nested) ProtoReflect ¶
func (x *ABitOfEverything_Nested) ProtoReflect() protoreflect.Message
func (*ABitOfEverything_Nested) Reset ¶
func (x *ABitOfEverything_Nested) Reset()
func (*ABitOfEverything_Nested) String ¶
func (x *ABitOfEverything_Nested) String() string
type ABitOfEverything_Nested_DeepEnum ¶
type ABitOfEverything_Nested_DeepEnum int32
DeepEnum is one or zero.
const ( // FALSE is false. ABitOfEverything_Nested_FALSE ABitOfEverything_Nested_DeepEnum = 0 // TRUE is true. ABitOfEverything_Nested_TRUE ABitOfEverything_Nested_DeepEnum = 1 )
func (ABitOfEverything_Nested_DeepEnum) Descriptor ¶
func (ABitOfEverything_Nested_DeepEnum) Descriptor() protoreflect.EnumDescriptor
func (ABitOfEverything_Nested_DeepEnum) Enum ¶
func (x ABitOfEverything_Nested_DeepEnum) Enum() *ABitOfEverything_Nested_DeepEnum
func (ABitOfEverything_Nested_DeepEnum) EnumDescriptor
deprecated
func (ABitOfEverything_Nested_DeepEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ABitOfEverything_Nested_DeepEnum.Descriptor instead.
func (ABitOfEverything_Nested_DeepEnum) Number ¶
func (x ABitOfEverything_Nested_DeepEnum) Number() protoreflect.EnumNumber
func (ABitOfEverything_Nested_DeepEnum) String ¶
func (x ABitOfEverything_Nested_DeepEnum) String() string
func (ABitOfEverything_Nested_DeepEnum) Type ¶
func (ABitOfEverything_Nested_DeepEnum) Type() protoreflect.EnumType
type ABitOfEverything_OneofString ¶
type ABitOfEverything_OneofString struct {
OneofString string `protobuf:"bytes,21,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}
type Complex ¶
type Complex struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
NoOne string `protobuf:"bytes,2,opt,name=no_one,json=numberOne,proto3" json:"no_one,omitempty"`
Simple *Simple `protobuf:"bytes,3,opt,name=simple,json=very_simple,proto3" json:"simple,omitempty"`
Simples []string `protobuf:"bytes,4,rep,name=simples,proto3" json:"simples,omitempty"`
B bool `protobuf:"varint,5,opt,name=b,proto3" json:"b,omitempty"`
Sex Sex `protobuf:"varint,6,opt,name=sex,proto3,enum=dyn.encoding.internal.examplepb.Sex" json:"sex,omitempty"`
Age int32 `protobuf:"varint,7,opt,name=age,proto3" json:"age,omitempty"`
A uint32 `protobuf:"varint,8,opt,name=a,proto3" json:"a,omitempty"`
Count uint64 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
Price float32 `protobuf:"fixed32,10,opt,name=price,proto3" json:"price,omitempty"`
D float64 `protobuf:"fixed64,11,opt,name=d,proto3" json:"d,omitempty"`
Byte []byte `protobuf:"bytes,12,opt,name=byte,proto3" json:"byte,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Duration *durationpb.Duration `protobuf:"bytes,14,opt,name=duration,proto3" json:"duration,omitempty"`
Field *fieldmaskpb.FieldMask `protobuf:"bytes,15,opt,name=field,proto3" json:"field,omitempty"`
Double *wrapperspb.DoubleValue `protobuf:"bytes,16,opt,name=double,proto3" json:"double,omitempty"`
Float *wrapperspb.FloatValue `protobuf:"bytes,17,opt,name=float,proto3" json:"float,omitempty"`
Int64 *wrapperspb.Int64Value `protobuf:"bytes,18,opt,name=int64,proto3" json:"int64,omitempty"`
Int32 *wrapperspb.Int32Value `protobuf:"bytes,19,opt,name=int32,proto3" json:"int32,omitempty"`
Uint64 *wrapperspb.UInt64Value `protobuf:"bytes,20,opt,name=uint64,proto3" json:"uint64,omitempty"`
Uint32 *wrapperspb.UInt32Value `protobuf:"bytes,21,opt,name=uint32,proto3" json:"uint32,omitempty"`
Bool *wrapperspb.BoolValue `protobuf:"bytes,22,opt,name=bool,proto3" json:"bool,omitempty"`
String_ *wrapperspb.StringValue `protobuf:"bytes,23,opt,name=string,proto3" json:"string,omitempty"`
Bytes *wrapperspb.BytesValue `protobuf:"bytes,24,opt,name=bytes,proto3" json:"bytes,omitempty"`
Map map[string]string `` /* 148-byte string literal not displayed */
// contains filtered or unexported fields
}
SimpleMessage represents a simple message sent to the Echo service.
func (*Complex) Descriptor
deprecated
func (*Complex) GetBool ¶
func (x *Complex) GetBool() *wrapperspb.BoolValue
func (*Complex) GetBytes ¶
func (x *Complex) GetBytes() *wrapperspb.BytesValue
func (*Complex) GetDouble ¶
func (x *Complex) GetDouble() *wrapperspb.DoubleValue
func (*Complex) GetDuration ¶
func (x *Complex) GetDuration() *durationpb.Duration
func (*Complex) GetField ¶
func (x *Complex) GetField() *fieldmaskpb.FieldMask
func (*Complex) GetFloat ¶
func (x *Complex) GetFloat() *wrapperspb.FloatValue
func (*Complex) GetInt32 ¶
func (x *Complex) GetInt32() *wrapperspb.Int32Value
func (*Complex) GetInt64 ¶
func (x *Complex) GetInt64() *wrapperspb.Int64Value
func (*Complex) GetSimples ¶
func (*Complex) GetString_ ¶
func (x *Complex) GetString_() *wrapperspb.StringValue
func (*Complex) GetTimestamp ¶
func (x *Complex) GetTimestamp() *timestamppb.Timestamp
func (*Complex) GetUint32 ¶
func (x *Complex) GetUint32() *wrapperspb.UInt32Value
func (*Complex) GetUint64 ¶
func (x *Complex) GetUint64() *wrapperspb.UInt64Value
func (*Complex) ProtoMessage ¶
func (*Complex) ProtoMessage()
func (*Complex) ProtoReflect ¶
func (x *Complex) ProtoReflect() protoreflect.Message
type HelloRequest ¶
type HelloRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Sub *Sub `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"`
// contains filtered or unexported fields
}
The request message containing the user's name.
func (*HelloRequest) Descriptor
deprecated
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetName ¶
func (x *HelloRequest) GetName() string
func (*HelloRequest) GetSub ¶
func (x *HelloRequest) GetSub() *Sub
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (x *HelloRequest) String() string
type NestedOne ¶
type NestedOne struct {
Two *NestedTwo `protobuf:"bytes,1,opt,name=two,proto3" json:"two,omitempty"`
// contains filtered or unexported fields
}
func (*NestedOne) Descriptor
deprecated
func (*NestedOne) ProtoMessage ¶
func (*NestedOne) ProtoMessage()
func (*NestedOne) ProtoReflect ¶
func (x *NestedOne) ProtoReflect() protoreflect.Message
type NestedOuter ¶
type NestedOuter struct {
One *NestedOne `protobuf:"bytes,1,opt,name=one,proto3" json:"one,omitempty"`
// contains filtered or unexported fields
}
func (*NestedOuter) Descriptor
deprecated
func (*NestedOuter) Descriptor() ([]byte, []int)
Deprecated: Use NestedOuter.ProtoReflect.Descriptor instead.
func (*NestedOuter) GetOne ¶
func (x *NestedOuter) GetOne() *NestedOne
func (*NestedOuter) ProtoMessage ¶
func (*NestedOuter) ProtoMessage()
func (*NestedOuter) ProtoReflect ¶
func (x *NestedOuter) ProtoReflect() protoreflect.Message
func (*NestedOuter) Reset ¶
func (x *NestedOuter) Reset()
func (*NestedOuter) String ¶
func (x *NestedOuter) String() string
type NestedThree ¶
type NestedThree struct {
A bool `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
B bool `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
// contains filtered or unexported fields
}
func (*NestedThree) Descriptor
deprecated
func (*NestedThree) Descriptor() ([]byte, []int)
Deprecated: Use NestedThree.ProtoReflect.Descriptor instead.
func (*NestedThree) GetA ¶
func (x *NestedThree) GetA() bool
func (*NestedThree) GetB ¶
func (x *NestedThree) GetB() bool
func (*NestedThree) ProtoMessage ¶
func (*NestedThree) ProtoMessage()
func (*NestedThree) ProtoReflect ¶
func (x *NestedThree) ProtoReflect() protoreflect.Message
func (*NestedThree) Reset ¶
func (x *NestedThree) Reset()
func (*NestedThree) String ¶
func (x *NestedThree) String() string
type NestedTwo ¶
type NestedTwo struct {
Three *NestedThree `protobuf:"bytes,1,opt,name=three,proto3" json:"three,omitempty"`
// contains filtered or unexported fields
}
func (*NestedTwo) Descriptor
deprecated
func (*NestedTwo) GetThree ¶
func (x *NestedTwo) GetThree() *NestedThree
func (*NestedTwo) ProtoMessage ¶
func (*NestedTwo) ProtoMessage()
func (*NestedTwo) ProtoReflect ¶
func (x *NestedTwo) ProtoReflect() protoreflect.Message
type NumericEnum ¶
type NumericEnum int32
NumericEnum is one or zero.
const ( // ZERO means 0 NumericEnum_ZERO NumericEnum = 0 // ONE means 1 NumericEnum_ONE NumericEnum = 1 )
func (NumericEnum) Descriptor ¶
func (NumericEnum) Descriptor() protoreflect.EnumDescriptor
func (NumericEnum) Enum ¶
func (x NumericEnum) Enum() *NumericEnum
func (NumericEnum) EnumDescriptor
deprecated
func (NumericEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use NumericEnum.Descriptor instead.
func (NumericEnum) Number ¶
func (x NumericEnum) Number() protoreflect.EnumNumber
func (NumericEnum) String ¶
func (x NumericEnum) String() string
func (NumericEnum) Type ¶
func (NumericEnum) Type() protoreflect.EnumType
type RepeatedResponseBodyOut ¶
type RepeatedResponseBodyOut struct {
Response []*RepeatedResponseBodyOut_Response `protobuf:"bytes,2,rep,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*RepeatedResponseBodyOut) Descriptor
deprecated
func (*RepeatedResponseBodyOut) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedResponseBodyOut.ProtoReflect.Descriptor instead.
func (*RepeatedResponseBodyOut) GetResponse ¶
func (x *RepeatedResponseBodyOut) GetResponse() []*RepeatedResponseBodyOut_Response
func (*RepeatedResponseBodyOut) ProtoMessage ¶
func (*RepeatedResponseBodyOut) ProtoMessage()
func (*RepeatedResponseBodyOut) ProtoReflect ¶
func (x *RepeatedResponseBodyOut) ProtoReflect() protoreflect.Message
func (*RepeatedResponseBodyOut) Reset ¶
func (x *RepeatedResponseBodyOut) Reset()
func (*RepeatedResponseBodyOut) String ¶
func (x *RepeatedResponseBodyOut) String() string
type RepeatedResponseBodyOut_Response ¶
type RepeatedResponseBodyOut_Response struct {
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Type RepeatedResponseBodyOut_Response_ResponseType `` /* 145-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*RepeatedResponseBodyOut_Response) Descriptor
deprecated
func (*RepeatedResponseBodyOut_Response) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedResponseBodyOut_Response.ProtoReflect.Descriptor instead.
func (*RepeatedResponseBodyOut_Response) GetData ¶
func (x *RepeatedResponseBodyOut_Response) GetData() string
func (*RepeatedResponseBodyOut_Response) GetType ¶
func (x *RepeatedResponseBodyOut_Response) GetType() RepeatedResponseBodyOut_Response_ResponseType
func (*RepeatedResponseBodyOut_Response) ProtoMessage ¶
func (*RepeatedResponseBodyOut_Response) ProtoMessage()
func (*RepeatedResponseBodyOut_Response) ProtoReflect ¶
func (x *RepeatedResponseBodyOut_Response) ProtoReflect() protoreflect.Message
func (*RepeatedResponseBodyOut_Response) Reset ¶
func (x *RepeatedResponseBodyOut_Response) Reset()
func (*RepeatedResponseBodyOut_Response) String ¶
func (x *RepeatedResponseBodyOut_Response) String() string
type RepeatedResponseBodyOut_Response_ResponseType ¶
type RepeatedResponseBodyOut_Response_ResponseType int32
const ( // UNKNOWN RepeatedResponseBodyOut_Response_UNKNOWN RepeatedResponseBodyOut_Response_ResponseType = 0 // A is 1 RepeatedResponseBodyOut_Response_A RepeatedResponseBodyOut_Response_ResponseType = 1 // B is 2 RepeatedResponseBodyOut_Response_B RepeatedResponseBodyOut_Response_ResponseType = 2 )
func (RepeatedResponseBodyOut_Response_ResponseType) Descriptor ¶
func (RepeatedResponseBodyOut_Response_ResponseType) Descriptor() protoreflect.EnumDescriptor
func (RepeatedResponseBodyOut_Response_ResponseType) EnumDescriptor
deprecated
func (RepeatedResponseBodyOut_Response_ResponseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RepeatedResponseBodyOut_Response_ResponseType.Descriptor instead.
func (RepeatedResponseBodyOut_Response_ResponseType) Number ¶
func (x RepeatedResponseBodyOut_Response_ResponseType) Number() protoreflect.EnumNumber
func (RepeatedResponseBodyOut_Response_ResponseType) String ¶
func (x RepeatedResponseBodyOut_Response_ResponseType) String() string
type ResponseBodyOut ¶
type ResponseBodyOut struct {
Response *ResponseBodyOut_Response `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseBodyOut) Descriptor
deprecated
func (*ResponseBodyOut) Descriptor() ([]byte, []int)
Deprecated: Use ResponseBodyOut.ProtoReflect.Descriptor instead.
func (*ResponseBodyOut) GetResponse ¶
func (x *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response
func (*ResponseBodyOut) ProtoMessage ¶
func (*ResponseBodyOut) ProtoMessage()
func (*ResponseBodyOut) ProtoReflect ¶
func (x *ResponseBodyOut) ProtoReflect() protoreflect.Message
func (*ResponseBodyOut) Reset ¶
func (x *ResponseBodyOut) Reset()
func (*ResponseBodyOut) String ¶
func (x *ResponseBodyOut) String() string
type ResponseBodyOut_Response ¶
type ResponseBodyOut_Response struct {
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseBodyOut_Response) Descriptor
deprecated
func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int)
Deprecated: Use ResponseBodyOut_Response.ProtoReflect.Descriptor instead.
func (*ResponseBodyOut_Response) GetData ¶
func (x *ResponseBodyOut_Response) GetData() string
func (*ResponseBodyOut_Response) ProtoMessage ¶
func (*ResponseBodyOut_Response) ProtoMessage()
func (*ResponseBodyOut_Response) ProtoReflect ¶
func (x *ResponseBodyOut_Response) ProtoReflect() protoreflect.Message
func (*ResponseBodyOut_Response) Reset ¶
func (x *ResponseBodyOut_Response) Reset()
func (*ResponseBodyOut_Response) String ¶
func (x *ResponseBodyOut_Response) String() string
type Sex ¶
type Sex int32
func (Sex) Descriptor ¶
func (Sex) Descriptor() protoreflect.EnumDescriptor
func (Sex) EnumDescriptor
deprecated
func (Sex) Number ¶
func (x Sex) Number() protoreflect.EnumNumber
func (Sex) Type ¶
func (Sex) Type() protoreflect.EnumType
type Simple ¶
type Simple struct {
Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"`
// contains filtered or unexported fields
}
func (*Simple) Descriptor
deprecated
func (*Simple) GetComponent ¶
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶
func (x *Simple) ProtoReflect() protoreflect.Message
type SimpleMessage ¶
type SimpleMessage struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
SimpleMessage represents a simple message sent to the Echo service.
func (*SimpleMessage) Descriptor
deprecated
func (*SimpleMessage) Descriptor() ([]byte, []int)
Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead.
func (*SimpleMessage) GetId ¶
func (x *SimpleMessage) GetId() string
func (*SimpleMessage) ProtoMessage ¶
func (*SimpleMessage) ProtoMessage()
func (*SimpleMessage) ProtoReflect ¶
func (x *SimpleMessage) ProtoReflect() protoreflect.Message
func (*SimpleMessage) Reset ¶
func (x *SimpleMessage) Reset()
func (*SimpleMessage) String ¶
func (x *SimpleMessage) String() string
type Sub ¶
type Sub struct {
Name string `protobuf:"bytes,1,opt,name=name,json=naming,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*Sub) Descriptor
deprecated
func (*Sub) ProtoMessage ¶
func (*Sub) ProtoMessage()
func (*Sub) ProtoReflect ¶
func (x *Sub) ProtoReflect() protoreflect.Message
type TestModel ¶
type TestModel struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Hobby []string `protobuf:"bytes,3,rep,name=hobby,proto3" json:"hobby,omitempty"`
SnakeCase map[string]string `` /* 176-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*TestModel) Descriptor
deprecated
func (*TestModel) GetSnakeCase ¶
func (*TestModel) ProtoMessage ¶
func (*TestModel) ProtoMessage()
func (*TestModel) ProtoReflect ¶
func (x *TestModel) ProtoReflect() protoreflect.Message
type UpdateMessage ¶
type UpdateMessage struct {
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
ABitOfEverything *ABitOfEverything `protobuf:"bytes,2,opt,name=a_bit_of_everything,json=aBitOfEverything,proto3" json:"a_bit_of_everything,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateMessage) Descriptor
deprecated
func (*UpdateMessage) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMessage.ProtoReflect.Descriptor instead.
func (*UpdateMessage) GetABitOfEverything ¶
func (x *UpdateMessage) GetABitOfEverything() *ABitOfEverything
func (*UpdateMessage) GetUpdateMask ¶
func (x *UpdateMessage) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateMessage) ProtoMessage ¶
func (*UpdateMessage) ProtoMessage()
func (*UpdateMessage) ProtoReflect ¶
func (x *UpdateMessage) ProtoReflect() protoreflect.Message
func (*UpdateMessage) Reset ¶
func (x *UpdateMessage) Reset()
func (*UpdateMessage) String ¶
func (x *UpdateMessage) String() string
type UpdateNestedRequest ¶
type UpdateNestedRequest struct {
Nested *NestedOuter `protobuf:"bytes,1,opt,name=nested,proto3" json:"nested,omitempty"`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateNestedRequest) Descriptor
deprecated
func (*UpdateNestedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNestedRequest.ProtoReflect.Descriptor instead.
func (*UpdateNestedRequest) GetNested ¶
func (x *UpdateNestedRequest) GetNested() *NestedOuter
func (*UpdateNestedRequest) GetUpdateMask ¶
func (x *UpdateNestedRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateNestedRequest) ProtoMessage ¶
func (*UpdateNestedRequest) ProtoMessage()
func (*UpdateNestedRequest) ProtoReflect ¶
func (x *UpdateNestedRequest) ProtoReflect() protoreflect.Message
func (*UpdateNestedRequest) Reset ¶
func (x *UpdateNestedRequest) Reset()
func (*UpdateNestedRequest) String ¶
func (x *UpdateNestedRequest) String() string