Movatterモバイル変換


[0]ホーム

URL:


proto2pb

package
v0.26.1Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License:Apache-2.0, BSD-3-ClauseImports:9Imported by:0

Details

Repository

github.com/google/cel-go

Links

Documentation

Index

Constants

View Source
const (Default_TestAllTypes_SingleInt32      =int32(-32)Default_TestAllTypes_SingleInt64      =int64(-64)Default_TestAllTypes_SingleUint32     =uint32(32)Default_TestAllTypes_SingleUint64     =uint64(64)Default_TestAllTypes_SingleFloat      =float32(3)Default_TestAllTypes_SingleDouble     =float64(6.4)Default_TestAllTypes_SingleBool       =bool(true)Default_TestAllTypes_SingleString     =string("empty")Default_TestAllTypes_SingleNestedEnum =TestAllTypes_BAR)

Default values for TestAllTypes fields.

Variables

View Source
var (GlobalEnum_name = map[int32]string{0: "GOO",1: "GAR",2: "GAZ",}GlobalEnum_value = map[string]int32{"GOO": 0,"GAR": 1,"GAZ": 2,})

Enum value maps for GlobalEnum.

View Source
var (TestAllTypes_NestedEnum_name = map[int32]string{0: "FOO",1: "BAR",2: "BAZ",}TestAllTypes_NestedEnum_value = map[string]int32{"FOO": 0,"BAR": 1,"BAZ": 2,})

Enum value maps for TestAllTypes_NestedEnum.

View Source
var (// repeated string extended_examples = 103;E_ExtendedExampleType_ExtendedExamples = &file_test_proto2pb_test_all_types_proto_extTypes[0]// optional google.expr.proto2.test.GlobalEnum enum_ext = 104;E_ExtendedExampleType_EnumExt = &file_test_proto2pb_test_all_types_proto_extTypes[1])

Extension fields to ExampleType.

View Source
var (// optional google.expr.proto2.test.ExampleType nested_example = 100;E_NestedExample = &file_test_proto2pb_test_extensions_proto_extTypes[0]// optional int32 int32_ext = 101;E_Int32Ext = &file_test_proto2pb_test_extensions_proto_extTypes[1]// optional google.protobuf.Int32Value int32_wrapper_ext = 102;E_Int32WrapperExt = &file_test_proto2pb_test_extensions_proto_extTypes[2]// optional int64 int64_ext = 201;E_ExternalMessageType_Int64Ext = &file_test_proto2pb_test_extensions_proto_extTypes[3])

Extension fields to ExampleType.

View Source
var (Default_TestAllTypes_SingleBytes = []byte("none"))

Default values for TestAllTypes fields.

View Source
var File_test_proto2pb_test_all_types_protoprotoreflect.FileDescriptor
View Source
var File_test_proto2pb_test_extensions_protoprotoreflect.FileDescriptor

Functions

This section is empty.

Types

typeExampleTypeadded inv0.13.0

type ExampleType struct {Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`In   *int64  `protobuf:"varint,2,opt,name=in" json:"in,omitempty"`// contains filtered or unexported fields}

func (*ExampleType)Descriptordeprecatedadded inv0.13.0

func (*ExampleType) Descriptor() ([]byte, []int)

Deprecated: Use ExampleType.ProtoReflect.Descriptor instead.

func (*ExampleType)GetInadded inv0.23.0

func (x *ExampleType) GetIn()int64

func (*ExampleType)GetNameadded inv0.13.0

func (x *ExampleType) GetName()string

func (*ExampleType)ProtoMessageadded inv0.13.0

func (*ExampleType) ProtoMessage()

func (*ExampleType)ProtoReflectadded inv0.13.0

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

func (*ExampleType)Resetadded inv0.13.0

func (x *ExampleType) Reset()

func (*ExampleType)Stringadded inv0.13.0

func (x *ExampleType) String()string

typeExtendedExampleTypeadded inv0.13.0

type ExtendedExampleType struct {// contains filtered or unexported fields}

func (*ExtendedExampleType)Descriptordeprecatedadded inv0.13.0

func (*ExtendedExampleType) Descriptor() ([]byte, []int)

Deprecated: Use ExtendedExampleType.ProtoReflect.Descriptor instead.

func (*ExtendedExampleType)ProtoMessageadded inv0.13.0

func (*ExtendedExampleType) ProtoMessage()

func (*ExtendedExampleType)ProtoReflectadded inv0.13.0

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

func (*ExtendedExampleType)Resetadded inv0.13.0

func (x *ExtendedExampleType) Reset()

func (*ExtendedExampleType)Stringadded inv0.13.0

func (x *ExtendedExampleType) String()string

typeExternalMessageTypeadded inv0.13.0

type ExternalMessageType struct {// contains filtered or unexported fields}

func (*ExternalMessageType)Descriptordeprecatedadded inv0.13.0

func (*ExternalMessageType) Descriptor() ([]byte, []int)

Deprecated: Use ExternalMessageType.ProtoReflect.Descriptor instead.

func (*ExternalMessageType)ProtoMessageadded inv0.13.0

func (*ExternalMessageType) ProtoMessage()

func (*ExternalMessageType)ProtoReflectadded inv0.13.0

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

func (*ExternalMessageType)Resetadded inv0.13.0

func (x *ExternalMessageType) Reset()

func (*ExternalMessageType)Stringadded inv0.13.0

func (x *ExternalMessageType) String()string

typeGlobalEnum

type GlobalEnumint32
const (GlobalEnum_GOOGlobalEnum = 0GlobalEnum_GARGlobalEnum = 1GlobalEnum_GAZGlobalEnum = 2)

func (GlobalEnum)Descriptoradded inv0.7.0

func (GlobalEnum)Enum

func (xGlobalEnum) Enum() *GlobalEnum

func (GlobalEnum)EnumDescriptordeprecated

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

Deprecated: Use GlobalEnum.Descriptor instead.

func (GlobalEnum)Numberadded inv0.7.0

func (GlobalEnum)String

func (xGlobalEnum) String()string

func (GlobalEnum)Typeadded inv0.7.0

func (*GlobalEnum)UnmarshalJSONdeprecated

func (x *GlobalEnum) UnmarshalJSON(b []byte)error

Deprecated: Do not use.

typeNestedTestAllTypes

type NestedTestAllTypes struct {Child   *NestedTestAllTypes `protobuf:"bytes,1,opt,name=child" json:"child,omitempty"`Payload *TestAllTypes       `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"`// contains filtered or unexported fields}

func (*NestedTestAllTypes)Descriptordeprecated

func (*NestedTestAllTypes) Descriptor() ([]byte, []int)

Deprecated: Use NestedTestAllTypes.ProtoReflect.Descriptor instead.

func (*NestedTestAllTypes)GetChild

func (*NestedTestAllTypes)GetPayload

func (x *NestedTestAllTypes) GetPayload() *TestAllTypes

func (*NestedTestAllTypes)ProtoMessage

func (*NestedTestAllTypes) ProtoMessage()

func (*NestedTestAllTypes)ProtoReflectadded inv0.7.0

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

func (*NestedTestAllTypes)Reset

func (x *NestedTestAllTypes) Reset()

func (*NestedTestAllTypes)String

func (x *NestedTestAllTypes) String()string

typeTestAllTypes

type TestAllTypes struct {SingleInt32         *int32                    `protobuf:"varint,1,opt,name=single_int32,json=singleInt32,def=-32" json:"single_int32,omitempty"`SingleInt64         *int64                    `protobuf:"varint,2,opt,name=single_int64,json=singleInt64,def=-64" json:"single_int64,omitempty"`SingleUint32        *uint32                   `protobuf:"varint,3,opt,name=single_uint32,json=singleUint32,def=32" json:"single_uint32,omitempty"`SingleUint64        *uint64                   `protobuf:"varint,4,opt,name=single_uint64,json=singleUint64,def=64" json:"single_uint64,omitempty"`SingleSint32        *int32                    `protobuf:"zigzag32,5,opt,name=single_sint32,json=singleSint32" json:"single_sint32,omitempty"`SingleSint64        *int64                    `protobuf:"zigzag64,6,opt,name=single_sint64,json=singleSint64" json:"single_sint64,omitempty"`SingleFixed32       *uint32                   `protobuf:"fixed32,7,opt,name=single_fixed32,json=singleFixed32" json:"single_fixed32,omitempty"`SingleFixed64       *uint64                   `protobuf:"fixed64,8,opt,name=single_fixed64,json=singleFixed64" json:"single_fixed64,omitempty"`SingleSfixed32      *int32                    `protobuf:"fixed32,9,opt,name=single_sfixed32,json=singleSfixed32" json:"single_sfixed32,omitempty"`SingleSfixed64      *int64                    `protobuf:"fixed64,10,opt,name=single_sfixed64,json=singleSfixed64" json:"single_sfixed64,omitempty"`SingleFloat         *float32                  `protobuf:"fixed32,11,opt,name=single_float,json=singleFloat,def=3" json:"single_float,omitempty"`SingleDouble        *float64                  `protobuf:"fixed64,12,opt,name=single_double,json=singleDouble,def=6.4" json:"single_double,omitempty"`SingleBool          *bool                     `protobuf:"varint,13,opt,name=single_bool,json=singleBool,def=1" json:"single_bool,omitempty"`SingleString        *string                   `protobuf:"bytes,14,opt,name=single_string,json=singleString,def=empty" json:"single_string,omitempty"`SingleBytes         []byte                    `protobuf:"bytes,15,opt,name=single_bytes,json=singleBytes,def=none" json:"single_bytes,omitempty"`StandaloneEnum      *TestAllTypes_NestedEnum  ``/* 151-byte string literal not displayed */Nestedgroup         *TestAllTypes_NestedGroup `protobuf:"group,23,opt,name=NestedGroup,json=nestedgroup" json:"nestedgroup,omitempty"`SingleAny           *anypb.Any                `protobuf:"bytes,100,opt,name=single_any,json=singleAny" json:"single_any,omitempty"`SingleDuration      *durationpb.Duration      `protobuf:"bytes,101,opt,name=single_duration,json=singleDuration" json:"single_duration,omitempty"`SingleTimestamp     *timestamppb.Timestamp    `protobuf:"bytes,102,opt,name=single_timestamp,json=singleTimestamp" json:"single_timestamp,omitempty"`SingleStruct        *structpb.Struct          `protobuf:"bytes,103,opt,name=single_struct,json=singleStruct" json:"single_struct,omitempty"`SingleValue         *structpb.Value           `protobuf:"bytes,104,opt,name=single_value,json=singleValue" json:"single_value,omitempty"`SingleInt64Wrapper  *wrapperspb.Int64Value    `protobuf:"bytes,105,opt,name=single_int64_wrapper,json=singleInt64Wrapper" json:"single_int64_wrapper,omitempty"`SingleInt32Wrapper  *wrapperspb.Int32Value    `protobuf:"bytes,106,opt,name=single_int32_wrapper,json=singleInt32Wrapper" json:"single_int32_wrapper,omitempty"`SingleDoubleWrapper *wrapperspb.DoubleValue   `protobuf:"bytes,107,opt,name=single_double_wrapper,json=singleDoubleWrapper" json:"single_double_wrapper,omitempty"`SingleFloatWrapper  *wrapperspb.FloatValue    `protobuf:"bytes,108,opt,name=single_float_wrapper,json=singleFloatWrapper" json:"single_float_wrapper,omitempty"`SingleUint64Wrapper *wrapperspb.UInt64Value   `protobuf:"bytes,109,opt,name=single_uint64_wrapper,json=singleUint64Wrapper" json:"single_uint64_wrapper,omitempty"`SingleUint32Wrapper *wrapperspb.UInt32Value   `protobuf:"bytes,110,opt,name=single_uint32_wrapper,json=singleUint32Wrapper" json:"single_uint32_wrapper,omitempty"`SingleStringWrapper *wrapperspb.StringValue   `protobuf:"bytes,111,opt,name=single_string_wrapper,json=singleStringWrapper" json:"single_string_wrapper,omitempty"`SingleBoolWrapper   *wrapperspb.BoolValue     `protobuf:"bytes,112,opt,name=single_bool_wrapper,json=singleBoolWrapper" json:"single_bool_wrapper,omitempty"`SingleBytesWrapper  *wrapperspb.BytesValue    `protobuf:"bytes,113,opt,name=single_bytes_wrapper,json=singleBytesWrapper" json:"single_bytes_wrapper,omitempty"`// Types that are assignable to NestedType:////*TestAllTypes_SingleNestedMessage//*TestAllTypes_SingleNestedEnumNestedType            isTestAllTypes_NestedType     `protobuf_oneof:"nested_type"`RepeatedInt32         []int32                       `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`RepeatedInt64         []int64                       `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`RepeatedUint32        []uint32                      `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`RepeatedUint64        []uint64                      `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`RepeatedSint32        []int32                       `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`RepeatedSint64        []int64                       `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`RepeatedFixed32       []uint32                      `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`RepeatedFixed64       []uint64                      `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`RepeatedSfixed32      []int32                       `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`RepeatedSfixed64      []int64                       `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`RepeatedFloat         []float32                     `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`RepeatedDouble        []float64                     `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`RepeatedBool          []bool                        `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`RepeatedString        []string                      `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`RepeatedBytes         [][]byte                      `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`RepeatedNestedEnum    []TestAllTypes_NestedEnum     ``/* 165-byte string literal not displayed */RepeatedStringPiece   []string                      `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece" json:"repeated_string_piece,omitempty"`RepeatedCord          []string                      `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord" json:"repeated_cord,omitempty"`RepeatedLazyMessage   []*TestAllTypes_NestedMessage `protobuf:"bytes,57,rep,name=repeated_lazy_message,json=repeatedLazyMessage" json:"repeated_lazy_message,omitempty"`MapStringString       map[string]string             ``/* 176-byte string literal not displayed */MapInt64NestedType    map[int64]*NestedTestAllTypes ``/* 188-byte string literal not displayed */// contains filtered or unexported fields}

func (*TestAllTypes)Descriptordeprecated

func (*TestAllTypes) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.

func (*TestAllTypes)GetMapInt64NestedType

func (x *TestAllTypes) GetMapInt64NestedType() map[int64]*NestedTestAllTypes

func (*TestAllTypes)GetMapStringString

func (x *TestAllTypes) GetMapStringString() map[string]string

func (*TestAllTypes)GetNestedType

func (m *TestAllTypes) GetNestedType() isTestAllTypes_NestedType

func (*TestAllTypes)GetNestedgroupadded inv0.12.0

func (x *TestAllTypes) GetNestedgroup() *TestAllTypes_NestedGroup

func (*TestAllTypes)GetRepeatedBool

func (x *TestAllTypes) GetRepeatedBool() []bool

func (*TestAllTypes)GetRepeatedBytes

func (x *TestAllTypes) GetRepeatedBytes() [][]byte

func (*TestAllTypes)GetRepeatedCord

func (x *TestAllTypes) GetRepeatedCord() []string

func (*TestAllTypes)GetRepeatedDouble

func (x *TestAllTypes) GetRepeatedDouble() []float64

func (*TestAllTypes)GetRepeatedFixed32

func (x *TestAllTypes) GetRepeatedFixed32() []uint32

func (*TestAllTypes)GetRepeatedFixed64

func (x *TestAllTypes) GetRepeatedFixed64() []uint64

func (*TestAllTypes)GetRepeatedFloat

func (x *TestAllTypes) GetRepeatedFloat() []float32

func (*TestAllTypes)GetRepeatedInt32

func (x *TestAllTypes) GetRepeatedInt32() []int32

func (*TestAllTypes)GetRepeatedInt64

func (x *TestAllTypes) GetRepeatedInt64() []int64

func (*TestAllTypes)GetRepeatedLazyMessage

func (x *TestAllTypes) GetRepeatedLazyMessage() []*TestAllTypes_NestedMessage

func (*TestAllTypes)GetRepeatedNestedEnum

func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum

func (*TestAllTypes)GetRepeatedNestedMessage

func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage

func (*TestAllTypes)GetRepeatedSfixed32

func (x *TestAllTypes) GetRepeatedSfixed32() []int32

func (*TestAllTypes)GetRepeatedSfixed64

func (x *TestAllTypes) GetRepeatedSfixed64() []int64

func (*TestAllTypes)GetRepeatedSint32

func (x *TestAllTypes) GetRepeatedSint32() []int32

func (*TestAllTypes)GetRepeatedSint64

func (x *TestAllTypes) GetRepeatedSint64() []int64

func (*TestAllTypes)GetRepeatedString

func (x *TestAllTypes) GetRepeatedString() []string

func (*TestAllTypes)GetRepeatedStringPiece

func (x *TestAllTypes) GetRepeatedStringPiece() []string

func (*TestAllTypes)GetRepeatedUint32

func (x *TestAllTypes) GetRepeatedUint32() []uint32

func (*TestAllTypes)GetRepeatedUint64

func (x *TestAllTypes) GetRepeatedUint64() []uint64

func (*TestAllTypes)GetSingleAny

func (x *TestAllTypes) GetSingleAny() *anypb.Any

func (*TestAllTypes)GetSingleBool

func (x *TestAllTypes) GetSingleBool()bool

func (*TestAllTypes)GetSingleBoolWrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleBoolWrapper() *wrapperspb.BoolValue

func (*TestAllTypes)GetSingleBytes

func (x *TestAllTypes) GetSingleBytes() []byte

func (*TestAllTypes)GetSingleBytesWrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleBytesWrapper() *wrapperspb.BytesValue

func (*TestAllTypes)GetSingleDouble

func (x *TestAllTypes) GetSingleDouble()float64

func (*TestAllTypes)GetSingleDoubleWrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleDoubleWrapper() *wrapperspb.DoubleValue

func (*TestAllTypes)GetSingleDuration

func (x *TestAllTypes) GetSingleDuration() *durationpb.Duration

func (*TestAllTypes)GetSingleFixed32

func (x *TestAllTypes) GetSingleFixed32()uint32

func (*TestAllTypes)GetSingleFixed64

func (x *TestAllTypes) GetSingleFixed64()uint64

func (*TestAllTypes)GetSingleFloat

func (x *TestAllTypes) GetSingleFloat()float32

func (*TestAllTypes)GetSingleFloatWrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleFloatWrapper() *wrapperspb.FloatValue

func (*TestAllTypes)GetSingleInt32

func (x *TestAllTypes) GetSingleInt32()int32

func (*TestAllTypes)GetSingleInt32Wrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleInt32Wrapper() *wrapperspb.Int32Value

func (*TestAllTypes)GetSingleInt64

func (x *TestAllTypes) GetSingleInt64()int64

func (*TestAllTypes)GetSingleInt64Wrapper

func (x *TestAllTypes) GetSingleInt64Wrapper() *wrapperspb.Int64Value

func (*TestAllTypes)GetSingleNestedEnum

func (x *TestAllTypes) GetSingleNestedEnum()TestAllTypes_NestedEnum

func (*TestAllTypes)GetSingleNestedMessage

func (x *TestAllTypes) GetSingleNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes)GetSingleSfixed32

func (x *TestAllTypes) GetSingleSfixed32()int32

func (*TestAllTypes)GetSingleSfixed64

func (x *TestAllTypes) GetSingleSfixed64()int64

func (*TestAllTypes)GetSingleSint32

func (x *TestAllTypes) GetSingleSint32()int32

func (*TestAllTypes)GetSingleSint64

func (x *TestAllTypes) GetSingleSint64()int64

func (*TestAllTypes)GetSingleString

func (x *TestAllTypes) GetSingleString()string

func (*TestAllTypes)GetSingleStringWrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleStringWrapper() *wrapperspb.StringValue

func (*TestAllTypes)GetSingleStruct

func (x *TestAllTypes) GetSingleStruct() *structpb.Struct

func (*TestAllTypes)GetSingleTimestamp

func (x *TestAllTypes) GetSingleTimestamp() *timestamppb.Timestamp

func (*TestAllTypes)GetSingleUint32

func (x *TestAllTypes) GetSingleUint32()uint32

func (*TestAllTypes)GetSingleUint32Wrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleUint32Wrapper() *wrapperspb.UInt32Value

func (*TestAllTypes)GetSingleUint64

func (x *TestAllTypes) GetSingleUint64()uint64

func (*TestAllTypes)GetSingleUint64Wrapperadded inv0.3.0

func (x *TestAllTypes) GetSingleUint64Wrapper() *wrapperspb.UInt64Value

func (*TestAllTypes)GetSingleValue

func (x *TestAllTypes) GetSingleValue() *structpb.Value

func (*TestAllTypes)GetStandaloneEnumadded inv0.4.2

func (x *TestAllTypes) GetStandaloneEnum()TestAllTypes_NestedEnum

func (*TestAllTypes)ProtoMessage

func (*TestAllTypes) ProtoMessage()

func (*TestAllTypes)ProtoReflectadded inv0.7.0

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

func (*TestAllTypes)Reset

func (x *TestAllTypes) Reset()

func (*TestAllTypes)String

func (x *TestAllTypes) String()string

typeTestAllTypes_NestedEnum

type TestAllTypes_NestedEnumint32
const (TestAllTypes_FOOTestAllTypes_NestedEnum = 0TestAllTypes_BARTestAllTypes_NestedEnum = 1TestAllTypes_BAZTestAllTypes_NestedEnum = 2)

func (TestAllTypes_NestedEnum)Descriptoradded inv0.7.0

func (TestAllTypes_NestedEnum)Enum

func (TestAllTypes_NestedEnum)EnumDescriptordeprecated

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

Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.

func (TestAllTypes_NestedEnum)Numberadded inv0.7.0

func (TestAllTypes_NestedEnum)String

func (TestAllTypes_NestedEnum)Typeadded inv0.7.0

func (*TestAllTypes_NestedEnum)UnmarshalJSONdeprecated

func (x *TestAllTypes_NestedEnum) UnmarshalJSON(b []byte)error

Deprecated: Do not use.

typeTestAllTypes_NestedGroupadded inv0.12.0

type TestAllTypes_NestedGroup struct {NestedId   *int32  `protobuf:"varint,24,opt,name=nested_id,json=nestedId" json:"nested_id,omitempty"`NestedName *string `protobuf:"bytes,25,opt,name=nested_name,json=nestedName" json:"nested_name,omitempty"`// contains filtered or unexported fields}

func (*TestAllTypes_NestedGroup)Descriptordeprecatedadded inv0.12.0

func (*TestAllTypes_NestedGroup) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_NestedGroup.ProtoReflect.Descriptor instead.

func (*TestAllTypes_NestedGroup)GetNestedIdadded inv0.12.0

func (x *TestAllTypes_NestedGroup) GetNestedId()int32

func (*TestAllTypes_NestedGroup)GetNestedNameadded inv0.12.0

func (x *TestAllTypes_NestedGroup) GetNestedName()string

func (*TestAllTypes_NestedGroup)ProtoMessageadded inv0.12.0

func (*TestAllTypes_NestedGroup) ProtoMessage()

func (*TestAllTypes_NestedGroup)ProtoReflectadded inv0.12.0

func (*TestAllTypes_NestedGroup)Resetadded inv0.12.0

func (x *TestAllTypes_NestedGroup) Reset()

func (*TestAllTypes_NestedGroup)Stringadded inv0.12.0

typeTestAllTypes_NestedMessage

type TestAllTypes_NestedMessage struct {Bb *int32 `protobuf:"varint,1,opt,name=bb" json:"bb,omitempty"`// contains filtered or unexported fields}

func (*TestAllTypes_NestedMessage)Descriptordeprecated

func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllTypes_NestedMessage)GetBb

func (*TestAllTypes_NestedMessage)ProtoMessage

func (*TestAllTypes_NestedMessage) ProtoMessage()

func (*TestAllTypes_NestedMessage)ProtoReflectadded inv0.7.0

func (*TestAllTypes_NestedMessage)Reset

func (x *TestAllTypes_NestedMessage) Reset()

func (*TestAllTypes_NestedMessage)String

typeTestAllTypes_SingleNestedEnum

type TestAllTypes_SingleNestedEnum struct {SingleNestedEnumTestAllTypes_NestedEnum ``/* 135-byte string literal not displayed */}

typeTestAllTypes_SingleNestedMessage

type TestAllTypes_SingleNestedMessage struct {SingleNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=single_nested_message,json=singleNestedMessage,oneof"`}

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp