Movatterモバイル変換


[0]ホーム

URL:


proto3pb

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

This section is empty.

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 (ImportedGlobalEnum_name = map[int32]string{0: "IMPORT_FOO",1: "IMPORT_BAR",2: "IMPORT_BAZ",}ImportedGlobalEnum_value = map[string]int32{"IMPORT_FOO": 0,"IMPORT_BAR": 1,"IMPORT_BAZ": 2,})

Enum value maps for ImportedGlobalEnum.

View Source
var File_test_proto3pb_test_all_types_protoprotoreflect.FileDescriptor
View Source
var File_test_proto3pb_test_import_protoprotoreflect.FileDescriptor

Functions

This section is empty.

Types

typeGlobalEnum

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

func (GlobalEnum)Descriptoradded inv0.7.0

func (GlobalEnum)Enumadded inv0.7.0

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

typeImportedGlobalEnumadded inv0.4.0

type ImportedGlobalEnumint32
const (ImportedGlobalEnum_IMPORT_FOOImportedGlobalEnum = 0ImportedGlobalEnum_IMPORT_BARImportedGlobalEnum = 1ImportedGlobalEnum_IMPORT_BAZImportedGlobalEnum = 2)

func (ImportedGlobalEnum)Descriptoradded inv0.7.0

func (ImportedGlobalEnum)Enumadded inv0.7.0

func (ImportedGlobalEnum)EnumDescriptordeprecatedadded inv0.4.0

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

Deprecated: Use ImportedGlobalEnum.Descriptor instead.

func (ImportedGlobalEnum)Numberadded inv0.7.0

func (ImportedGlobalEnum)Stringadded inv0.4.0

func (xImportedGlobalEnum) String()string

func (ImportedGlobalEnum)Typeadded inv0.7.0

typeNestedTestAllTypes

type NestedTestAllTypes struct {Child   *NestedTestAllTypes `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"`Payload *TestAllTypes       `protobuf:"bytes,2,opt,name=payload,proto3" 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 {SingleInt32int32                   `protobuf:"varint,1,opt,name=single_int32,json=singleInt32,proto3" json:"single_int32,omitempty"`SingleInt64int64                   `protobuf:"varint,2,opt,name=single_int64,json=singleInt64,proto3" json:"single_int64,omitempty"`SingleUint32uint32                  `protobuf:"varint,3,opt,name=single_uint32,json=singleUint32,proto3" json:"single_uint32,omitempty"`SingleUint64uint64                  `protobuf:"varint,4,opt,name=single_uint64,json=singleUint64,proto3" json:"single_uint64,omitempty"`SingleSint32int32                   `protobuf:"zigzag32,5,opt,name=single_sint32,json=singleSint32,proto3" json:"single_sint32,omitempty"`SingleSint64int64                   `protobuf:"zigzag64,6,opt,name=single_sint64,json=singleSint64,proto3" json:"single_sint64,omitempty"`SingleFixed32uint32                  `protobuf:"fixed32,7,opt,name=single_fixed32,json=singleFixed32,proto3" json:"single_fixed32,omitempty"`SingleFixed64uint64                  `protobuf:"fixed64,8,opt,name=single_fixed64,json=singleFixed64,proto3" json:"single_fixed64,omitempty"`SingleSfixed32int32                   `protobuf:"fixed32,9,opt,name=single_sfixed32,json=singleSfixed32,proto3" json:"single_sfixed32,omitempty"`SingleSfixed64int64                   `protobuf:"fixed64,10,opt,name=single_sfixed64,json=singleSfixed64,proto3" json:"single_sfixed64,omitempty"`SingleFloatfloat32                 `protobuf:"fixed32,11,opt,name=single_float,json=singleFloat,proto3" json:"single_float,omitempty"`SingleDoublefloat64                 `protobuf:"fixed64,12,opt,name=single_double,json=singleDouble,proto3" json:"single_double,omitempty"`SingleBoolbool                    `protobuf:"varint,13,opt,name=single_bool,json=singleBool,proto3" json:"single_bool,omitempty"`SingleStringstring                  `protobuf:"bytes,14,opt,name=single_string,json=singleString,proto3" json:"single_string,omitempty"`SingleBytes         []byte                  `protobuf:"bytes,15,opt,name=single_bytes,json=singleBytes,proto3" json:"single_bytes,omitempty"`StandaloneEnumTestAllTypes_NestedEnum ``/* 158-byte string literal not displayed */SingleAny           *anypb.Any              `protobuf:"bytes,100,opt,name=single_any,json=singleAny,proto3" json:"single_any,omitempty"`SingleDuration      *durationpb.Duration    `protobuf:"bytes,101,opt,name=single_duration,json=singleDuration,proto3" json:"single_duration,omitempty"`SingleTimestamp     *timestamppb.Timestamp  `protobuf:"bytes,102,opt,name=single_timestamp,json=singleTimestamp,proto3" json:"single_timestamp,omitempty"`SingleStruct        *structpb.Struct        `protobuf:"bytes,103,opt,name=single_struct,json=singleStruct,proto3" json:"single_struct,omitempty"`SingleValue         *structpb.Value         `protobuf:"bytes,104,opt,name=single_value,json=singleValue,proto3" json:"single_value,omitempty"`SingleInt64Wrapper  *wrapperspb.Int64Value  `protobuf:"bytes,105,opt,name=single_int64_wrapper,json=singleInt64Wrapper,proto3" json:"single_int64_wrapper,omitempty"`SingleInt32Wrapper  *wrapperspb.Int32Value  `protobuf:"bytes,106,opt,name=single_int32_wrapper,json=singleInt32Wrapper,proto3" json:"single_int32_wrapper,omitempty"`SingleDoubleWrapper *wrapperspb.DoubleValue `protobuf:"bytes,107,opt,name=single_double_wrapper,json=singleDoubleWrapper,proto3" json:"single_double_wrapper,omitempty"`SingleFloatWrapper  *wrapperspb.FloatValue  `protobuf:"bytes,108,opt,name=single_float_wrapper,json=singleFloatWrapper,proto3" json:"single_float_wrapper,omitempty"`SingleUint64Wrapper *wrapperspb.UInt64Value `protobuf:"bytes,109,opt,name=single_uint64_wrapper,json=singleUint64Wrapper,proto3" json:"single_uint64_wrapper,omitempty"`SingleUint32Wrapper *wrapperspb.UInt32Value `protobuf:"bytes,110,opt,name=single_uint32_wrapper,json=singleUint32Wrapper,proto3" json:"single_uint32_wrapper,omitempty"`SingleStringWrapper *wrapperspb.StringValue `protobuf:"bytes,111,opt,name=single_string_wrapper,json=singleStringWrapper,proto3" json:"single_string_wrapper,omitempty"`SingleBoolWrapper   *wrapperspb.BoolValue   `protobuf:"bytes,112,opt,name=single_bool_wrapper,json=singleBoolWrapper,proto3" json:"single_bool_wrapper,omitempty"`SingleBytesWrapper  *wrapperspb.BytesValue  `protobuf:"bytes,113,opt,name=single_bytes_wrapper,json=singleBytesWrapper,proto3" 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,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`RepeatedInt64         []int64                       `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`RepeatedUint32        []uint32                      `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`RepeatedUint64        []uint64                      `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`RepeatedSint32        []int32                       `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`RepeatedSint64        []int64                       `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`RepeatedFixed32       []uint32                      `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`RepeatedFixed64       []uint64                      `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`RepeatedSfixed32      []int32                       `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`RepeatedSfixed64      []int64                       `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`RepeatedFloat         []float32                     `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`RepeatedDouble        []float64                     `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`RepeatedBool          []bool                        `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`RepeatedString        []string                      `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`RepeatedBytes         [][]byte                      `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`RepeatedNestedMessage []*TestAllTypes_NestedMessage ``/* 127-byte string literal not displayed */RepeatedNestedEnum    []TestAllTypes_NestedEnum     ``/* 179-byte string literal not displayed */RepeatedStringPiece   []string                      `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece,proto3" json:"repeated_string_piece,omitempty"`RepeatedCord          []string                      `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord,proto3" json:"repeated_cord,omitempty"`RepeatedLazyMessage   []*TestAllTypes_NestedMessage `protobuf:"bytes,57,rep,name=repeated_lazy_message,json=repeatedLazyMessage,proto3" json:"repeated_lazy_message,omitempty"`MapStringString       map[string]string             ``/* 197-byte string literal not displayed */MapInt64NestedType    map[int64]*NestedTestAllTypes ``/* 209-byte string literal not displayed */ImportedEnums         []ImportedGlobalEnum          ``/* 157-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)GetImportedEnumsadded inv0.4.0

func (x *TestAllTypes) GetImportedEnums() []ImportedGlobalEnum

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)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)Enumadded inv0.7.0

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

typeTestAllTypes_NestedMessage

type TestAllTypes_NestedMessage struct {Bbint32 `protobuf:"varint,1,opt,name=bb,proto3" 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 ``/* 136-byte string literal not displayed */}

typeTestAllTypes_SingleNestedMessage

type TestAllTypes_SingleNestedMessage struct {SingleNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=single_nested_message,json=singleNestedMessage,proto3,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