Lines Matching defs:Proto2
14 type Proto2 struct { struct
15 …tionalBool bool `protobuf:"varint,100,opt,name=optional_bool"`
16 …ionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32"`
17 …ionalInt64 int64 `protobuf:"varint,102,opt,name=optional_int64"`
18 …onalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32"`
19 …onalUint64 uint64 `protobuf:"varint,104,opt,name=optional_uint64"`
20 …onalFloat float32 `protobuf:"fixed32,105,opt,name=optional_float"`
21 …nalDouble float64 `protobuf:"fixed64,106,opt,name=optional_double"`
22 …ionalString string `protobuf:"bytes,107,opt,name=optional_string"`
23 …tionalBytes []byte `protobuf:"bytes,108,opt,name=optional_bytes"`
24 …tionalEnum descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,109,req,name=optional_enum"`
25 …onalMessage descriptorpb.FieldOptions `protobuf:"bytes,110,req,name=optional_message"`
27 …atedBool []bool `protobuf:"varint,200,rep,name=repeated_bool"`
28 …tedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32"`
29 …tedInt64 []int64 `protobuf:"varint,202,rep,name=repeated_int64"`
30 …edUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32"`
31 …edUint64 []uint64 `protobuf:"varint,204,rep,name=repeated_uint64"`
32 …edFloat []float32 `protobuf:"fixed32,205,rep,name=repeated_float"`
33 …dDouble []float64 `protobuf:"fixed64,206,rep,name=repeated_double"`
34 …tedString []string `protobuf:"bytes,207,rep,name=repeated_string"`
35 …atedBytes [][]byte `protobuf:"bytes,208,rep,name=repeated_bytes"`
36 …atedEnum []descriptorpb.FieldDescriptorProto_Type `protobuf:"varint,209,rep,name=repeated_enum"`
37 …edMessage []descriptorpb.FieldOptions `protobuf:"bytes,210,rep,name=repeated_message"`
39 …,300,rep,name=map_bool" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
40 …301,rep,name=map_int32" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
41 …302,rep,name=map_int64" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
42 …03,rep,name=map_uint32" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
43 …04,rep,name=map_uint64" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
44 …05,rep,name=map_float" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
45 …6,rep,name=map_double" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
46 …307,rep,name=map_string" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
47 …,308,rep,name=map_bytes" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
48 …,309,rep,name=map_enum" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
49 …10,rep,name=map_message" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
51 OneofUnion isProto2_OneofUnion `protobuf_oneof:"oneof_union"`
54 func (x *Proto2) ProtoMessage() {}
55 func (x *Proto2) Reset() { *x = Proto2{} }
56 func (x *Proto2) String() string { return prototext.Format(protoimpl.X.ProtoMessageV2Of(x)) }
57 func (x *Proto2) XXX_OneofWrappers() []interface{} {