Documentation ¶
Index ¶
- Variables
- type Address
- type City
- func (*City) Descriptor() ([]byte, []int)deprecated
- func (x *City) GetBoolField() bool
- func (x *City) GetBytesField() []byte
- func (x *City) GetDoubleField() float64
- func (x *City) GetFloatField() float32
- func (x *City) GetInt32Field() int32
- func (x *City) GetInt64Field() int64
- func (x *City) GetMayor() *Mayor
- func (x *City) GetMyNestedField() *City_MyNestedMessage
- func (x *City) GetRepeatedBoolField() []bool
- func (x *City) GetRepeatedBytesField() [][]byte
- func (x *City) GetRepeatedDoubleField() []float64
- func (x *City) GetRepeatedFloatField() []float32
- func (x *City) GetRepeatedInt32Field() []int32
- func (x *City) GetRepeatedInt64Field() []int64
- func (x *City) GetRepeatedSint32Field() []int32
- func (x *City) GetRepeatedSint64Field() []int64
- func (x *City) GetRepeatedStringField() []string
- func (x *City) GetRepeatedTimestampField() []*timestamppb.Timestamp
- func (x *City) GetRepeatedUint32Field() []uint32
- func (x *City) GetSint32Field() int32
- func (x *City) GetSint64Field() int64
- func (x *City) GetStringField() string
- func (x *City) GetTimestampField() *timestamppb.Timestamp
- func (x *City) GetUint32Field() uint32
- func (*City) ProtoMessage()
- func (x *City) ProtoReflect() protoreflect.Message
- func (x *City) Reset()
- func (x *City) String() string
- func (x *City) ToFirestoreMap() (map[string]any, error)
- type City_MyNestedMessage
- func (*City_MyNestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *City_MyNestedMessage) GetName() string
- func (*City_MyNestedMessage) ProtoMessage()
- func (x *City_MyNestedMessage) ProtoReflect() protoreflect.Message
- func (x *City_MyNestedMessage) Reset()
- func (x *City_MyNestedMessage) String() string
- type Firestore
- type Mayor
Constants ¶
This section is empty.
Variables ¶
View Source
var File_converter_converter_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type City ¶
type City struct { StringField string `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` BoolField bool `protobuf:"varint,2,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` BytesField []byte `protobuf:"bytes,3,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"` Int32Field int32 `protobuf:"varint,4,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` Int64Field int64 `protobuf:"varint,5,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"` Uint32Field uint32 `protobuf:"varint,6,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"` Sint32Field int32 `protobuf:"zigzag32,8,opt,name=sint32_field,json=sint32Field,proto3" json:"sint32_field,omitempty"` Sint64Field int64 `protobuf:"zigzag64,9,opt,name=sint64_field,json=sint64Field,proto3" json:"sint64_field,omitempty"` FloatField float32 `protobuf:"fixed32,10,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"` DoubleField float64 `protobuf:"fixed64,11,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"` TimestampField *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=timestamp_field,json=timestampField,proto3" json:"timestamp_field,omitempty"` RepeatedStringField []string `protobuf:"bytes,13,rep,name=repeated_string_field,json=repeatedStringField,proto3" json:"repeated_string_field,omitempty"` RepeatedBoolField []bool `protobuf:"varint,14,rep,packed,name=repeated_bool_field,json=repeatedBoolField,proto3" json:"repeated_bool_field,omitempty"` RepeatedBytesField [][]byte `protobuf:"bytes,15,rep,name=repeated_bytes_field,json=repeatedBytesField,proto3" json:"repeated_bytes_field,omitempty"` RepeatedInt32Field []int32 `` /* 126-byte string literal not displayed */ RepeatedInt64Field []int64 `` /* 126-byte string literal not displayed */ RepeatedUint32Field []uint32 `` /* 129-byte string literal not displayed */ RepeatedSint32Field []int32 `` /* 131-byte string literal not displayed */ RepeatedSint64Field []int64 `` /* 131-byte string literal not displayed */ RepeatedFloatField []float32 `` /* 127-byte string literal not displayed */ RepeatedDoubleField []float64 `` /* 130-byte string literal not displayed */ RepeatedTimestampField []*timestamppb.Timestamp `` /* 130-byte string literal not displayed */ Mayor *Mayor `protobuf:"bytes,28,opt,name=mayor,proto3" json:"mayor,omitempty"` MyNestedField *City_MyNestedMessage `protobuf:"bytes,29,opt,name=my_nested_field,json=myNestedField,proto3" json:"my_nested_field,omitempty"` // contains filtered or unexported fields }
func (*City) Descriptor
deprecated
func (*City) GetBoolField ¶
func (*City) GetBytesField ¶
func (*City) GetDoubleField ¶
func (*City) GetFloatField ¶
func (*City) GetInt32Field ¶
func (*City) GetInt64Field ¶
func (*City) GetMyNestedField ¶
func (x *City) GetMyNestedField() *City_MyNestedMessage
func (*City) GetRepeatedBoolField ¶
func (*City) GetRepeatedBytesField ¶
func (*City) GetRepeatedDoubleField ¶
func (*City) GetRepeatedFloatField ¶
func (*City) GetRepeatedInt32Field ¶
func (*City) GetRepeatedInt64Field ¶
func (*City) GetRepeatedSint32Field ¶
func (*City) GetRepeatedSint64Field ¶
func (*City) GetRepeatedStringField ¶
func (*City) GetRepeatedTimestampField ¶
func (x *City) GetRepeatedTimestampField() []*timestamppb.Timestamp
func (*City) GetRepeatedUint32Field ¶
func (*City) GetSint32Field ¶
func (*City) GetSint64Field ¶
func (*City) GetStringField ¶
func (*City) GetTimestampField ¶
func (x *City) GetTimestampField() *timestamppb.Timestamp
func (*City) GetUint32Field ¶
func (*City) ProtoMessage ¶
func (*City) ProtoMessage()
func (*City) ProtoReflect ¶
func (x *City) ProtoReflect() protoreflect.Message
type City_MyNestedMessage ¶
type City_MyNestedMessage struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*City_MyNestedMessage) Descriptor
deprecated
func (*City_MyNestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use City_MyNestedMessage.ProtoReflect.Descriptor instead.
func (*City_MyNestedMessage) GetName ¶
func (x *City_MyNestedMessage) GetName() string
func (*City_MyNestedMessage) ProtoMessage ¶
func (*City_MyNestedMessage) ProtoMessage()
func (*City_MyNestedMessage) ProtoReflect ¶
func (x *City_MyNestedMessage) ProtoReflect() protoreflect.Message
func (*City_MyNestedMessage) Reset ¶
func (x *City_MyNestedMessage) Reset()
func (*City_MyNestedMessage) String ¶
func (x *City_MyNestedMessage) String() string
type Firestore ¶
type Firestore struct {
// contains filtered or unexported fields
}
func WithFirestore ¶
type Mayor ¶
type Mayor struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address *Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Mayor) Descriptor
deprecated
func (*Mayor) GetAddress ¶
func (*Mayor) ProtoMessage ¶
func (*Mayor) ProtoMessage()
func (*Mayor) ProtoReflect ¶
func (x *Mayor) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.