Documentation ¶
Index ¶
- Variables
- type ForeignEnum
- func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ForeignEnum) Enum() *ForeignEnum
- func (ForeignEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForeignEnum) Number() protoreflect.EnumNumber
- func (x ForeignEnum) String() string
- func (ForeignEnum) Type() protoreflect.EnumType
- type ForeignMessage
- type NestedTestAllTypes
- func (*NestedTestAllTypes) Descriptor() ([]byte, []int)deprecated
- func (x *NestedTestAllTypes) GetChild() *NestedTestAllTypes
- func (x *NestedTestAllTypes) GetMapStringToInt64() map[string]int64
- func (x *NestedTestAllTypes) GetPayload() *TestAllTypes
- func (*NestedTestAllTypes) ProtoMessage()
- func (x *NestedTestAllTypes) ProtoReflect() protoreflect.Message
- func (x *NestedTestAllTypes) Reset()
- func (x *NestedTestAllTypes) String() string
- type TestAllTypes
- func (*TestAllTypes) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes) GetAnotherMapStringToMessage() map[string]*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetMapBoolToMessage() map[bool]*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetMapInt32ToMessage() map[int32]*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetMapInt64ToMessage() map[int64]*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetMapInt64ToString() map[int64]string
- func (x *TestAllTypes) GetMapStringToInt64() map[string]int64
- func (x *TestAllTypes) GetMapStringToMessage() map[string]*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetOneofBytes() []byte
- func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum
- func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
- func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetOneofString() string
- func (x *TestAllTypes) GetOneofUint32() uint32
- func (x *TestAllTypes) GetOptionalBool() bool
- func (x *TestAllTypes) GetOptionalBytes() []byte
- func (x *TestAllTypes) GetOptionalCord() string
- func (x *TestAllTypes) GetOptionalDouble() float64
- func (x *TestAllTypes) GetOptionalFixed32() uint32
- func (x *TestAllTypes) GetOptionalFixed64() uint64
- func (x *TestAllTypes) GetOptionalFloat() float32
- func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
- func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
- func (x *TestAllTypes) GetOptionalInt32() int32
- func (x *TestAllTypes) GetOptionalInt64() int64
- func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetOptionalSfixed32() int32
- func (x *TestAllTypes) GetOptionalSfixed64() int64
- func (x *TestAllTypes) GetOptionalSint32() int32
- func (x *TestAllTypes) GetOptionalSint64() int64
- func (x *TestAllTypes) GetOptionalString() string
- func (x *TestAllTypes) GetOptionalUint32() uint32
- func (x *TestAllTypes) GetOptionalUint64() uint64
- func (x *TestAllTypes) GetPackedRepeatedInt64() []int64
- func (x *TestAllTypes) GetRepeatedBool() []bool
- func (x *TestAllTypes) GetRepeatedBytes() [][]byte
- func (x *TestAllTypes) GetRepeatedCord() []string
- func (x *TestAllTypes) GetRepeatedDouble() []float64
- func (x *TestAllTypes) GetRepeatedFixed32() []uint32
- func (x *TestAllTypes) GetRepeatedFixed64() []uint64
- func (x *TestAllTypes) GetRepeatedFloat() []float32
- func (x *TestAllTypes) GetRepeatedInt32() []int32
- func (x *TestAllTypes) GetRepeatedInt64() []int64
- func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetRepeatedSfixed32() []int32
- func (x *TestAllTypes) GetRepeatedSfixed64() []int64
- func (x *TestAllTypes) GetRepeatedSint32() []int32
- func (x *TestAllTypes) GetRepeatedSint64() []int64
- func (x *TestAllTypes) GetRepeatedString() []string
- func (x *TestAllTypes) GetRepeatedUint32() []uint32
- func (x *TestAllTypes) GetRepeatedUint64() []uint64
- func (*TestAllTypes) ProtoMessage()
- func (x *TestAllTypes) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes) Reset()
- func (x *TestAllTypes) String() string
- type TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypes_NestedEnum) String() string
- func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
- type TestAllTypes_NestedMessage
- func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes_NestedMessage) GetMsg() *TestAllTypes_NestedMessage_DoubleNestedMessage
- func (x *TestAllTypes_NestedMessage) GetOptionalInt32() int32
- func (x *TestAllTypes_NestedMessage) GetOptionalInt64() int64
- func (x *TestAllTypes_NestedMessage) GetRepeatedInt32() []int32
- func (*TestAllTypes_NestedMessage) ProtoMessage()
- func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes_NestedMessage) Reset()
- func (x *TestAllTypes_NestedMessage) String() string
- type TestAllTypes_NestedMessage_DoubleNestedMessage
- func (*TestAllTypes_NestedMessage_DoubleNestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) GetOptionalString() string
- func (*TestAllTypes_NestedMessage_DoubleNestedMessage) ProtoMessage()
- func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) Reset()
- func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) String() string
- type TestAllTypes_OneofBytes
- type TestAllTypes_OneofEnum
- type TestAllTypes_OneofNestedMessage
- type TestAllTypes_OneofString
- type TestAllTypes_OneofUint32
- type TestEmptyMessage
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_ZERO", 4: "FOREIGN_FOO", 5: "FOREIGN_BAR", 6: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_ZERO": 0, "FOREIGN_FOO": 4, "FOREIGN_BAR": 5, "FOREIGN_BAZ": 6, } )
Enum value maps for ForeignEnum.
View Source
var ( TestAllTypes_NestedEnum_name = map[int32]string{ 0: "ZERO", 1: "FOO", 2: "BAR", 3: "BAZ", -1: "NEG", } TestAllTypes_NestedEnum_value = map[string]int32{ "ZERO": 0, "FOO": 1, "BAR": 2, "BAZ": 3, "NEG": -1, } )
Enum value maps for TestAllTypes_NestedEnum.
View Source
var File_tensorflow_tools_proto_text_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ForeignEnum ¶
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_ZERO ForeignEnum = 0 ForeignEnum_FOREIGN_FOO ForeignEnum = 4 ForeignEnum_FOREIGN_BAR ForeignEnum = 5 ForeignEnum_FOREIGN_BAZ ForeignEnum = 6 )
func (ForeignEnum) Descriptor ¶
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
func (ForeignEnum) Enum ¶
func (x ForeignEnum) Enum() *ForeignEnum
func (ForeignEnum) EnumDescriptor
deprecated
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Descriptor instead.
func (ForeignEnum) Number ¶
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (ForeignEnum) String ¶
func (x ForeignEnum) String() string
func (ForeignEnum) Type ¶
func (ForeignEnum) Type() protoreflect.EnumType
type ForeignMessage ¶
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessage) Descriptor
deprecated
func (*ForeignMessage) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
func (*ForeignMessage) GetC ¶
func (x *ForeignMessage) GetC() int32
func (*ForeignMessage) ProtoMessage ¶
func (*ForeignMessage) ProtoMessage()
func (*ForeignMessage) ProtoReflect ¶
func (x *ForeignMessage) ProtoReflect() protoreflect.Message
func (*ForeignMessage) Reset ¶
func (x *ForeignMessage) Reset()
func (*ForeignMessage) String ¶
func (x *ForeignMessage) String() string
type NestedTestAllTypes ¶
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"` MapStringToInt64 map[string]int64 `` /* 202-byte string literal not displayed */ // contains filtered or unexported fields }
A recursive message.
func (*NestedTestAllTypes) Descriptor
deprecated
func (*NestedTestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use NestedTestAllTypes.ProtoReflect.Descriptor instead.
func (*NestedTestAllTypes) GetChild ¶
func (x *NestedTestAllTypes) GetChild() *NestedTestAllTypes
func (*NestedTestAllTypes) GetMapStringToInt64 ¶
func (x *NestedTestAllTypes) GetMapStringToInt64() map[string]int64
func (*NestedTestAllTypes) GetPayload ¶
func (x *NestedTestAllTypes) GetPayload() *TestAllTypes
func (*NestedTestAllTypes) ProtoMessage ¶
func (*NestedTestAllTypes) ProtoMessage()
func (*NestedTestAllTypes) ProtoReflect ¶
func (x *NestedTestAllTypes) ProtoReflect() protoreflect.Message
func (*NestedTestAllTypes) Reset ¶
func (x *NestedTestAllTypes) Reset()
func (*NestedTestAllTypes) String ¶
func (x *NestedTestAllTypes) String() string
type TestAllTypes ¶
type TestAllTypes struct { // Singular OptionalInt32 int32 `protobuf:"varint,1000,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` // use large tag to test output order. OptionalInt64 int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` OptionalUint32 uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` OptionalUint64 uint64 `protobuf:"varint,999,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` // use large tag to test output order. OptionalSint32 int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` OptionalSint64 int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` OptionalFixed32 uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` OptionalFixed64 uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` OptionalSfixed64 int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` OptionalDouble float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` OptionalBool bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` OptionalString string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` OptionalNestedMessage *TestAllTypes_NestedMessage `` /* 127-byte string literal not displayed */ OptionalForeignMessage *ForeignMessage `` /* 130-byte string literal not displayed */ OptionalNestedEnum TestAllTypes_NestedEnum `` /* 164-byte string literal not displayed */ OptionalForeignEnum ForeignEnum `` /* 155-byte string literal not displayed */ OptionalCord string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord,proto3" json:"optional_cord,omitempty"` // Repeated 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 `` /* 171-byte string literal not displayed */ RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord,proto3" json:"repeated_cord,omitempty"` // Types that are assignable to OneofField: // // *TestAllTypes_OneofUint32 // *TestAllTypes_OneofNestedMessage // *TestAllTypes_OneofString // *TestAllTypes_OneofBytes // *TestAllTypes_OneofEnum OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"` MapStringToMessage map[string]*TestAllTypes_NestedMessage `` /* 208-byte string literal not displayed */ MapInt32ToMessage map[int32]*TestAllTypes_NestedMessage `` /* 206-byte string literal not displayed */ MapInt64ToMessage map[int64]*TestAllTypes_NestedMessage `` /* 206-byte string literal not displayed */ MapBoolToMessage map[bool]*TestAllTypes_NestedMessage `` /* 203-byte string literal not displayed */ MapStringToInt64 map[string]int64 `` /* 203-byte string literal not displayed */ MapInt64ToString map[int64]string `` /* 203-byte string literal not displayed */ AnotherMapStringToMessage map[string]*TestAllTypes_NestedMessage `` /* 231-byte string literal not displayed */ PackedRepeatedInt64 []int64 `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestAllTypes) Descriptor
deprecated
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
func (*TestAllTypes) GetAnotherMapStringToMessage ¶
func (x *TestAllTypes) GetAnotherMapStringToMessage() map[string]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapBoolToMessage ¶
func (x *TestAllTypes) GetMapBoolToMessage() map[bool]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapInt32ToMessage ¶
func (x *TestAllTypes) GetMapInt32ToMessage() map[int32]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapInt64ToMessage ¶
func (x *TestAllTypes) GetMapInt64ToMessage() map[int64]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapInt64ToString ¶
func (x *TestAllTypes) GetMapInt64ToString() map[int64]string
func (*TestAllTypes) GetMapStringToInt64 ¶
func (x *TestAllTypes) GetMapStringToInt64() map[string]int64
func (*TestAllTypes) GetMapStringToMessage ¶
func (x *TestAllTypes) GetMapStringToMessage() map[string]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetOneofBytes ¶
func (x *TestAllTypes) GetOneofBytes() []byte
func (*TestAllTypes) GetOneofEnum ¶
func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetOneofField ¶
func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
func (*TestAllTypes) GetOneofNestedMessage ¶
func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOneofString ¶
func (x *TestAllTypes) GetOneofString() string
func (*TestAllTypes) GetOneofUint32 ¶
func (x *TestAllTypes) GetOneofUint32() uint32
func (*TestAllTypes) GetOptionalBool ¶
func (x *TestAllTypes) GetOptionalBool() bool
func (*TestAllTypes) GetOptionalBytes ¶
func (x *TestAllTypes) GetOptionalBytes() []byte
func (*TestAllTypes) GetOptionalCord ¶
func (x *TestAllTypes) GetOptionalCord() string
func (*TestAllTypes) GetOptionalDouble ¶
func (x *TestAllTypes) GetOptionalDouble() float64
func (*TestAllTypes) GetOptionalFixed32 ¶
func (x *TestAllTypes) GetOptionalFixed32() uint32
func (*TestAllTypes) GetOptionalFixed64 ¶
func (x *TestAllTypes) GetOptionalFixed64() uint64
func (*TestAllTypes) GetOptionalFloat ¶
func (x *TestAllTypes) GetOptionalFloat() float32
func (*TestAllTypes) GetOptionalForeignEnum ¶
func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
func (*TestAllTypes) GetOptionalForeignMessage ¶
func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
func (*TestAllTypes) GetOptionalInt32 ¶
func (x *TestAllTypes) GetOptionalInt32() int32
func (*TestAllTypes) GetOptionalInt64 ¶
func (x *TestAllTypes) GetOptionalInt64() int64
func (*TestAllTypes) GetOptionalNestedEnum ¶
func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetOptionalNestedMessage ¶
func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOptionalSfixed32 ¶
func (x *TestAllTypes) GetOptionalSfixed32() int32
func (*TestAllTypes) GetOptionalSfixed64 ¶
func (x *TestAllTypes) GetOptionalSfixed64() int64
func (*TestAllTypes) GetOptionalSint32 ¶
func (x *TestAllTypes) GetOptionalSint32() int32
func (*TestAllTypes) GetOptionalSint64 ¶
func (x *TestAllTypes) GetOptionalSint64() int64
func (*TestAllTypes) GetOptionalString ¶
func (x *TestAllTypes) GetOptionalString() string
func (*TestAllTypes) GetOptionalUint32 ¶
func (x *TestAllTypes) GetOptionalUint32() uint32
func (*TestAllTypes) GetOptionalUint64 ¶
func (x *TestAllTypes) GetOptionalUint64() uint64
func (*TestAllTypes) GetPackedRepeatedInt64 ¶
func (x *TestAllTypes) GetPackedRepeatedInt64() []int64
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) 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) GetRepeatedUint32 ¶
func (x *TestAllTypes) GetRepeatedUint32() []uint32
func (*TestAllTypes) GetRepeatedUint64 ¶
func (x *TestAllTypes) GetRepeatedUint64() []uint64
func (*TestAllTypes) ProtoMessage ¶
func (*TestAllTypes) ProtoMessage()
func (*TestAllTypes) ProtoReflect ¶
func (x *TestAllTypes) ProtoReflect() protoreflect.Message
func (*TestAllTypes) Reset ¶
func (x *TestAllTypes) Reset()
func (*TestAllTypes) String ¶
func (x *TestAllTypes) String() string
type TestAllTypes_NestedEnum ¶
type TestAllTypes_NestedEnum int32
const ( TestAllTypes_ZERO TestAllTypes_NestedEnum = 0 TestAllTypes_FOO TestAllTypes_NestedEnum = 1 TestAllTypes_BAR TestAllTypes_NestedEnum = 2 TestAllTypes_BAZ TestAllTypes_NestedEnum = 3 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypes_NestedEnum) Descriptor ¶
func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypes_NestedEnum) Enum ¶
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor
deprecated
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
func (TestAllTypes_NestedEnum) Number ¶
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllTypes_NestedEnum) String ¶
func (x TestAllTypes_NestedEnum) String() string
func (TestAllTypes_NestedEnum) Type ¶
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
type TestAllTypes_NestedMessage ¶
type TestAllTypes_NestedMessage struct { OptionalInt32 int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,2,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` Msg *TestAllTypes_NestedMessage_DoubleNestedMessage `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` OptionalInt64 int64 `protobuf:"varint,4,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_NestedMessage) Descriptor
deprecated
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllTypes_NestedMessage) GetMsg ¶
func (x *TestAllTypes_NestedMessage) GetMsg() *TestAllTypes_NestedMessage_DoubleNestedMessage
func (*TestAllTypes_NestedMessage) GetOptionalInt32 ¶
func (x *TestAllTypes_NestedMessage) GetOptionalInt32() int32
func (*TestAllTypes_NestedMessage) GetOptionalInt64 ¶
func (x *TestAllTypes_NestedMessage) GetOptionalInt64() int64
func (*TestAllTypes_NestedMessage) GetRepeatedInt32 ¶
func (x *TestAllTypes_NestedMessage) GetRepeatedInt32() []int32
func (*TestAllTypes_NestedMessage) ProtoMessage ¶
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage) ProtoReflect ¶
func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypes_NestedMessage) Reset ¶
func (x *TestAllTypes_NestedMessage) Reset()
func (*TestAllTypes_NestedMessage) String ¶
func (x *TestAllTypes_NestedMessage) String() string
type TestAllTypes_NestedMessage_DoubleNestedMessage ¶
type TestAllTypes_NestedMessage_DoubleNestedMessage struct { OptionalString string `protobuf:"bytes,1,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) Descriptor
deprecated
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage_DoubleNestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) GetOptionalString ¶
func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) GetOptionalString() string
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) ProtoMessage ¶
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) ProtoReflect ¶
func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) Reset ¶
func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) Reset()
func (*TestAllTypes_NestedMessage_DoubleNestedMessage) String ¶
func (x *TestAllTypes_NestedMessage_DoubleNestedMessage) String() string
type TestAllTypes_OneofBytes ¶
type TestAllTypes_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
}
type TestAllTypes_OneofEnum ¶
type TestAllTypes_OneofEnum struct {
OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,100,opt,name=oneof_enum,json=oneofEnum,proto3,enum=tensorflow.test.TestAllTypes_NestedEnum,oneof"`
}
type TestAllTypes_OneofNestedMessage ¶
type TestAllTypes_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"`
}
type TestAllTypes_OneofString ¶
type TestAllTypes_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}
type TestAllTypes_OneofUint32 ¶
type TestAllTypes_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
}
type TestEmptyMessage ¶
type TestEmptyMessage struct {
// contains filtered or unexported fields
}
func (*TestEmptyMessage) Descriptor
deprecated
func (*TestEmptyMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestEmptyMessage.ProtoReflect.Descriptor instead.
func (*TestEmptyMessage) ProtoMessage ¶
func (*TestEmptyMessage) ProtoMessage()
func (*TestEmptyMessage) ProtoReflect ¶
func (x *TestEmptyMessage) ProtoReflect() protoreflect.Message
func (*TestEmptyMessage) Reset ¶
func (x *TestEmptyMessage) Reset()
func (*TestEmptyMessage) String ¶
func (x *TestEmptyMessage) String() string
Click to show internal directories.
Click to hide internal directories.