package examplepb
import "github.com/grpc-ecosystem/grpc-gateway/v2/runtime/internal/examplepb"
Index ¶
- Constants
- Variables
- func RegisterNonStandardServiceServer(s grpc.ServiceRegistrar, srv NonStandardServiceServer)
- type ABitOfEverything
- func (*ABitOfEverything) Descriptor() ([]byte, []int)
- 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)
- 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)
- 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 EnumValue
- func (EnumValue) Descriptor() protoreflect.EnumDescriptor
- func (x EnumValue) Enum() *EnumValue
- func (EnumValue) EnumDescriptor() ([]byte, []int)
- func (x EnumValue) Number() protoreflect.EnumNumber
- func (x EnumValue) String() string
- func (EnumValue) Type() protoreflect.EnumType
- type NestedOne
- func (*NestedOne) Descriptor() ([]byte, []int)
- func (x *NestedOne) GetTwo() *NestedTwo
- func (*NestedOne) ProtoMessage()
- func (x *NestedOne) ProtoReflect() protoreflect.Message
- func (x *NestedOne) Reset()
- func (x *NestedOne) String() string
- type NestedOuter
- func (*NestedOuter) Descriptor() ([]byte, []int)
- func (x *NestedOuter) GetOne() *NestedOne
- func (*NestedOuter) ProtoMessage()
- func (x *NestedOuter) ProtoReflect() protoreflect.Message
- func (x *NestedOuter) Reset()
- func (x *NestedOuter) String() string
- type NestedThree
- func (*NestedThree) Descriptor() ([]byte, []int)
- func (x *NestedThree) GetA() bool
- func (x *NestedThree) GetB() bool
- func (*NestedThree) ProtoMessage()
- func (x *NestedThree) ProtoReflect() protoreflect.Message
- func (x *NestedThree) Reset()
- func (x *NestedThree) String() string
- type NestedTwo
- func (*NestedTwo) Descriptor() ([]byte, []int)
- func (x *NestedTwo) GetThree() *NestedThree
- func (*NestedTwo) ProtoMessage()
- func (x *NestedTwo) ProtoReflect() protoreflect.Message
- func (x *NestedTwo) Reset()
- func (x *NestedTwo) String() string
- type NonStandardMessage
- func (*NonStandardMessage) Descriptor() ([]byte, []int)
- func (x *NonStandardMessage) GetEn_GB() int64
- func (x *NonStandardMessage) GetId() string
- func (x *NonStandardMessage) GetLangIdent() string
- func (x *NonStandardMessage) GetLineNum() int64
- func (x *NonStandardMessage) GetNo() string
- func (x *NonStandardMessage) GetNum() int64
- func (x *NonStandardMessage) GetSTATUS() string
- func (x *NonStandardMessage) GetStructField() *structpb.Struct
- func (x *NonStandardMessage) GetThing() *NonStandardMessage_Thing
- func (x *NonStandardMessage) GetValueField() *structpb.Value
- func (*NonStandardMessage) ProtoMessage()
- func (x *NonStandardMessage) ProtoReflect() protoreflect.Message
- func (x *NonStandardMessage) Reset()
- func (x *NonStandardMessage) String() string
- type NonStandardMessageWithJSONNames
- func (*NonStandardMessageWithJSONNames) Descriptor() ([]byte, []int)
- func (x *NonStandardMessageWithJSONNames) GetEn_GB() int64
- func (x *NonStandardMessageWithJSONNames) GetId() string
- func (x *NonStandardMessageWithJSONNames) GetLangIdent() string
- func (x *NonStandardMessageWithJSONNames) GetLineNum() int64
- func (x *NonStandardMessageWithJSONNames) GetNo() string
- func (x *NonStandardMessageWithJSONNames) GetNum() int64
- func (x *NonStandardMessageWithJSONNames) GetSTATUS() string
- func (x *NonStandardMessageWithJSONNames) GetStructField() *structpb.Struct
- func (x *NonStandardMessageWithJSONNames) GetThing() *NonStandardMessageWithJSONNames_Thing
- func (x *NonStandardMessageWithJSONNames) GetValueField() *structpb.Value
- func (*NonStandardMessageWithJSONNames) ProtoMessage()
- func (x *NonStandardMessageWithJSONNames) ProtoReflect() protoreflect.Message
- func (x *NonStandardMessageWithJSONNames) Reset()
- func (x *NonStandardMessageWithJSONNames) String() string
- type NonStandardMessageWithJSONNames_Thing
- func (*NonStandardMessageWithJSONNames_Thing) Descriptor() ([]byte, []int)
- func (x *NonStandardMessageWithJSONNames_Thing) GetSubThing() *NonStandardMessageWithJSONNames_Thing_SubThing
- func (*NonStandardMessageWithJSONNames_Thing) ProtoMessage()
- func (x *NonStandardMessageWithJSONNames_Thing) ProtoReflect() protoreflect.Message
- func (x *NonStandardMessageWithJSONNames_Thing) Reset()
- func (x *NonStandardMessageWithJSONNames_Thing) String() string
- type NonStandardMessageWithJSONNames_Thing_SubThing
- func (*NonStandardMessageWithJSONNames_Thing_SubThing) Descriptor() ([]byte, []int)
- func (x *NonStandardMessageWithJSONNames_Thing_SubThing) GetSubValue() string
- func (*NonStandardMessageWithJSONNames_Thing_SubThing) ProtoMessage()
- func (x *NonStandardMessageWithJSONNames_Thing_SubThing) ProtoReflect() protoreflect.Message
- func (x *NonStandardMessageWithJSONNames_Thing_SubThing) Reset()
- func (x *NonStandardMessageWithJSONNames_Thing_SubThing) String() string
- type NonStandardMessage_Thing
- func (*NonStandardMessage_Thing) Descriptor() ([]byte, []int)
- func (x *NonStandardMessage_Thing) GetSubThing() *NonStandardMessage_Thing_SubThing
- func (*NonStandardMessage_Thing) ProtoMessage()
- func (x *NonStandardMessage_Thing) ProtoReflect() protoreflect.Message
- func (x *NonStandardMessage_Thing) Reset()
- func (x *NonStandardMessage_Thing) String() string
- type NonStandardMessage_Thing_SubThing
- func (*NonStandardMessage_Thing_SubThing) Descriptor() ([]byte, []int)
- func (x *NonStandardMessage_Thing_SubThing) GetSubValue() string
- func (*NonStandardMessage_Thing_SubThing) ProtoMessage()
- func (x *NonStandardMessage_Thing_SubThing) ProtoReflect() protoreflect.Message
- func (x *NonStandardMessage_Thing_SubThing) Reset()
- func (x *NonStandardMessage_Thing_SubThing) String() string
- type NonStandardServiceClient
- type NonStandardServiceServer
- type NonStandardUpdateRequest
- func (*NonStandardUpdateRequest) Descriptor() ([]byte, []int)
- func (x *NonStandardUpdateRequest) GetBody() *NonStandardMessage
- func (x *NonStandardUpdateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*NonStandardUpdateRequest) ProtoMessage()
- func (x *NonStandardUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *NonStandardUpdateRequest) Reset()
- func (x *NonStandardUpdateRequest) String() string
- type NonStandardWithJSONNamesUpdateRequest
- func (*NonStandardWithJSONNamesUpdateRequest) Descriptor() ([]byte, []int)
- func (x *NonStandardWithJSONNamesUpdateRequest) GetBody() *NonStandardMessageWithJSONNames
- func (x *NonStandardWithJSONNamesUpdateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*NonStandardWithJSONNamesUpdateRequest) ProtoMessage()
- func (x *NonStandardWithJSONNamesUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *NonStandardWithJSONNamesUpdateRequest) Reset()
- func (x *NonStandardWithJSONNamesUpdateRequest) String() string
- type NumericEnum
- func (NumericEnum) Descriptor() protoreflect.EnumDescriptor
- func (x NumericEnum) Enum() *NumericEnum
- func (NumericEnum) EnumDescriptor() ([]byte, []int)
- func (x NumericEnum) Number() protoreflect.EnumNumber
- func (x NumericEnum) String() string
- func (NumericEnum) Type() protoreflect.EnumType
- type Proto2Message
- func (*Proto2Message) Descriptor() ([]byte, []int)
- func (x *Proto2Message) GetBoolValue() bool
- func (x *Proto2Message) GetBytesValue() []byte
- func (x *Proto2Message) GetDoubleValue() float64
- func (x *Proto2Message) GetFloatValue() float32
- func (x *Proto2Message) GetInt32Value() int32
- func (x *Proto2Message) GetInt64Value() int64
- func (x *Proto2Message) GetRepeatedValue() []string
- func (x *Proto2Message) GetStringValue() string
- func (x *Proto2Message) GetUint32Value() uint32
- func (x *Proto2Message) GetUint64Value() uint64
- func (*Proto2Message) ProtoMessage()
- func (x *Proto2Message) ProtoReflect() protoreflect.Message
- func (x *Proto2Message) Reset()
- func (x *Proto2Message) String() string
- type Proto3Message
- func (*Proto3Message) Descriptor() ([]byte, []int)
- func (x *Proto3Message) GetBoolValue() bool
- func (x *Proto3Message) GetBytesValue() []byte
- func (x *Proto3Message) GetDoubleValue() float64
- func (x *Proto3Message) GetDurationValue() *durationpb.Duration
- func (x *Proto3Message) GetEnumValue() EnumValue
- func (x *Proto3Message) GetFieldmaskValue() *fieldmaskpb.FieldMask
- func (x *Proto3Message) GetFloatValue() float32
- func (x *Proto3Message) GetInt32Value() int32
- func (x *Proto3Message) GetInt64Value() int64
- func (x *Proto3Message) GetMapValue() map[string]string
- func (x *Proto3Message) GetMapValue10() map[string]float32
- func (x *Proto3Message) GetMapValue12() map[string]float64
- func (x *Proto3Message) GetMapValue14() map[string]bool
- func (x *Proto3Message) GetMapValue15() map[bool]string
- func (x *Proto3Message) GetMapValue16() map[string]*wrapperspb.UInt64Value
- func (x *Proto3Message) GetMapValue2() map[string]int32
- func (x *Proto3Message) GetMapValue3() map[int32]string
- func (x *Proto3Message) GetMapValue4() map[string]int64
- func (x *Proto3Message) GetMapValue5() map[int64]string
- func (x *Proto3Message) GetMapValue6() map[string]uint32
- func (x *Proto3Message) GetMapValue7() map[uint32]string
- func (x *Proto3Message) GetMapValue8() map[string]uint64
- func (x *Proto3Message) GetMapValue9() map[uint64]string
- func (x *Proto3Message) GetNested() *Proto3Message
- func (x *Proto3Message) GetNestedOneofInt32Value() int32
- func (m *Proto3Message) GetNestedOneofValue() isProto3Message_NestedOneofValue
- func (x *Proto3Message) GetNestedOneofValueOne() *Proto3Message
- func (x *Proto3Message) GetOneofBoolValue() bool
- func (x *Proto3Message) GetOneofStringValue() string
- func (m *Proto3Message) GetOneofValue() isProto3Message_OneofValue
- func (x *Proto3Message) GetOptionalValue() string
- func (x *Proto3Message) GetRepeatedEnum() []EnumValue
- func (x *Proto3Message) GetRepeatedMessage() []*wrapperspb.UInt64Value
- func (x *Proto3Message) GetRepeatedValue() []string
- func (x *Proto3Message) GetStringValue() string
- func (x *Proto3Message) GetStructValue() *structpb.Struct
- func (x *Proto3Message) GetStructValueValue() *structpb.Value
- func (x *Proto3Message) GetTimestampValue() *timestamppb.Timestamp
- func (x *Proto3Message) GetUint32Value() uint32
- func (x *Proto3Message) GetUint64Value() uint64
- func (x *Proto3Message) GetWrapperBoolValue() *wrapperspb.BoolValue
- func (x *Proto3Message) GetWrapperBytesValue() *wrapperspb.BytesValue
- func (x *Proto3Message) GetWrapperDoubleValue() *wrapperspb.DoubleValue
- func (x *Proto3Message) GetWrapperFloatValue() *wrapperspb.FloatValue
- func (x *Proto3Message) GetWrapperInt32Value() *wrapperspb.Int32Value
- func (x *Proto3Message) GetWrapperInt64Value() *wrapperspb.Int64Value
- func (x *Proto3Message) GetWrapperStringValue() *wrapperspb.StringValue
- func (x *Proto3Message) GetWrapperUInt32Value() *wrapperspb.UInt32Value
- func (x *Proto3Message) GetWrapperUInt64Value() *wrapperspb.UInt64Value
- func (*Proto3Message) ProtoMessage()
- func (x *Proto3Message) ProtoReflect() protoreflect.Message
- func (x *Proto3Message) Reset()
- func (x *Proto3Message) String() string
- type Proto3Message_NestedOneofInt32Value
- type Proto3Message_NestedOneofValueOne
- type Proto3Message_OneofBoolValue
- type Proto3Message_OneofStringValue
- type RepeatedResponseBodyOut
- func (*RepeatedResponseBodyOut) Descriptor() ([]byte, []int)
- 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)
- 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)
- 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)
- 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)
- 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 SimpleMessage
- func (*SimpleMessage) Descriptor() ([]byte, []int)
- func (x *SimpleMessage) GetId() string
- func (*SimpleMessage) ProtoMessage()
- func (x *SimpleMessage) ProtoReflect() protoreflect.Message
- func (x *SimpleMessage) Reset()
- func (x *SimpleMessage) String() string
- type UnimplementedNonStandardServiceServer
- func (UnimplementedNonStandardServiceServer) Update(context.Context, *NonStandardUpdateRequest) (*NonStandardMessage, error)
- func (UnimplementedNonStandardServiceServer) UpdateWithJSONNames(context.Context, *NonStandardWithJSONNamesUpdateRequest) (*NonStandardMessageWithJSONNames, error)
- type UnsafeNonStandardServiceServer
- type UpdateMessage
- func (*UpdateMessage) Descriptor() ([]byte, []int)
- 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)
- 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 ¶
const ( NonStandardService_Update_FullMethodName = "/grpc.gateway.runtime.internal.examplepb.NonStandardService/Update" NonStandardService_UpdateWithJSONNames_FullMethodName = "/grpc.gateway.runtime.internal.examplepb.NonStandardService/UpdateWithJSONNames" )
Variables ¶
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 ( EnumValue_name = map[int32]string{ 0: "X", 1: "Y", 2: "Z", } EnumValue_value = map[string]int32{ "X": 0, "Y": 1, "Z": 2, } )
Enum value maps for EnumValue.
var File_runtime_internal_examplepb_example_proto protoreflect.FileDescriptor
var File_runtime_internal_examplepb_non_standard_names_proto protoreflect.FileDescriptor
var File_runtime_internal_examplepb_proto2_proto protoreflect.FileDescriptor
var File_runtime_internal_examplepb_proto3_proto protoreflect.FileDescriptor
var NonStandardService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "grpc.gateway.runtime.internal.examplepb.NonStandardService", HandlerType: (*NonStandardServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Update", Handler: _NonStandardService_Update_Handler, }, { MethodName: "UpdateWithJSONNames", Handler: _NonStandardService_UpdateWithJSONNames_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "runtime/internal/examplepb/non_standard_names.proto", }
NonStandardService_ServiceDesc is the grpc.ServiceDesc for NonStandardService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNonStandardServiceServer ¶
func RegisterNonStandardServiceServer(s grpc.ServiceRegistrar, srv NonStandardServiceServer)
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 `protobuf:"varint,14,opt,name=enum_value,json=enumValue,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"enum_value,omitempty"` 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 `protobuf:"bytes,22,rep,name=map_value,json=mapValue,proto3" json:"map_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum"` MappedStringValue map[string]string `protobuf:"bytes,23,rep,name=mapped_string_value,json=mappedStringValue,proto3" json:"mapped_string_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MappedNestedValue map[string]*ABitOfEverything_Nested `protobuf:"bytes,24,rep,name=mapped_nested_value,json=mappedNestedValue,proto3" json:"mapped_nested_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 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 `protobuf:"varint,28,rep,packed,name=repeated_enum_value,json=repeatedEnumValue,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"repeated_enum_value,omitempty"` // repeated numeric enum comment (This comment is overridden by the field // annotation) RepeatedEnumAnnotation []NumericEnum `protobuf:"varint,32,rep,packed,name=repeated_enum_annotation,json=repeatedEnumAnnotation,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"repeated_enum_annotation,omitempty"` // numeric enum comment (This comment is overridden by the field annotation) EnumValueAnnotation NumericEnum `protobuf:"varint,33,opt,name=enum_value_annotation,json=enumValueAnnotation,proto3,enum=grpc.gateway.runtime.internal.examplepb.NumericEnum" json:"enum_value_annotation,omitempty"` // repeated string comment (This comment is overridden by the field // annotation) RepeatedStringAnnotation []string `protobuf:"bytes,34,rep,name=repeated_string_annotation,json=repeatedStringAnnotation,proto3" json:"repeated_string_annotation,omitempty"` // repeated nested object comment (This comment is overridden by the field // annotation) RepeatedNestedAnnotation []*ABitOfEverything_Nested `protobuf:"bytes,35,rep,name=repeated_nested_annotation,json=repeatedNestedAnnotation,proto3" json:"repeated_nested_annotation,omitempty"` // 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 ¶
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 `protobuf:"varint,3,opt,name=ok,proto3,enum=grpc.gateway.runtime.internal.examplepb.ABitOfEverything_Nested_DeepEnum" json:"ok,omitempty"` // contains filtered or unexported fields }
Nested is nested type.
func (*ABitOfEverything_Nested) Descriptor ¶
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 ¶
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_OneofEmpty ¶
type ABitOfEverything_OneofEmpty struct { OneofEmpty *emptypb.Empty `protobuf:"bytes,20,opt,name=oneof_empty,json=oneofEmpty,proto3,oneof"` }
type ABitOfEverything_OneofString ¶
type ABitOfEverything_OneofString struct { OneofString string `protobuf:"bytes,21,opt,name=oneof_string,json=oneofString,proto3,oneof"` }
type EnumValue ¶
type EnumValue int32
func (EnumValue) Descriptor ¶
func (EnumValue) Descriptor() protoreflect.EnumDescriptor
func (EnumValue) Enum ¶
func (EnumValue) EnumDescriptor ¶
Deprecated: Use EnumValue.Descriptor instead.
func (EnumValue) Number ¶
func (x EnumValue) Number() protoreflect.EnumNumber
func (EnumValue) String ¶
func (EnumValue) Type ¶
func (EnumValue) Type() protoreflect.EnumType
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: Use NestedOne.ProtoReflect.Descriptor instead.
func (*NestedOne) GetTwo ¶
func (*NestedOne) ProtoMessage ¶
func (*NestedOne) ProtoMessage()
func (*NestedOne) ProtoReflect ¶
func (x *NestedOne) ProtoReflect() protoreflect.Message
func (*NestedOne) Reset ¶
func (x *NestedOne) Reset()
func (*NestedOne) String ¶
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 ¶
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 ¶
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: Use NestedTwo.ProtoReflect.Descriptor instead.
func (*NestedTwo) GetThree ¶
func (x *NestedTwo) GetThree() *NestedThree
func (*NestedTwo) ProtoMessage ¶
func (*NestedTwo) ProtoMessage()
func (*NestedTwo) ProtoReflect ¶
func (x *NestedTwo) ProtoReflect() protoreflect.Message
func (*NestedTwo) Reset ¶
func (x *NestedTwo) Reset()
func (*NestedTwo) String ¶
type NonStandardMessage ¶
type NonStandardMessage struct { // Id represents the message identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Num int64 `protobuf:"varint,2,opt,name=Num,proto3" json:"Num,omitempty"` LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=lineNum,proto3" json:"line_num,omitempty"` LangIdent string `protobuf:"bytes,4,opt,name=langIdent,proto3" json:"langIdent,omitempty"` STATUS string `protobuf:"bytes,5,opt,name=STATUS,proto3" json:"STATUS,omitempty"` En_GB int64 `protobuf:"varint,6,opt,name=en_GB,json=enGB,proto3" json:"en_GB,omitempty"` No string `protobuf:"bytes,7,opt,name=no,proto3" json:"no,omitempty"` Thing *NonStandardMessage_Thing `protobuf:"bytes,8,opt,name=thing,proto3" json:"thing,omitempty"` StructField *structpb.Struct `protobuf:"bytes,9,opt,name=struct_field,json=structField,proto3" json:"struct_field,omitempty"` ValueField *structpb.Value `protobuf:"bytes,10,opt,name=value_field,json=valueField,proto3" json:"value_field,omitempty"` // contains filtered or unexported fields }
NonStandardMessage has oddly named fields.
func (*NonStandardMessage) Descriptor ¶
func (*NonStandardMessage) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardMessage.ProtoReflect.Descriptor instead.
func (*NonStandardMessage) GetEn_GB ¶
func (x *NonStandardMessage) GetEn_GB() int64
func (*NonStandardMessage) GetId ¶
func (x *NonStandardMessage) GetId() string
func (*NonStandardMessage) GetLangIdent ¶
func (x *NonStandardMessage) GetLangIdent() string
func (*NonStandardMessage) GetLineNum ¶
func (x *NonStandardMessage) GetLineNum() int64
func (*NonStandardMessage) GetNo ¶
func (x *NonStandardMessage) GetNo() string
func (*NonStandardMessage) GetNum ¶
func (x *NonStandardMessage) GetNum() int64
func (*NonStandardMessage) GetSTATUS ¶
func (x *NonStandardMessage) GetSTATUS() string
func (*NonStandardMessage) GetStructField ¶
func (x *NonStandardMessage) GetStructField() *structpb.Struct
func (*NonStandardMessage) GetThing ¶
func (x *NonStandardMessage) GetThing() *NonStandardMessage_Thing
func (*NonStandardMessage) GetValueField ¶
func (x *NonStandardMessage) GetValueField() *structpb.Value
func (*NonStandardMessage) ProtoMessage ¶
func (*NonStandardMessage) ProtoMessage()
func (*NonStandardMessage) ProtoReflect ¶
func (x *NonStandardMessage) ProtoReflect() protoreflect.Message
func (*NonStandardMessage) Reset ¶
func (x *NonStandardMessage) Reset()
func (*NonStandardMessage) String ¶
func (x *NonStandardMessage) String() string
type NonStandardMessageWithJSONNames ¶
type NonStandardMessageWithJSONNames struct { // Id represents the message identifier. Id string `protobuf:"bytes,1,opt,name=id,json=ID,proto3" json:"id,omitempty"` Num int64 `protobuf:"varint,2,opt,name=Num,proto3" json:"Num,omitempty"` LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=LineNum,proto3" json:"line_num,omitempty"` LangIdent string `protobuf:"bytes,4,opt,name=langIdent,proto3" json:"langIdent,omitempty"` STATUS string `protobuf:"bytes,5,opt,name=STATUS,json=status,proto3" json:"STATUS,omitempty"` En_GB int64 `protobuf:"varint,6,opt,name=en_GB,json=En_GB,proto3" json:"en_GB,omitempty"` No string `protobuf:"bytes,7,opt,name=no,json=yes,proto3" json:"no,omitempty"` Thing *NonStandardMessageWithJSONNames_Thing `protobuf:"bytes,8,opt,name=thing,json=Thingy,proto3" json:"thing,omitempty"` StructField *structpb.Struct `protobuf:"bytes,9,opt,name=struct_field,json=StructField,proto3" json:"struct_field,omitempty"` ValueField *structpb.Value `protobuf:"bytes,10,opt,name=value_field,json=ValueField,proto3" json:"value_field,omitempty"` // contains filtered or unexported fields }
NonStandardMessageWithJSONNames maps odd field names to odd JSON names for maximum confusion.
func (*NonStandardMessageWithJSONNames) Descriptor ¶
func (*NonStandardMessageWithJSONNames) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardMessageWithJSONNames.ProtoReflect.Descriptor instead.
func (*NonStandardMessageWithJSONNames) GetEn_GB ¶
func (x *NonStandardMessageWithJSONNames) GetEn_GB() int64
func (*NonStandardMessageWithJSONNames) GetId ¶
func (x *NonStandardMessageWithJSONNames) GetId() string
func (*NonStandardMessageWithJSONNames) GetLangIdent ¶
func (x *NonStandardMessageWithJSONNames) GetLangIdent() string
func (*NonStandardMessageWithJSONNames) GetLineNum ¶
func (x *NonStandardMessageWithJSONNames) GetLineNum() int64
func (*NonStandardMessageWithJSONNames) GetNo ¶
func (x *NonStandardMessageWithJSONNames) GetNo() string
func (*NonStandardMessageWithJSONNames) GetNum ¶
func (x *NonStandardMessageWithJSONNames) GetNum() int64
func (*NonStandardMessageWithJSONNames) GetSTATUS ¶
func (x *NonStandardMessageWithJSONNames) GetSTATUS() string
func (*NonStandardMessageWithJSONNames) GetStructField ¶
func (x *NonStandardMessageWithJSONNames) GetStructField() *structpb.Struct
func (*NonStandardMessageWithJSONNames) GetThing ¶
func (x *NonStandardMessageWithJSONNames) GetThing() *NonStandardMessageWithJSONNames_Thing
func (*NonStandardMessageWithJSONNames) GetValueField ¶
func (x *NonStandardMessageWithJSONNames) GetValueField() *structpb.Value
func (*NonStandardMessageWithJSONNames) ProtoMessage ¶
func (*NonStandardMessageWithJSONNames) ProtoMessage()
func (*NonStandardMessageWithJSONNames) ProtoReflect ¶
func (x *NonStandardMessageWithJSONNames) ProtoReflect() protoreflect.Message
func (*NonStandardMessageWithJSONNames) Reset ¶
func (x *NonStandardMessageWithJSONNames) Reset()
func (*NonStandardMessageWithJSONNames) String ¶
func (x *NonStandardMessageWithJSONNames) String() string
type NonStandardMessageWithJSONNames_Thing ¶
type NonStandardMessageWithJSONNames_Thing struct { SubThing *NonStandardMessageWithJSONNames_Thing_SubThing `protobuf:"bytes,1,opt,name=subThing,json=SubThing,proto3" json:"subThing,omitempty"` // contains filtered or unexported fields }
func (*NonStandardMessageWithJSONNames_Thing) Descriptor ¶
func (*NonStandardMessageWithJSONNames_Thing) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardMessageWithJSONNames_Thing.ProtoReflect.Descriptor instead.
func (*NonStandardMessageWithJSONNames_Thing) GetSubThing ¶
func (x *NonStandardMessageWithJSONNames_Thing) GetSubThing() *NonStandardMessageWithJSONNames_Thing_SubThing
func (*NonStandardMessageWithJSONNames_Thing) ProtoMessage ¶
func (*NonStandardMessageWithJSONNames_Thing) ProtoMessage()
func (*NonStandardMessageWithJSONNames_Thing) ProtoReflect ¶
func (x *NonStandardMessageWithJSONNames_Thing) ProtoReflect() protoreflect.Message
func (*NonStandardMessageWithJSONNames_Thing) Reset ¶
func (x *NonStandardMessageWithJSONNames_Thing) Reset()
func (*NonStandardMessageWithJSONNames_Thing) String ¶
func (x *NonStandardMessageWithJSONNames_Thing) String() string
type NonStandardMessageWithJSONNames_Thing_SubThing ¶
type NonStandardMessageWithJSONNames_Thing_SubThing struct { SubValue string `protobuf:"bytes,1,opt,name=sub_value,json=sub_Value,proto3" json:"sub_value,omitempty"` // contains filtered or unexported fields }
func (*NonStandardMessageWithJSONNames_Thing_SubThing) Descriptor ¶
func (*NonStandardMessageWithJSONNames_Thing_SubThing) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardMessageWithJSONNames_Thing_SubThing.ProtoReflect.Descriptor instead.
func (*NonStandardMessageWithJSONNames_Thing_SubThing) GetSubValue ¶
func (x *NonStandardMessageWithJSONNames_Thing_SubThing) GetSubValue() string
func (*NonStandardMessageWithJSONNames_Thing_SubThing) ProtoMessage ¶
func (*NonStandardMessageWithJSONNames_Thing_SubThing) ProtoMessage()
func (*NonStandardMessageWithJSONNames_Thing_SubThing) ProtoReflect ¶
func (x *NonStandardMessageWithJSONNames_Thing_SubThing) ProtoReflect() protoreflect.Message
func (*NonStandardMessageWithJSONNames_Thing_SubThing) Reset ¶
func (x *NonStandardMessageWithJSONNames_Thing_SubThing) Reset()
func (*NonStandardMessageWithJSONNames_Thing_SubThing) String ¶
func (x *NonStandardMessageWithJSONNames_Thing_SubThing) String() string
type NonStandardMessage_Thing ¶
type NonStandardMessage_Thing struct { SubThing *NonStandardMessage_Thing_SubThing `protobuf:"bytes,1,opt,name=subThing,proto3" json:"subThing,omitempty"` // contains filtered or unexported fields }
func (*NonStandardMessage_Thing) Descriptor ¶
func (*NonStandardMessage_Thing) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardMessage_Thing.ProtoReflect.Descriptor instead.
func (*NonStandardMessage_Thing) GetSubThing ¶
func (x *NonStandardMessage_Thing) GetSubThing() *NonStandardMessage_Thing_SubThing
func (*NonStandardMessage_Thing) ProtoMessage ¶
func (*NonStandardMessage_Thing) ProtoMessage()
func (*NonStandardMessage_Thing) ProtoReflect ¶
func (x *NonStandardMessage_Thing) ProtoReflect() protoreflect.Message
func (*NonStandardMessage_Thing) Reset ¶
func (x *NonStandardMessage_Thing) Reset()
func (*NonStandardMessage_Thing) String ¶
func (x *NonStandardMessage_Thing) String() string
type NonStandardMessage_Thing_SubThing ¶
type NonStandardMessage_Thing_SubThing struct { SubValue string `protobuf:"bytes,1,opt,name=sub_value,json=subValue,proto3" json:"sub_value,omitempty"` // contains filtered or unexported fields }
func (*NonStandardMessage_Thing_SubThing) Descriptor ¶
func (*NonStandardMessage_Thing_SubThing) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardMessage_Thing_SubThing.ProtoReflect.Descriptor instead.
func (*NonStandardMessage_Thing_SubThing) GetSubValue ¶
func (x *NonStandardMessage_Thing_SubThing) GetSubValue() string
func (*NonStandardMessage_Thing_SubThing) ProtoMessage ¶
func (*NonStandardMessage_Thing_SubThing) ProtoMessage()
func (*NonStandardMessage_Thing_SubThing) ProtoReflect ¶
func (x *NonStandardMessage_Thing_SubThing) ProtoReflect() protoreflect.Message
func (*NonStandardMessage_Thing_SubThing) Reset ¶
func (x *NonStandardMessage_Thing_SubThing) Reset()
func (*NonStandardMessage_Thing_SubThing) String ¶
func (x *NonStandardMessage_Thing_SubThing) String() string
type NonStandardServiceClient ¶
type NonStandardServiceClient interface { // Apply field mask to empty NonStandardMessage and return result. Update(ctx context.Context, in *NonStandardUpdateRequest, opts ...grpc.CallOption) (*NonStandardMessage, error) // Apply field mask to empty NonStandardMessageWithJSONNames and return result. UpdateWithJSONNames(ctx context.Context, in *NonStandardWithJSONNamesUpdateRequest, opts ...grpc.CallOption) (*NonStandardMessageWithJSONNames, error) }
NonStandardServiceClient is the client API for NonStandardService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
NonStandardService responds to incoming messages, applies a field mask and returns the masked response.
func NewNonStandardServiceClient ¶
func NewNonStandardServiceClient(cc grpc.ClientConnInterface) NonStandardServiceClient
type NonStandardServiceServer ¶
type NonStandardServiceServer interface { // Apply field mask to empty NonStandardMessage and return result. Update(context.Context, *NonStandardUpdateRequest) (*NonStandardMessage, error) // Apply field mask to empty NonStandardMessageWithJSONNames and return result. UpdateWithJSONNames(context.Context, *NonStandardWithJSONNamesUpdateRequest) (*NonStandardMessageWithJSONNames, error) }
NonStandardServiceServer is the server API for NonStandardService service. All implementations should embed UnimplementedNonStandardServiceServer for forward compatibility.
NonStandardService responds to incoming messages, applies a field mask and returns the masked response.
type NonStandardUpdateRequest ¶
type NonStandardUpdateRequest struct { Body *NonStandardMessage `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*NonStandardUpdateRequest) Descriptor ¶
func (*NonStandardUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardUpdateRequest.ProtoReflect.Descriptor instead.
func (*NonStandardUpdateRequest) GetBody ¶
func (x *NonStandardUpdateRequest) GetBody() *NonStandardMessage
func (*NonStandardUpdateRequest) GetUpdateMask ¶
func (x *NonStandardUpdateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*NonStandardUpdateRequest) ProtoMessage ¶
func (*NonStandardUpdateRequest) ProtoMessage()
func (*NonStandardUpdateRequest) ProtoReflect ¶
func (x *NonStandardUpdateRequest) ProtoReflect() protoreflect.Message
func (*NonStandardUpdateRequest) Reset ¶
func (x *NonStandardUpdateRequest) Reset()
func (*NonStandardUpdateRequest) String ¶
func (x *NonStandardUpdateRequest) String() string
type NonStandardWithJSONNamesUpdateRequest ¶
type NonStandardWithJSONNamesUpdateRequest struct { Body *NonStandardMessageWithJSONNames `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*NonStandardWithJSONNamesUpdateRequest) Descriptor ¶
func (*NonStandardWithJSONNamesUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use NonStandardWithJSONNamesUpdateRequest.ProtoReflect.Descriptor instead.
func (*NonStandardWithJSONNamesUpdateRequest) GetBody ¶
func (x *NonStandardWithJSONNamesUpdateRequest) GetBody() *NonStandardMessageWithJSONNames
func (*NonStandardWithJSONNamesUpdateRequest) GetUpdateMask ¶
func (x *NonStandardWithJSONNamesUpdateRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*NonStandardWithJSONNamesUpdateRequest) ProtoMessage ¶
func (*NonStandardWithJSONNamesUpdateRequest) ProtoMessage()
func (*NonStandardWithJSONNamesUpdateRequest) ProtoReflect ¶
func (x *NonStandardWithJSONNamesUpdateRequest) ProtoReflect() protoreflect.Message
func (*NonStandardWithJSONNamesUpdateRequest) Reset ¶
func (x *NonStandardWithJSONNamesUpdateRequest) Reset()
func (*NonStandardWithJSONNamesUpdateRequest) String ¶
func (x *NonStandardWithJSONNamesUpdateRequest) String() string
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 ¶
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 Proto2Message ¶
type Proto2Message struct { FloatValue *float32 `protobuf:"fixed32,42,opt,name=float_value,json=floatValue" json:"float_value,omitempty"` DoubleValue *float64 `protobuf:"fixed64,43,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"` Int64Value *int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value" json:"int64_value,omitempty"` Int32Value *int32 `protobuf:"varint,4,opt,name=int32_value,json=int32Value" json:"int32_value,omitempty"` Uint64Value *uint64 `protobuf:"varint,5,opt,name=uint64_value,json=uint64Value" json:"uint64_value,omitempty"` Uint32Value *uint32 `protobuf:"varint,6,opt,name=uint32_value,json=uint32Value" json:"uint32_value,omitempty"` BoolValue *bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue" json:"bool_value,omitempty"` StringValue *string `protobuf:"bytes,8,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` BytesValue []byte `protobuf:"bytes,9,opt,name=bytes_value,json=bytesValue" json:"bytes_value,omitempty"` RepeatedValue []string `protobuf:"bytes,10,rep,name=repeated_value,json=repeatedValue" json:"repeated_value,omitempty"` // contains filtered or unexported fields }
func (*Proto2Message) Descriptor ¶
func (*Proto2Message) Descriptor() ([]byte, []int)
Deprecated: Use Proto2Message.ProtoReflect.Descriptor instead.
func (*Proto2Message) GetBoolValue ¶
func (x *Proto2Message) GetBoolValue() bool
func (*Proto2Message) GetBytesValue ¶
func (x *Proto2Message) GetBytesValue() []byte
func (*Proto2Message) GetDoubleValue ¶
func (x *Proto2Message) GetDoubleValue() float64
func (*Proto2Message) GetFloatValue ¶
func (x *Proto2Message) GetFloatValue() float32
func (*Proto2Message) GetInt32Value ¶
func (x *Proto2Message) GetInt32Value() int32
func (*Proto2Message) GetInt64Value ¶
func (x *Proto2Message) GetInt64Value() int64
func (*Proto2Message) GetRepeatedValue ¶
func (x *Proto2Message) GetRepeatedValue() []string
func (*Proto2Message) GetStringValue ¶
func (x *Proto2Message) GetStringValue() string
func (*Proto2Message) GetUint32Value ¶
func (x *Proto2Message) GetUint32Value() uint32
func (*Proto2Message) GetUint64Value ¶
func (x *Proto2Message) GetUint64Value() uint64
func (*Proto2Message) ProtoMessage ¶
func (*Proto2Message) ProtoMessage()
func (*Proto2Message) ProtoReflect ¶
func (x *Proto2Message) ProtoReflect() protoreflect.Message
func (*Proto2Message) Reset ¶
func (x *Proto2Message) Reset()
func (*Proto2Message) String ¶
func (x *Proto2Message) String() string
type Proto3Message ¶
type Proto3Message struct { // Next number: 51 Nested *Proto3Message `protobuf:"bytes,41,opt,name=nested,proto3" json:"nested,omitempty"` FloatValue float32 `protobuf:"fixed32,42,opt,name=float_value,json=floatValue,proto3" json:"float_value,omitempty"` DoubleValue float64 `protobuf:"fixed64,43,opt,name=double_value,json=doubleValue,proto3" json:"double_value,omitempty"` Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3" json:"int64_value,omitempty"` Int32Value int32 `protobuf:"varint,4,opt,name=int32_value,json=int32Value,proto3" json:"int32_value,omitempty"` Uint64Value uint64 `protobuf:"varint,5,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"` Uint32Value uint32 `protobuf:"varint,6,opt,name=uint32_value,json=uint32Value,proto3" json:"uint32_value,omitempty"` BoolValue bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue,proto3" json:"bool_value,omitempty"` StringValue string `protobuf:"bytes,8,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"` BytesValue []byte `protobuf:"bytes,9,opt,name=bytes_value,json=bytesValue,proto3" json:"bytes_value,omitempty"` RepeatedValue []string `protobuf:"bytes,10,rep,name=repeated_value,json=repeatedValue,proto3" json:"repeated_value,omitempty"` OptionalValue *string `protobuf:"bytes,49,opt,name=optional_value,json=optionalValue,proto3,oneof" json:"optional_value,omitempty"` RepeatedMessage []*wrapperspb.UInt64Value `protobuf:"bytes,44,rep,name=repeated_message,json=repeatedMessage,proto3" json:"repeated_message,omitempty"` EnumValue EnumValue `protobuf:"varint,11,opt,name=enum_value,json=enumValue,proto3,enum=grpc.gateway.runtime.internal.examplepb.EnumValue" json:"enum_value,omitempty"` RepeatedEnum []EnumValue `protobuf:"varint,12,rep,packed,name=repeated_enum,json=repeatedEnum,proto3,enum=grpc.gateway.runtime.internal.examplepb.EnumValue" json:"repeated_enum,omitempty"` TimestampValue *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=timestamp_value,json=timestampValue,proto3" json:"timestamp_value,omitempty"` DurationValue *durationpb.Duration `protobuf:"bytes,14,opt,name=duration_value,json=durationValue,proto3" json:"duration_value,omitempty"` FieldmaskValue *fieldmaskpb.FieldMask `protobuf:"bytes,15,opt,name=fieldmask_value,json=fieldmaskValue,proto3" json:"fieldmask_value,omitempty"` // Types that are assignable to OneofValue: // // *Proto3Message_OneofBoolValue // *Proto3Message_OneofStringValue OneofValue isProto3Message_OneofValue `protobuf_oneof:"oneof_value"` // Types that are assignable to NestedOneofValue: // // *Proto3Message_NestedOneofInt32Value // *Proto3Message_NestedOneofValueOne NestedOneofValue isProto3Message_NestedOneofValue `protobuf_oneof:"nested_oneof_value"` WrapperDoubleValue *wrapperspb.DoubleValue `protobuf:"bytes,17,opt,name=wrapper_double_value,json=wrapperDoubleValue,proto3" json:"wrapper_double_value,omitempty"` WrapperFloatValue *wrapperspb.FloatValue `protobuf:"bytes,18,opt,name=wrapper_float_value,json=wrapperFloatValue,proto3" json:"wrapper_float_value,omitempty"` WrapperInt64Value *wrapperspb.Int64Value `protobuf:"bytes,19,opt,name=wrapper_int64_value,json=wrapperInt64Value,proto3" json:"wrapper_int64_value,omitempty"` WrapperInt32Value *wrapperspb.Int32Value `protobuf:"bytes,20,opt,name=wrapper_int32_value,json=wrapperInt32Value,proto3" json:"wrapper_int32_value,omitempty"` WrapperUInt64Value *wrapperspb.UInt64Value `protobuf:"bytes,21,opt,name=wrapper_u_int64_value,json=wrapperUInt64Value,proto3" json:"wrapper_u_int64_value,omitempty"` WrapperUInt32Value *wrapperspb.UInt32Value `protobuf:"bytes,22,opt,name=wrapper_u_int32_value,json=wrapperUInt32Value,proto3" json:"wrapper_u_int32_value,omitempty"` WrapperBoolValue *wrapperspb.BoolValue `protobuf:"bytes,23,opt,name=wrapper_bool_value,json=wrapperBoolValue,proto3" json:"wrapper_bool_value,omitempty"` WrapperStringValue *wrapperspb.StringValue `protobuf:"bytes,24,opt,name=wrapper_string_value,json=wrapperStringValue,proto3" json:"wrapper_string_value,omitempty"` WrapperBytesValue *wrapperspb.BytesValue `protobuf:"bytes,25,opt,name=wrapper_bytes_value,json=wrapperBytesValue,proto3" json:"wrapper_bytes_value,omitempty"` MapValue map[string]string `protobuf:"bytes,26,rep,name=map_value,json=mapValue,proto3" json:"map_value,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapValue2 map[string]int32 `protobuf:"bytes,27,rep,name=map_value2,json=mapValue2,proto3" json:"map_value2,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapValue3 map[int32]string `protobuf:"bytes,28,rep,name=map_value3,json=mapValue3,proto3" json:"map_value3,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapValue4 map[string]int64 `protobuf:"bytes,29,rep,name=map_value4,json=mapValue4,proto3" json:"map_value4,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapValue5 map[int64]string `protobuf:"bytes,30,rep,name=map_value5,json=mapValue5,proto3" json:"map_value5,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapValue6 map[string]uint32 `protobuf:"bytes,31,rep,name=map_value6,json=mapValue6,proto3" json:"map_value6,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapValue7 map[uint32]string `protobuf:"bytes,32,rep,name=map_value7,json=mapValue7,proto3" json:"map_value7,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapValue8 map[string]uint64 `protobuf:"bytes,33,rep,name=map_value8,json=mapValue8,proto3" json:"map_value8,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapValue9 map[uint64]string `protobuf:"bytes,34,rep,name=map_value9,json=mapValue9,proto3" json:"map_value9,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapValue10 map[string]float32 `protobuf:"bytes,35,rep,name=map_value10,json=mapValue10,proto3" json:"map_value10,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapValue12 map[string]float64 `protobuf:"bytes,37,rep,name=map_value12,json=mapValue12,proto3" json:"map_value12,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapValue14 map[string]bool `protobuf:"bytes,39,rep,name=map_value14,json=mapValue14,proto3" json:"map_value14,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapValue15 map[bool]string `protobuf:"bytes,40,rep,name=map_value15,json=mapValue15,proto3" json:"map_value15,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapValue16 map[string]*wrapperspb.UInt64Value `protobuf:"bytes,45,rep,name=map_value16,json=mapValue16,proto3" json:"map_value16,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` StructValueValue *structpb.Value `protobuf:"bytes,47,opt,name=struct_value_value,json=structValueValue,proto3" json:"struct_value_value,omitempty"` StructValue *structpb.Struct `protobuf:"bytes,48,opt,name=struct_value,json=structValue,proto3" json:"struct_value,omitempty"` // contains filtered or unexported fields }
func (*Proto3Message) Descriptor ¶
func (*Proto3Message) Descriptor() ([]byte, []int)
Deprecated: Use Proto3Message.ProtoReflect.Descriptor instead.
func (*Proto3Message) GetBoolValue ¶
func (x *Proto3Message) GetBoolValue() bool
func (*Proto3Message) GetBytesValue ¶
func (x *Proto3Message) GetBytesValue() []byte
func (*Proto3Message) GetDoubleValue ¶
func (x *Proto3Message) GetDoubleValue() float64
func (*Proto3Message) GetDurationValue ¶
func (x *Proto3Message) GetDurationValue() *durationpb.Duration
func (*Proto3Message) GetEnumValue ¶
func (x *Proto3Message) GetEnumValue() EnumValue
func (*Proto3Message) GetFieldmaskValue ¶
func (x *Proto3Message) GetFieldmaskValue() *fieldmaskpb.FieldMask
func (*Proto3Message) GetFloatValue ¶
func (x *Proto3Message) GetFloatValue() float32
func (*Proto3Message) GetInt32Value ¶
func (x *Proto3Message) GetInt32Value() int32
func (*Proto3Message) GetInt64Value ¶
func (x *Proto3Message) GetInt64Value() int64
func (*Proto3Message) GetMapValue ¶
func (x *Proto3Message) GetMapValue() map[string]string
func (*Proto3Message) GetMapValue10 ¶
func (x *Proto3Message) GetMapValue10() map[string]float32
func (*Proto3Message) GetMapValue12 ¶
func (x *Proto3Message) GetMapValue12() map[string]float64
func (*Proto3Message) GetMapValue14 ¶
func (x *Proto3Message) GetMapValue14() map[string]bool
func (*Proto3Message) GetMapValue15 ¶
func (x *Proto3Message) GetMapValue15() map[bool]string
func (*Proto3Message) GetMapValue16 ¶
func (x *Proto3Message) GetMapValue16() map[string]*wrapperspb.UInt64Value
func (*Proto3Message) GetMapValue2 ¶
func (x *Proto3Message) GetMapValue2() map[string]int32
func (*Proto3Message) GetMapValue3 ¶
func (x *Proto3Message) GetMapValue3() map[int32]string
func (*Proto3Message) GetMapValue4 ¶
func (x *Proto3Message) GetMapValue4() map[string]int64
func (*Proto3Message) GetMapValue5 ¶
func (x *Proto3Message) GetMapValue5() map[int64]string
func (*Proto3Message) GetMapValue6 ¶
func (x *Proto3Message) GetMapValue6() map[string]uint32
func (*Proto3Message) GetMapValue7 ¶
func (x *Proto3Message) GetMapValue7() map[uint32]string
func (*Proto3Message) GetMapValue8 ¶
func (x *Proto3Message) GetMapValue8() map[string]uint64
func (*Proto3Message) GetMapValue9 ¶
func (x *Proto3Message) GetMapValue9() map[uint64]string
func (*Proto3Message) GetNested ¶
func (x *Proto3Message) GetNested() *Proto3Message
func (*Proto3Message) GetNestedOneofInt32Value ¶
func (x *Proto3Message) GetNestedOneofInt32Value() int32
func (*Proto3Message) GetNestedOneofValue ¶
func (m *Proto3Message) GetNestedOneofValue() isProto3Message_NestedOneofValue
func (*Proto3Message) GetNestedOneofValueOne ¶
func (x *Proto3Message) GetNestedOneofValueOne() *Proto3Message
func (*Proto3Message) GetOneofBoolValue ¶
func (x *Proto3Message) GetOneofBoolValue() bool
func (*Proto3Message) GetOneofStringValue ¶
func (x *Proto3Message) GetOneofStringValue() string
func (*Proto3Message) GetOneofValue ¶
func (m *Proto3Message) GetOneofValue() isProto3Message_OneofValue
func (*Proto3Message) GetOptionalValue ¶
func (x *Proto3Message) GetOptionalValue() string
func (*Proto3Message) GetRepeatedEnum ¶
func (x *Proto3Message) GetRepeatedEnum() []EnumValue
func (*Proto3Message) GetRepeatedMessage ¶
func (x *Proto3Message) GetRepeatedMessage() []*wrapperspb.UInt64Value
func (*Proto3Message) GetRepeatedValue ¶
func (x *Proto3Message) GetRepeatedValue() []string
func (*Proto3Message) GetStringValue ¶
func (x *Proto3Message) GetStringValue() string
func (*Proto3Message) GetStructValue ¶
func (x *Proto3Message) GetStructValue() *structpb.Struct
func (*Proto3Message) GetStructValueValue ¶
func (x *Proto3Message) GetStructValueValue() *structpb.Value
func (*Proto3Message) GetTimestampValue ¶
func (x *Proto3Message) GetTimestampValue() *timestamppb.Timestamp
func (*Proto3Message) GetUint32Value ¶
func (x *Proto3Message) GetUint32Value() uint32
func (*Proto3Message) GetUint64Value ¶
func (x *Proto3Message) GetUint64Value() uint64
func (*Proto3Message) GetWrapperBoolValue ¶
func (x *Proto3Message) GetWrapperBoolValue() *wrapperspb.BoolValue
func (*Proto3Message) GetWrapperBytesValue ¶
func (x *Proto3Message) GetWrapperBytesValue() *wrapperspb.BytesValue
func (*Proto3Message) GetWrapperDoubleValue ¶
func (x *Proto3Message) GetWrapperDoubleValue() *wrapperspb.DoubleValue
func (*Proto3Message) GetWrapperFloatValue ¶
func (x *Proto3Message) GetWrapperFloatValue() *wrapperspb.FloatValue
func (*Proto3Message) GetWrapperInt32Value ¶
func (x *Proto3Message) GetWrapperInt32Value() *wrapperspb.Int32Value
func (*Proto3Message) GetWrapperInt64Value ¶
func (x *Proto3Message) GetWrapperInt64Value() *wrapperspb.Int64Value
func (*Proto3Message) GetWrapperStringValue ¶
func (x *Proto3Message) GetWrapperStringValue() *wrapperspb.StringValue
func (*Proto3Message) GetWrapperUInt32Value ¶
func (x *Proto3Message) GetWrapperUInt32Value() *wrapperspb.UInt32Value
func (*Proto3Message) GetWrapperUInt64Value ¶
func (x *Proto3Message) GetWrapperUInt64Value() *wrapperspb.UInt64Value
func (*Proto3Message) ProtoMessage ¶
func (*Proto3Message) ProtoMessage()
func (*Proto3Message) ProtoReflect ¶
func (x *Proto3Message) ProtoReflect() protoreflect.Message
func (*Proto3Message) Reset ¶
func (x *Proto3Message) Reset()
func (*Proto3Message) String ¶
func (x *Proto3Message) String() string
type Proto3Message_NestedOneofInt32Value ¶
type Proto3Message_NestedOneofInt32Value struct { NestedOneofInt32Value int32 `protobuf:"varint,50,opt,name=nested_oneof_int32_value,json=nestedOneofInt32Value,proto3,oneof"` }
type Proto3Message_NestedOneofValueOne ¶
type Proto3Message_NestedOneofValueOne struct { NestedOneofValueOne *Proto3Message `protobuf:"bytes,46,opt,name=nested_oneof_value_one,json=nestedOneofValueOne,proto3,oneof"` }
type Proto3Message_OneofBoolValue ¶
type Proto3Message_OneofBoolValue struct { OneofBoolValue bool `protobuf:"varint,1,opt,name=oneof_bool_value,json=oneofBoolValue,proto3,oneof"` }
type Proto3Message_OneofStringValue ¶
type Proto3Message_OneofStringValue struct { OneofStringValue string `protobuf:"bytes,2,opt,name=oneof_string_value,json=oneofStringValue,proto3,oneof"` }
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 ¶
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 `protobuf:"varint,3,opt,name=type,proto3,enum=grpc.gateway.runtime.internal.examplepb.RepeatedResponseBodyOut_Response_ResponseType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*RepeatedResponseBodyOut_Response) Descriptor ¶
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) Enum ¶
func (x RepeatedResponseBodyOut_Response_ResponseType) Enum() *RepeatedResponseBodyOut_Response_ResponseType
func (RepeatedResponseBodyOut_Response_ResponseType) EnumDescriptor ¶
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
func (RepeatedResponseBodyOut_Response_ResponseType) Type ¶
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 ¶
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 ¶
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 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 ¶
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 UnimplementedNonStandardServiceServer ¶
type UnimplementedNonStandardServiceServer struct{}
UnimplementedNonStandardServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNonStandardServiceServer) Update ¶
func (UnimplementedNonStandardServiceServer) Update(context.Context, *NonStandardUpdateRequest) (*NonStandardMessage, error)
func (UnimplementedNonStandardServiceServer) UpdateWithJSONNames ¶
func (UnimplementedNonStandardServiceServer) UpdateWithJSONNames(context.Context, *NonStandardWithJSONNamesUpdateRequest) (*NonStandardMessageWithJSONNames, error)
type UnsafeNonStandardServiceServer ¶
type UnsafeNonStandardServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNonStandardServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NonStandardServiceServer will result in compilation errors.
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 ¶
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 ¶
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
Source Files ¶
example.pb.go non_standard_names.pb.go non_standard_names_grpc.pb.go proto2.pb.go proto3.pb.go
- Version
- v2.26.1 (latest)
- Published
- Feb 7, 2025
- Platform
- linux/amd64
- Imports
- 16 packages
- Last checked
- 6 days ago –
Tools for package owners.