Documentation ¶
Index ¶
- Variables
- type Count
- type Imported
- func (*Imported) Descriptor() ([]byte, []int)deprecated
- func (x *Imported) GetStringField() string
- func (x *Imported) GetTimeField() *timestamppb.Timestamp
- func (*Imported) ProtoMessage()
- func (x *Imported) ProtoReflect() protoreflect.Message
- func (x *Imported) Reset()
- func (x *Imported) String() string
- type Recursive
- func (*Recursive) Descriptor() ([]byte, []int)deprecated
- func (x *Recursive) GetRecursiveField() *Recursive
- func (x *Recursive) GetStringField() string
- func (*Recursive) ProtoMessage()
- func (x *Recursive) ProtoReflect() protoreflect.Message
- func (x *Recursive) Reset()
- func (x *Recursive) String() string
- type Simple
- type SimpleValue
- type TestTypes
- func (*TestTypes) Descriptor() ([]byte, []int)deprecated
- func (x *TestTypes) GetBoolField() bool
- func (x *TestTypes) GetBytesField() []byte
- func (x *TestTypes) GetDoubleField() float64
- func (x *TestTypes) GetEnumField() Count
- func (x *TestTypes) GetFloatField() float32
- func (x *TestTypes) GetImportField() *Imported
- func (x *TestTypes) GetInt32Field() int32
- func (x *TestTypes) GetInt64Field() int64
- func (x *TestTypes) GetIntMapField() map[int32]string
- func (x *TestTypes) GetMapMessageField() map[string]*SimpleValue
- func (x *TestTypes) GetNestedField() *TestTypes_Nested
- func (x *TestTypes) GetOneInt64() int64
- func (x *TestTypes) GetOneString() string
- func (m *TestTypes) GetOneofField() isTestTypes_OneofField
- func (x *TestTypes) GetRecursiveField() *Recursive
- func (x *TestTypes) GetRepeatedStringField() []string
- func (x *TestTypes) GetStringField() string
- func (x *TestTypes) GetStringMapField() map[string]string
- func (x *TestTypes) GetUint32Field() uint32
- func (x *TestTypes) GetUint64Field() uint64
- func (*TestTypes) ProtoMessage()
- func (x *TestTypes) ProtoReflect() protoreflect.Message
- func (x *TestTypes) Reset()
- func (x *TestTypes) String() string
- type TestTypes_Nested
- func (*TestTypes_Nested) Descriptor() ([]byte, []int)deprecated
- func (x *TestTypes_Nested) GetNestedMap() map[string]string
- func (x *TestTypes_Nested) GetNestedRepeatedString() []string
- func (x *TestTypes_Nested) GetNestedString() string
- func (*TestTypes_Nested) ProtoMessage()
- func (x *TestTypes_Nested) ProtoReflect() protoreflect.Message
- func (x *TestTypes_Nested) Reset()
- func (x *TestTypes_Nested) String() string
- type TestTypes_OneInt64
- type TestTypes_OneString
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Count_name = map[int32]string{ 0: "COUNT_UNSPECIFIED", 1: "COUNT_ONE", 2: "COUNT_TWO", } Count_value = map[string]int32{ "COUNT_UNSPECIFIED": 0, "COUNT_ONE": 1, "COUNT_TWO": 2, } )
Enum value maps for Count.
View Source
var File_squareup_cash_pranadb_testproto_v1_imports_proto protoreflect.FileDescriptor
View Source
var File_squareup_cash_pranadb_testproto_v1_simple_proto protoreflect.FileDescriptor
View Source
var File_squareup_cash_pranadb_testproto_v1_testproto_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Count ¶
type Count int32
func (Count) Descriptor ¶
func (Count) Descriptor() protoreflect.EnumDescriptor
func (Count) EnumDescriptor
deprecated
func (Count) Number ¶
func (x Count) Number() protoreflect.EnumNumber
func (Count) Type ¶
func (Count) Type() protoreflect.EnumType
type Imported ¶
type Imported struct { StringField string `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` TimeField *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time_field,json=timeField,proto3" json:"time_field,omitempty"` // contains filtered or unexported fields }
func (*Imported) Descriptor
deprecated
func (*Imported) GetStringField ¶
func (*Imported) GetTimeField ¶
func (x *Imported) GetTimeField() *timestamppb.Timestamp
func (*Imported) ProtoMessage ¶
func (*Imported) ProtoMessage()
func (*Imported) ProtoReflect ¶
func (x *Imported) ProtoReflect() protoreflect.Message
type Recursive ¶
type Recursive struct { StringField string `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` RecursiveField *Recursive `protobuf:"bytes,2,opt,name=recursive_field,json=recursiveField,proto3" json:"recursive_field,omitempty"` // contains filtered or unexported fields }
func (*Recursive) Descriptor
deprecated
func (*Recursive) GetRecursiveField ¶
func (*Recursive) GetStringField ¶
func (*Recursive) ProtoMessage ¶
func (*Recursive) ProtoMessage()
func (*Recursive) ProtoReflect ¶
func (x *Recursive) ProtoReflect() protoreflect.Message
type Simple ¶
type Simple struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Val1 int64 `protobuf:"varint,2,opt,name=val1,proto3" json:"val1,omitempty"` Val2 int64 `protobuf:"varint,3,opt,name=val2,proto3" json:"val2,omitempty"` // contains filtered or unexported fields }
func (*Simple) Descriptor
deprecated
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶
func (x *Simple) ProtoReflect() protoreflect.Message
type SimpleValue ¶
type SimpleValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*SimpleValue) Descriptor
deprecated
func (*SimpleValue) Descriptor() ([]byte, []int)
Deprecated: Use SimpleValue.ProtoReflect.Descriptor instead.
func (*SimpleValue) GetValue ¶
func (x *SimpleValue) GetValue() string
func (*SimpleValue) ProtoMessage ¶
func (*SimpleValue) ProtoMessage()
func (*SimpleValue) ProtoReflect ¶
func (x *SimpleValue) ProtoReflect() protoreflect.Message
func (*SimpleValue) Reset ¶
func (x *SimpleValue) Reset()
func (*SimpleValue) String ¶
func (x *SimpleValue) String() string
type TestTypes ¶
type TestTypes struct { DoubleField float64 `protobuf:"fixed64,1,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"` FloatField float32 `protobuf:"fixed32,2,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"` Int32Field int32 `protobuf:"varint,3,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` Int64Field int64 `protobuf:"varint,4,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"` Uint32Field uint32 `protobuf:"varint,5,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"` Uint64Field uint64 `protobuf:"varint,6,opt,name=uint64_field,json=uint64Field,proto3" json:"uint64_field,omitempty"` BoolField bool `protobuf:"varint,7,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` StringField string `protobuf:"bytes,8,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` EnumField Count `` /* 135-byte string literal not displayed */ BytesField []byte `protobuf:"bytes,10,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"` NestedField *TestTypes_Nested `protobuf:"bytes,11,opt,name=nested_field,json=nestedField,proto3" json:"nested_field,omitempty"` RepeatedStringField []string `protobuf:"bytes,12,rep,name=repeated_string_field,json=repeatedStringField,proto3" json:"repeated_string_field,omitempty"` RecursiveField *Recursive `protobuf:"bytes,13,opt,name=recursive_field,json=recursiveField,proto3" json:"recursive_field,omitempty"` // Types that are assignable to OneofField: // *TestTypes_OneString // *TestTypes_OneInt64 OneofField isTestTypes_OneofField `protobuf_oneof:"oneof_field"` StringMapField map[string]string `` /* 194-byte string literal not displayed */ IntMapField map[int32]string `` /* 186-byte string literal not displayed */ MapMessageField map[string]*SimpleValue `` /* 197-byte string literal not displayed */ ImportField *Imported `protobuf:"bytes,19,opt,name=import_field,json=importField,proto3" json:"import_field,omitempty"` // contains filtered or unexported fields }
func (*TestTypes) Descriptor
deprecated
func (*TestTypes) GetBoolField ¶
func (*TestTypes) GetBytesField ¶
func (*TestTypes) GetDoubleField ¶
func (*TestTypes) GetEnumField ¶
func (*TestTypes) GetFloatField ¶
func (*TestTypes) GetImportField ¶
func (*TestTypes) GetInt32Field ¶
func (*TestTypes) GetInt64Field ¶
func (*TestTypes) GetIntMapField ¶
func (*TestTypes) GetMapMessageField ¶
func (x *TestTypes) GetMapMessageField() map[string]*SimpleValue
func (*TestTypes) GetNestedField ¶
func (x *TestTypes) GetNestedField() *TestTypes_Nested
func (*TestTypes) GetOneInt64 ¶
func (*TestTypes) GetOneString ¶
func (*TestTypes) GetOneofField ¶
func (m *TestTypes) GetOneofField() isTestTypes_OneofField
func (*TestTypes) GetRecursiveField ¶
func (*TestTypes) GetRepeatedStringField ¶
func (*TestTypes) GetStringField ¶
func (*TestTypes) GetStringMapField ¶
func (*TestTypes) GetUint32Field ¶
func (*TestTypes) GetUint64Field ¶
func (*TestTypes) ProtoMessage ¶
func (*TestTypes) ProtoMessage()
func (*TestTypes) ProtoReflect ¶
func (x *TestTypes) ProtoReflect() protoreflect.Message
type TestTypes_Nested ¶
type TestTypes_Nested struct { NestedString string `protobuf:"bytes,1,opt,name=nested_string,json=nestedString,proto3" json:"nested_string,omitempty"` NestedRepeatedString []string `protobuf:"bytes,2,rep,name=nested_repeated_string,json=nestedRepeatedString,proto3" json:"nested_repeated_string,omitempty"` NestedMap map[string]string `` /* 176-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestTypes_Nested) Descriptor
deprecated
func (*TestTypes_Nested) Descriptor() ([]byte, []int)
Deprecated: Use TestTypes_Nested.ProtoReflect.Descriptor instead.
func (*TestTypes_Nested) GetNestedMap ¶
func (x *TestTypes_Nested) GetNestedMap() map[string]string
func (*TestTypes_Nested) GetNestedRepeatedString ¶
func (x *TestTypes_Nested) GetNestedRepeatedString() []string
func (*TestTypes_Nested) GetNestedString ¶
func (x *TestTypes_Nested) GetNestedString() string
func (*TestTypes_Nested) ProtoMessage ¶
func (*TestTypes_Nested) ProtoMessage()
func (*TestTypes_Nested) ProtoReflect ¶
func (x *TestTypes_Nested) ProtoReflect() protoreflect.Message
func (*TestTypes_Nested) Reset ¶
func (x *TestTypes_Nested) Reset()
func (*TestTypes_Nested) String ¶
func (x *TestTypes_Nested) String() string
type TestTypes_OneInt64 ¶
type TestTypes_OneInt64 struct {
OneInt64 int64 `protobuf:"varint,15,opt,name=one_int64,json=oneInt64,proto3,oneof"`
}
type TestTypes_OneString ¶
type TestTypes_OneString struct {
OneString string `protobuf:"bytes,14,opt,name=one_string,json=oneString,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.