MCPcopy
hub / github.com/golang/protobuf / Repeats

Struct Repeats

internal/testprotos/jsonpb_proto/test2.pb.go:336–351  ·  internal/testprotos/jsonpb_proto/test2.pb.go::Repeats

Test message for holding repeated primitives.

Source from the content-addressed store, hash-verified

334
335// Test message for holding repeated primitives.
336type Repeats struct {
337 RBool []bool `protobuf:"varint,1,rep,name=r_bool,json=rBool" json:"r_bool,omitempty"`
338 RInt32 []int32 `protobuf:"varint,2,rep,name=r_int32,json=rInt32" json:"r_int32,omitempty"`
339 RInt64 []int64 `protobuf:"varint,3,rep,name=r_int64,json=rInt64" json:"r_int64,omitempty"`
340 RUint32 []uint32 `protobuf:"varint,4,rep,name=r_uint32,json=rUint32" json:"r_uint32,omitempty"`
341 RUint64 []uint64 `protobuf:"varint,5,rep,name=r_uint64,json=rUint64" json:"r_uint64,omitempty"`
342 RSint32 []int32 `protobuf:"zigzag32,6,rep,name=r_sint32,json=rSint32" json:"r_sint32,omitempty"`
343 RSint64 []int64 `protobuf:"zigzag64,7,rep,name=r_sint64,json=rSint64" json:"r_sint64,omitempty"`
344 RFloat []float32 `protobuf:"fixed32,8,rep,name=r_float,json=rFloat" json:"r_float,omitempty"`
345 RDouble []float64 `protobuf:"fixed64,9,rep,name=r_double,json=rDouble" json:"r_double,omitempty"`
346 RString []string `protobuf:"bytes,10,rep,name=r_string,json=rString" json:"r_string,omitempty"`
347 RBytes [][]byte `protobuf:"bytes,11,rep,name=r_bytes,json=rBytes" json:"r_bytes,omitempty"`
348 XXX_NoUnkeyedLiteral struct{} `json:"-"`
349 XXX_unrecognized []byte `json:"-"`
350 XXX_sizecache int32 `json:"-"`
351}
352
353func (m *Repeats) Reset() { *m = Repeats{} }
354func (m *Repeats) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected