examplepb

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Sex_name = map[int32]string{
		0: "man",
		1: "woman",
	}
	Sex_value = map[string]int32{
		"man":   0,
		"woman": 1,
	}
)

Enum value maps for Sex.

View Source
var (
	NumericEnum_name = map[int32]string{
		0: "ZERO",
		1: "ONE",
	}
	NumericEnum_value = map[string]int32{
		"ZERO": 0,
		"ONE":  1,
	}
)

Enum value maps for NumericEnum.

View Source
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.

View Source
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.

View Source
var File_examplepb_encoding_proto protoreflect.FileDescriptor
View Source
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 (*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) Enum

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 (ABitOfEverything_Nested_DeepEnum) String

func (ABitOfEverything_Nested_DeepEnum) Type

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Complex.ProtoReflect.Descriptor instead.

func (*Complex) GetA

func (x *Complex) GetA() uint32

func (*Complex) GetAge

func (x *Complex) GetAge() int32

func (*Complex) GetB

func (x *Complex) GetB() bool

func (*Complex) GetBool

func (x *Complex) GetBool() *wrapperspb.BoolValue

func (*Complex) GetByte

func (x *Complex) GetByte() []byte

func (*Complex) GetBytes

func (x *Complex) GetBytes() *wrapperspb.BytesValue

func (*Complex) GetCount

func (x *Complex) GetCount() uint64

func (*Complex) GetD

func (x *Complex) GetD() float64

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) GetId

func (x *Complex) GetId() int64

func (*Complex) GetInt32

func (x *Complex) GetInt32() *wrapperspb.Int32Value

func (*Complex) GetInt64

func (x *Complex) GetInt64() *wrapperspb.Int64Value

func (*Complex) GetMap

func (x *Complex) GetMap() map[string]string

func (*Complex) GetNoOne

func (x *Complex) GetNoOne() string

func (*Complex) GetPrice

func (x *Complex) GetPrice() float32

func (*Complex) GetSex

func (x *Complex) GetSex() Sex

func (*Complex) GetSimple

func (x *Complex) GetSimple() *Simple

func (*Complex) GetSimples

func (x *Complex) GetSimples() []string

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

func (*Complex) Reset

func (x *Complex) Reset()

func (*Complex) String

func (x *Complex) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use NestedOne.ProtoReflect.Descriptor instead.

func (*NestedOne) GetTwo

func (x *NestedOne) GetTwo() *NestedTwo

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

func (x *NestedOne) String() 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 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) Descriptor() ([]byte, []int)

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

func (x *NestedTwo) 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) 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

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 (*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 (*RepeatedResponseBodyOut_Response) GetType

func (*RepeatedResponseBodyOut_Response) ProtoMessage

func (*RepeatedResponseBodyOut_Response) ProtoMessage()

func (*RepeatedResponseBodyOut_Response) ProtoReflect

func (*RepeatedResponseBodyOut_Response) Reset

func (*RepeatedResponseBodyOut_Response) 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) Enum

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 (RepeatedResponseBodyOut_Response_ResponseType) 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 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
const (
	Sex_man   Sex = 0
	Sex_woman Sex = 1
)

func (Sex) Descriptor

func (Sex) Descriptor() protoreflect.EnumDescriptor

func (Sex) Enum

func (x Sex) Enum() *Sex

func (Sex) EnumDescriptor deprecated

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

Deprecated: Use Sex.Descriptor instead.

func (Sex) Number

func (x Sex) Number() protoreflect.EnumNumber

func (Sex) String

func (x Sex) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Simple.ProtoReflect.Descriptor instead.

func (*Simple) GetComponent

func (x *Simple) GetComponent() string

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) ProtoReflect

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

func (*Simple) Reset

func (x *Simple) Reset()

func (*Simple) String

func (x *Simple) String() string

type 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) Descriptor() ([]byte, []int)

Deprecated: Use Sub.ProtoReflect.Descriptor instead.

func (*Sub) GetName

func (x *Sub) GetName() string

func (*Sub) ProtoMessage

func (*Sub) ProtoMessage()

func (*Sub) ProtoReflect

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

func (*Sub) Reset

func (x *Sub) Reset()

func (*Sub) String

func (x *Sub) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TestModel.ProtoReflect.Descriptor instead.

func (*TestModel) GetHobby

func (x *TestModel) GetHobby() []string

func (*TestModel) GetId

func (x *TestModel) GetId() int64

func (*TestModel) GetName

func (x *TestModel) GetName() string

func (*TestModel) GetSnakeCase

func (x *TestModel) GetSnakeCase() map[string]string

func (*TestModel) ProtoMessage

func (*TestModel) ProtoMessage()

func (*TestModel) ProtoReflect

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

func (*TestModel) Reset

func (x *TestModel) Reset()

func (*TestModel) String

func (x *TestModel) String() string

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

Jump to

Keyboard shortcuts

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