examplepb

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
var File_gateway_runtime_internal_examplepb_proto3_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EnumValue

type EnumValue int32
const (
	EnumValue_X EnumValue = 0
	EnumValue_Y EnumValue = 1
	EnumValue_Z EnumValue = 2
)

func (EnumValue) Descriptor

func (EnumValue) Descriptor() protoreflect.EnumDescriptor

func (EnumValue) Enum

func (x EnumValue) Enum() *EnumValue

func (EnumValue) EnumDescriptor deprecated

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

Deprecated: Use EnumValue.Descriptor instead.

func (EnumValue) Number

func (x EnumValue) Number() protoreflect.EnumNumber

func (EnumValue) String

func (x EnumValue) String() string

func (EnumValue) Type

type Proto3Message

type Proto3Message struct {
	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"`
	RepeatedMessage []*wrapperspb.UInt64Value `protobuf:"bytes,44,rep,name=repeated_message,json=repeatedMessage,proto3" json:"repeated_message,omitempty"`
	EnumValue       EnumValue                 `` /* 145-byte string literal not displayed */
	RepeatedEnum    []EnumValue               `` /* 161-byte string literal not displayed */
	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_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                  `` /* 174-byte string literal not displayed */
	MapValue2          map[string]int32                   `` /* 178-byte string literal not displayed */
	MapValue3          map[int32]string                   `` /* 178-byte string literal not displayed */
	MapValue4          map[string]int64                   `` /* 178-byte string literal not displayed */
	MapValue5          map[int64]string                   `` /* 178-byte string literal not displayed */
	MapValue6          map[string]uint32                  `` /* 178-byte string literal not displayed */
	MapValue7          map[uint32]string                  `` /* 178-byte string literal not displayed */
	MapValue8          map[string]uint64                  `` /* 178-byte string literal not displayed */
	MapValue9          map[uint64]string                  `` /* 178-byte string literal not displayed */
	MapValue10         map[string]float32                 `` /* 182-byte string literal not displayed */
	MapValue12         map[string]float64                 `` /* 182-byte string literal not displayed */
	MapValue14         map[string]bool                    `` /* 181-byte string literal not displayed */
	MapValue15         map[bool]string                    `` /* 181-byte string literal not displayed */
	MapValue16         map[string]*wrapperspb.UInt64Value `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Proto3Message) Descriptor deprecated

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) GetNestedOneofValue added in v1.0.4

func (m *Proto3Message) GetNestedOneofValue() isProto3Message_NestedOneofValue

func (*Proto3Message) GetNestedOneofValueOne added in v1.0.4

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) 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) 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_NestedOneofValueOne added in v1.0.4

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"`
}

Jump to

Keyboard shortcuts

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