Documentation ¶
Index ¶
- type Methods
- type Proto2
- type Proto2_OneofBool
- type Proto2_OneofBytes
- type Proto2_OneofDouble
- type Proto2_OneofEnum
- type Proto2_OneofFloat
- type Proto2_OneofInt32
- type Proto2_OneofInt64
- type Proto2_OneofMessage
- type Proto2_OneofString
- type Proto2_OneofUint32
- type Proto2_OneofUint64
- type Proto3
- type Proto3_OneofBool
- type Proto3_OneofBytes
- type Proto3_OneofDouble
- type Proto3_OneofEnum
- type Proto3_OneofFloat
- type Proto3_OneofInt32
- type Proto3_OneofInt64
- type Proto3_OneofMessage
- type Proto3_OneofString
- type Proto3_OneofUint32
- type Proto3_OneofUint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Methods ¶
type Methods struct {
OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32"`
}
func (*Methods) ProtoMessage ¶
func (x *Methods) ProtoMessage()
type Proto2 ¶
type Proto2 struct { OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool"` OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32"` OptionalInt64 int64 `protobuf:"varint,102,opt,name=optional_int64"` OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32"` OptionalUint64 uint64 `protobuf:"varint,104,opt,name=optional_uint64"` OptionalFloat float32 `protobuf:"fixed32,105,opt,name=optional_float"` OptionalDouble float64 `protobuf:"fixed64,106,opt,name=optional_double"` OptionalString string `protobuf:"bytes,107,opt,name=optional_string"` OptionalBytes []byte `protobuf:"bytes,108,opt,name=optional_bytes"` OptionalEnum descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,109,req,name=optional_enum"` OptionalMessage descriptorpb.FieldOptions `protobuf:"bytes,110,req,name=optional_message"` RepeatedBool []bool `protobuf:"varint,200,rep,name=repeated_bool"` RepeatedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32"` RepeatedInt64 []int64 `protobuf:"varint,202,rep,name=repeated_int64"` RepeatedUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32"` RepeatedUint64 []uint64 `protobuf:"varint,204,rep,name=repeated_uint64"` RepeatedFloat []float32 `protobuf:"fixed32,205,rep,name=repeated_float"` RepeatedDouble []float64 `protobuf:"fixed64,206,rep,name=repeated_double"` RepeatedString []string `protobuf:"bytes,207,rep,name=repeated_string"` RepeatedBytes [][]byte `protobuf:"bytes,208,rep,name=repeated_bytes"` RepeatedEnum []descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,209,rep,name=repeated_enum"` RepeatedMessage []descriptorpb.FieldOptions `protobuf:"bytes,210,rep,name=repeated_message"` MapBool map[string]bool `protobuf:"bytes,300,rep,name=map_bool" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapInt32 map[string]int32 `protobuf:"bytes,301,rep,name=map_int32" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapInt64 map[string]int64 `protobuf:"bytes,302,rep,name=map_int64" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapUint32 map[string]uint32 `protobuf:"bytes,303,rep,name=map_uint32" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapUint64 map[string]uint64 `protobuf:"bytes,304,rep,name=map_uint64" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapFloat map[string]float32 `protobuf:"bytes,305,rep,name=map_float" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` MapDouble map[string]float64 `protobuf:"bytes,306,rep,name=map_double" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` MapString map[string]string `protobuf:"bytes,307,rep,name=map_string" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapBytes map[string][]byte `protobuf:"bytes,308,rep,name=map_bytes" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapEnum map[string]descriptorpb.FieldDescriptorProto_Type `protobuf:"bytes,309,rep,name=map_enum" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapMessage map[string]descriptorpb.FieldOptions `protobuf:"bytes,310,rep,name=map_message" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` OneofUnion isProto2_OneofUnion `protobuf_oneof:"oneof_union"` }
func (*Proto2) ProtoMessage ¶
func (x *Proto2) ProtoMessage()
func (*Proto2) XXX_OneofWrappers ¶
func (x *Proto2) XXX_OneofWrappers() []interface{}
type Proto2_OneofBool ¶
type Proto2_OneofBool struct {
OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,oneof"`
}
type Proto2_OneofBytes ¶
type Proto2_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,408,opt,name=oneof_bytes,oneof"`
}
type Proto2_OneofDouble ¶
type Proto2_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,406,opt,name=oneof_double,oneof"`
}
type Proto2_OneofEnum ¶
type Proto2_OneofEnum struct {
OneofEnum descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,409,opt,name=oneof_enum,oneof"`
}
type Proto2_OneofFloat ¶
type Proto2_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,405,opt,name=oneof_float,oneof"`
}
type Proto2_OneofInt32 ¶
type Proto2_OneofInt32 struct {
OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,oneof"`
}
type Proto2_OneofInt64 ¶
type Proto2_OneofInt64 struct {
OneofInt64 int64 `protobuf:"varint,402,opt,name=oneof_int64,oneof"`
}
type Proto2_OneofMessage ¶
type Proto2_OneofMessage struct {
OneofMessage descriptorpb.FieldOptions `protobuf:"bytes,410,opt,name=oneof_message,oneof"`
}
type Proto2_OneofString ¶
type Proto2_OneofString struct {
OneofString string `protobuf:"bytes,407,opt,name=oneof_string,oneof"`
}
type Proto2_OneofUint32 ¶
type Proto2_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,oneof"`
}
type Proto2_OneofUint64 ¶
type Proto2_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,404,opt,name=oneof_uint64,oneof"`
}
type Proto3 ¶
type Proto3 struct { OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,proto3"` OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,proto3"` OptionalInt64 int64 `protobuf:"varint,102,opt,name=optional_int64,proto3"` OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,proto3"` OptionalUint64 uint64 `protobuf:"varint,104,opt,name=optional_uint64,proto3"` OptionalFloat float32 `protobuf:"fixed32,105,opt,name=optional_float,proto3"` OptionalDouble float64 `protobuf:"fixed64,106,opt,name=optional_double,proto3"` OptionalString string `protobuf:"bytes,107,opt,name=optional_string,proto3"` OptionalBytes []byte `protobuf:"bytes,108,opt,name=optional_bytes,proto3"` OptionalEnum descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,109,req,name=optional_enum,proto3"` OptionalMessage descriptorpb.FieldOptions `protobuf:"bytes,110,req,name=optional_message,proto3"` RepeatedBool []bool `protobuf:"varint,200,rep,name=repeated_bool,proto3"` RepeatedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32,proto3"` RepeatedInt64 []int64 `protobuf:"varint,202,rep,name=repeated_int64,proto3"` RepeatedUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32,proto3"` RepeatedUint64 []uint64 `protobuf:"varint,204,rep,name=repeated_uint64,proto3"` RepeatedFloat []float32 `protobuf:"fixed32,205,rep,name=repeated_float,proto3"` RepeatedDouble []float64 `protobuf:"fixed64,206,rep,name=repeated_double,proto3"` RepeatedString []string `protobuf:"bytes,207,rep,name=repeated_string,proto3"` RepeatedBytes [][]byte `protobuf:"bytes,208,rep,name=repeated_bytes,proto3"` RepeatedEnum []descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,209,rep,name=repeated_enum,proto3"` RepeatedMessage []descriptorpb.FieldOptions `protobuf:"bytes,210,rep,name=repeated_message,proto3"` MapBool map[string]bool `` /* 134-byte string literal not displayed */ MapInt32 map[string]int32 `` /* 135-byte string literal not displayed */ MapInt64 map[string]int64 `` /* 135-byte string literal not displayed */ MapUint32 map[string]uint32 `` /* 136-byte string literal not displayed */ MapUint64 map[string]uint64 `` /* 136-byte string literal not displayed */ MapFloat map[string]float32 `` /* 136-byte string literal not displayed */ MapDouble map[string]float64 `` /* 137-byte string literal not displayed */ MapString map[string]string `` /* 135-byte string literal not displayed */ MapBytes map[string][]byte `` /* 134-byte string literal not displayed */ MapEnum map[string]descriptorpb.FieldDescriptorProto_Type `` /* 134-byte string literal not displayed */ MapMessage map[string]descriptorpb.FieldOptions `` /* 136-byte string literal not displayed */ OneofUnion isProto3_OneofUnion `protobuf_oneof:"oneof_union"` }
func (*Proto3) ProtoMessage ¶
func (x *Proto3) ProtoMessage()
func (*Proto3) XXX_OneofWrappers ¶
func (x *Proto3) XXX_OneofWrappers() []interface{}
type Proto3_OneofBool ¶
type Proto3_OneofBool struct {
OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,proto3,oneof"`
}
type Proto3_OneofBytes ¶
type Proto3_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,408,opt,name=oneof_bytes,proto3,oneof"`
}
type Proto3_OneofDouble ¶
type Proto3_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,406,opt,name=oneof_double,proto3,oneof"`
}
type Proto3_OneofEnum ¶
type Proto3_OneofEnum struct {
OneofEnum descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,409,opt,name=oneof_enum,proto3,oneof"`
}
type Proto3_OneofFloat ¶
type Proto3_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,405,opt,name=oneof_float,proto3,oneof"`
}
type Proto3_OneofInt32 ¶
type Proto3_OneofInt32 struct {
OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,proto3,oneof"`
}
type Proto3_OneofInt64 ¶
type Proto3_OneofInt64 struct {
OneofInt64 int64 `protobuf:"varint,402,opt,name=oneof_int64,proto3,oneof"`
}
type Proto3_OneofMessage ¶
type Proto3_OneofMessage struct {
OneofMessage descriptorpb.FieldOptions `protobuf:"bytes,410,opt,name=oneof_message,proto3,oneof"`
}
type Proto3_OneofString ¶
type Proto3_OneofString struct {
OneofString string `protobuf:"bytes,407,opt,name=oneof_string,proto3,oneof"`
}
type Proto3_OneofUint32 ¶
type Proto3_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,proto3,oneof"`
}
type Proto3_OneofUint64 ¶
type Proto3_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,404,opt,name=oneof_uint64,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.