2020-10-19 18:51:59 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2024-03-19 06:55:23 +00:00
|
|
|
// protoc-gen-go v1.33.0
|
2024-06-24 10:50:21 +00:00
|
|
|
// protoc v5.27.2
|
2020-08-14 10:57:19 +00:00
|
|
|
// source: util/proto/test/test.proto
|
|
|
|
|
|
|
|
package test
|
|
|
|
|
|
|
|
import (
|
2020-10-19 18:51:59 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2020-08-14 10:57:19 +00:00
|
|
|
)
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
2020-08-14 10:57:19 +00:00
|
|
|
|
2020-08-14 14:10:15 +00:00
|
|
|
type Primitives_SomeEnum int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
Primitives_UNKNOWN Primitives_SomeEnum = 0
|
|
|
|
Primitives_POSITIVE Primitives_SomeEnum = 1
|
|
|
|
Primitives_NEGATIVE Primitives_SomeEnum = -1
|
|
|
|
)
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Enum value maps for Primitives_SomeEnum.
|
|
|
|
var (
|
|
|
|
Primitives_SomeEnum_name = map[int32]string{
|
|
|
|
0: "UNKNOWN",
|
|
|
|
1: "POSITIVE",
|
|
|
|
-1: "NEGATIVE",
|
|
|
|
}
|
|
|
|
Primitives_SomeEnum_value = map[string]int32{
|
|
|
|
"UNKNOWN": 0,
|
|
|
|
"POSITIVE": 1,
|
|
|
|
"NEGATIVE": -1,
|
|
|
|
}
|
|
|
|
)
|
2020-08-14 14:10:15 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x Primitives_SomeEnum) Enum() *Primitives_SomeEnum {
|
|
|
|
p := new(Primitives_SomeEnum)
|
|
|
|
*p = x
|
|
|
|
return p
|
2020-08-14 14:10:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x Primitives_SomeEnum) String() string {
|
2020-10-19 18:51:59 +00:00
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (Primitives_SomeEnum) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_util_proto_test_test_proto_enumTypes[0].Descriptor()
|
|
|
|
}
|
|
|
|
|
|
|
|
func (Primitives_SomeEnum) Type() protoreflect.EnumType {
|
|
|
|
return &file_util_proto_test_test_proto_enumTypes[0]
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x Primitives_SomeEnum) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
2020-08-14 14:10:15 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Primitives_SomeEnum.Descriptor instead.
|
2020-08-14 14:10:15 +00:00
|
|
|
func (Primitives_SomeEnum) EnumDescriptor() ([]byte, []int) {
|
2020-10-19 18:51:59 +00:00
|
|
|
return file_util_proto_test_test_proto_rawDescGZIP(), []int{0, 0}
|
2020-08-14 14:10:15 +00:00
|
|
|
}
|
|
|
|
|
2020-08-14 10:57:19 +00:00
|
|
|
type Primitives struct {
|
2020-10-19 18:51:59 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
FieldA []byte `protobuf:"bytes,1,opt,name=field_a,json=fieldA,proto3" json:"field_a,omitempty"`
|
|
|
|
FieldB string `protobuf:"bytes,2,opt,name=field_b,json=fieldB,proto3" json:"field_b,omitempty"`
|
|
|
|
FieldC bool `protobuf:"varint,200,opt,name=field_c,json=fieldC,proto3" json:"field_c,omitempty"`
|
|
|
|
FieldD int32 `protobuf:"varint,201,opt,name=field_d,json=fieldD,proto3" json:"field_d,omitempty"`
|
|
|
|
FieldE uint32 `protobuf:"varint,202,opt,name=field_e,json=fieldE,proto3" json:"field_e,omitempty"`
|
|
|
|
FieldF int64 `protobuf:"varint,203,opt,name=field_f,json=fieldF,proto3" json:"field_f,omitempty"`
|
|
|
|
FieldG uint64 `protobuf:"varint,204,opt,name=field_g,json=fieldG,proto3" json:"field_g,omitempty"`
|
2020-12-21 07:51:04 +00:00
|
|
|
FieldI uint64 `protobuf:"fixed64,205,opt,name=field_i,json=fieldI,proto3" json:"field_i,omitempty"`
|
2021-03-24 07:10:30 +00:00
|
|
|
FieldJ float64 `protobuf:"fixed64,206,opt,name=field_j,json=fieldJ,proto3" json:"field_j,omitempty"`
|
2021-11-18 13:14:49 +00:00
|
|
|
FieldK uint32 `protobuf:"fixed32,207,opt,name=field_k,json=fieldK,proto3" json:"field_k,omitempty"`
|
2020-10-19 18:51:59 +00:00
|
|
|
FieldH Primitives_SomeEnum `protobuf:"varint,300,opt,name=field_h,json=fieldH,proto3,enum=test.Primitives_SomeEnum" json:"field_h,omitempty"`
|
2024-08-26 11:33:30 +00:00
|
|
|
// Types that are assignable to FieldM:
|
|
|
|
//
|
|
|
|
// *Primitives_FieldMa
|
|
|
|
// *Primitives_FieldMe
|
|
|
|
// *Primitives_FieldAux
|
|
|
|
FieldM isPrimitives_FieldM `protobuf_oneof:"field_m"`
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) Reset() {
|
|
|
|
*x = Primitives{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (x *Primitives) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (*Primitives) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Primitives) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return ms
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return mi.MessageOf(x)
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use Primitives.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Primitives) Descriptor() ([]byte, []int) {
|
|
|
|
return file_util_proto_test_test_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2020-08-14 10:57:19 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldA() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldA
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldB() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldB
|
2020-08-14 12:29:48 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldC() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldC
|
2020-08-14 12:53:57 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldD() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldD
|
2020-08-14 13:32:19 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldE() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldE
|
2020-08-14 13:32:19 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldF() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldF
|
2020-08-14 13:32:19 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldG() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldG
|
2020-08-14 13:32:19 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-12-21 07:51:04 +00:00
|
|
|
func (x *Primitives) GetFieldI() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldI
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-03-24 07:10:30 +00:00
|
|
|
func (x *Primitives) GetFieldJ() float64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldJ
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-11-18 13:14:49 +00:00
|
|
|
func (x *Primitives) GetFieldK() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldK
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *Primitives) GetFieldH() Primitives_SomeEnum {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldH
|
2020-08-14 14:10:15 +00:00
|
|
|
}
|
|
|
|
return Primitives_UNKNOWN
|
|
|
|
}
|
|
|
|
|
2024-08-26 11:33:30 +00:00
|
|
|
func (m *Primitives) GetFieldM() isPrimitives_FieldM {
|
|
|
|
if m != nil {
|
|
|
|
return m.FieldM
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Primitives) GetFieldMa() []byte {
|
|
|
|
if x, ok := x.GetFieldM().(*Primitives_FieldMa); ok {
|
|
|
|
return x.FieldMa
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Primitives) GetFieldMe() uint32 {
|
|
|
|
if x, ok := x.GetFieldM().(*Primitives_FieldMe); ok {
|
|
|
|
return x.FieldMe
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Primitives) GetFieldAux() *Primitives_Aux {
|
|
|
|
if x, ok := x.GetFieldM().(*Primitives_FieldAux); ok {
|
|
|
|
return x.FieldAux
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type isPrimitives_FieldM interface {
|
|
|
|
isPrimitives_FieldM()
|
|
|
|
}
|
|
|
|
|
|
|
|
type Primitives_FieldMa struct {
|
|
|
|
FieldMa []byte `protobuf:"bytes,401,opt,name=field_ma,json=fieldMa,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Primitives_FieldMe struct {
|
|
|
|
FieldMe uint32 `protobuf:"varint,402,opt,name=field_me,json=fieldMe,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type Primitives_FieldAux struct {
|
|
|
|
FieldAux *Primitives_Aux `protobuf:"bytes,403,opt,name=field_aux,json=fieldAux,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Primitives_FieldMa) isPrimitives_FieldM() {}
|
|
|
|
|
|
|
|
func (*Primitives_FieldMe) isPrimitives_FieldM() {}
|
|
|
|
|
|
|
|
func (*Primitives_FieldAux) isPrimitives_FieldM() {}
|
|
|
|
|
2020-08-14 14:22:47 +00:00
|
|
|
type RepPrimitives struct {
|
2020-10-19 18:51:59 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-08-14 14:22:47 +00:00
|
|
|
|
2024-08-27 12:02:16 +00:00
|
|
|
FieldA [][]byte `protobuf:"bytes,1,rep,name=field_a,json=fieldA,proto3" json:"field_a,omitempty"`
|
|
|
|
FieldB []string `protobuf:"bytes,2,rep,name=field_b,json=fieldB,proto3" json:"field_b,omitempty"`
|
|
|
|
FieldC []int32 `protobuf:"varint,3,rep,packed,name=field_c,json=fieldC,proto3" json:"field_c,omitempty"`
|
|
|
|
FieldD []uint32 `protobuf:"varint,4,rep,packed,name=field_d,json=fieldD,proto3" json:"field_d,omitempty"`
|
|
|
|
FieldE []int64 `protobuf:"varint,5,rep,packed,name=field_e,json=fieldE,proto3" json:"field_e,omitempty"`
|
|
|
|
FieldF []uint64 `protobuf:"varint,6,rep,packed,name=field_f,json=fieldF,proto3" json:"field_f,omitempty"`
|
|
|
|
FieldFu []uint64 `protobuf:"varint,7,rep,name=field_fu,json=fieldFu,proto3" json:"field_fu,omitempty"`
|
|
|
|
FieldAux []*RepPrimitives_Aux `protobuf:"bytes,8,rep,name=field_aux,json=fieldAux,proto3" json:"field_aux,omitempty"`
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (x *RepPrimitives) Reset() {
|
|
|
|
*x = RepPrimitives{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
|
|
|
|
func (x *RepPrimitives) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (*RepPrimitives) ProtoMessage() {}
|
2020-08-14 14:22:47 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *RepPrimitives) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return mi.MessageOf(x)
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
// Deprecated: Use RepPrimitives.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RepPrimitives) Descriptor() ([]byte, []int) {
|
|
|
|
return file_util_proto_test_test_proto_rawDescGZIP(), []int{1}
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *RepPrimitives) GetFieldA() [][]byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldA
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *RepPrimitives) GetFieldB() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldB
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *RepPrimitives) GetFieldC() []int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldC
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *RepPrimitives) GetFieldD() []uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldD
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *RepPrimitives) GetFieldE() []int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldE
|
2020-08-14 14:10:15 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return nil
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func (x *RepPrimitives) GetFieldF() []uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldF
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
return nil
|
2020-08-14 14:22:47 +00:00
|
|
|
}
|
|
|
|
|
2024-07-15 08:16:29 +00:00
|
|
|
func (x *RepPrimitives) GetFieldFu() []uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldFu
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-08-27 12:02:16 +00:00
|
|
|
func (x *RepPrimitives) GetFieldAux() []*RepPrimitives_Aux {
|
|
|
|
if x != nil {
|
|
|
|
return x.FieldAux
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-08-26 11:33:30 +00:00
|
|
|
type Primitives_Aux struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
InnerField uint32 `protobuf:"varint,1,opt,name=inner_field,json=innerField,proto3" json:"inner_field,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Primitives_Aux) Reset() {
|
|
|
|
*x = Primitives_Aux{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Primitives_Aux) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Primitives_Aux) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Primitives_Aux) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use Primitives_Aux.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Primitives_Aux) Descriptor() ([]byte, []int) {
|
|
|
|
return file_util_proto_test_test_proto_rawDescGZIP(), []int{0, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Primitives_Aux) GetInnerField() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.InnerField
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2024-08-27 12:02:16 +00:00
|
|
|
type RepPrimitives_Aux struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
InnerField uint32 `protobuf:"varint,1,opt,name=inner_field,json=innerField,proto3" json:"inner_field,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RepPrimitives_Aux) Reset() {
|
|
|
|
*x = RepPrimitives_Aux{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RepPrimitives_Aux) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RepPrimitives_Aux) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RepPrimitives_Aux) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_util_proto_test_test_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use RepPrimitives_Aux.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RepPrimitives_Aux) Descriptor() ([]byte, []int) {
|
|
|
|
return file_util_proto_test_test_proto_rawDescGZIP(), []int{1, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RepPrimitives_Aux) GetInnerField() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.InnerField
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
var File_util_proto_test_test_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_util_proto_test_test_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x1a, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x65, 0x73,
|
|
|
|
0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x74, 0x65,
|
2024-08-26 11:33:30 +00:00
|
|
|
0x73, 0x74, 0x22, 0xa6, 0x04, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65,
|
2020-10-19 18:51:59 +00:00
|
|
|
0x73, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x61, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x41, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69,
|
|
|
|
0x65, 0x6c, 0x64, 0x5f, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65,
|
|
|
|
0x6c, 0x64, 0x42, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x18, 0xc8,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x12, 0x18, 0x0a,
|
|
|
|
0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x64, 0x18, 0xc9, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
|
|
|
0x5f, 0x65, 0x18, 0xca, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
|
|
|
0x45, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x66, 0x18, 0xcb, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x46, 0x12, 0x18, 0x0a, 0x07, 0x66,
|
|
|
|
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x67, 0x18, 0xcc, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x66,
|
2020-12-21 07:51:04 +00:00
|
|
|
0x69, 0x65, 0x6c, 0x64, 0x47, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69,
|
|
|
|
0x18, 0xcd, 0x01, 0x20, 0x01, 0x28, 0x06, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x12,
|
2021-03-24 07:10:30 +00:00
|
|
|
0x18, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6a, 0x18, 0xce, 0x01, 0x20, 0x01, 0x28,
|
2021-11-18 13:14:49 +00:00
|
|
|
0x01, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4a, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x65,
|
|
|
|
0x6c, 0x64, 0x5f, 0x6b, 0x18, 0xcf, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x06, 0x66, 0x69, 0x65,
|
|
|
|
0x6c, 0x64, 0x4b, 0x12, 0x33, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x68, 0x18, 0xac,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x72, 0x69,
|
|
|
|
0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x73, 0x2e, 0x53, 0x6f, 0x6d, 0x65, 0x45, 0x6e, 0x75, 0x6d,
|
2024-08-26 11:33:30 +00:00
|
|
|
0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x48, 0x12, 0x1c, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c,
|
|
|
|
0x64, 0x5f, 0x6d, 0x61, 0x18, 0x91, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x66,
|
|
|
|
0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x12, 0x1c, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
|
|
|
|
0x6d, 0x65, 0x18, 0x92, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x00, 0x52, 0x07, 0x66, 0x69, 0x65,
|
|
|
|
0x6c, 0x64, 0x4d, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x61, 0x75,
|
|
|
|
0x78, 0x18, 0x93, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e,
|
|
|
|
0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x78, 0x48, 0x00,
|
|
|
|
0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x41, 0x75, 0x78, 0x1a, 0x26, 0x0a, 0x03, 0x41, 0x75,
|
|
|
|
0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x65,
|
|
|
|
0x6c, 0x64, 0x22, 0x3c, 0x0a, 0x08, 0x53, 0x6f, 0x6d, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0b,
|
|
|
|
0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50,
|
|
|
|
0x4f, 0x53, 0x49, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x08, 0x4e, 0x45, 0x47,
|
|
|
|
0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01,
|
2024-08-27 12:02:16 +00:00
|
|
|
0x42, 0x09, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x22, 0xa2, 0x02, 0x0a, 0x0d,
|
2024-08-26 11:33:30 +00:00
|
|
|
0x52, 0x65, 0x70, 0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x73, 0x12, 0x17, 0x0a,
|
|
|
|
0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x06,
|
|
|
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x41, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
|
|
|
|
0x62, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x12,
|
|
|
|
0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05,
|
|
|
|
0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c,
|
|
|
|
0x64, 0x5f, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
|
|
|
0x44, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x18, 0x05, 0x20, 0x03,
|
|
|
|
0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69,
|
|
|
|
0x65, 0x6c, 0x64, 0x5f, 0x66, 0x18, 0x06, 0x20, 0x03, 0x28, 0x04, 0x52, 0x06, 0x66, 0x69, 0x65,
|
|
|
|
0x6c, 0x64, 0x46, 0x12, 0x1d, 0x0a, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x66, 0x75, 0x18,
|
|
|
|
0x07, 0x20, 0x03, 0x28, 0x04, 0x42, 0x02, 0x10, 0x00, 0x52, 0x07, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
2024-08-27 12:02:16 +00:00
|
|
|
0x46, 0x75, 0x12, 0x34, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x61, 0x75, 0x78, 0x18,
|
|
|
|
0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70,
|
|
|
|
0x50, 0x72, 0x69, 0x6d, 0x69, 0x74, 0x69, 0x76, 0x65, 0x73, 0x2e, 0x41, 0x75, 0x78, 0x52, 0x08,
|
|
|
|
0x66, 0x69, 0x65, 0x6c, 0x64, 0x41, 0x75, 0x78, 0x1a, 0x26, 0x0a, 0x03, 0x41, 0x75, 0x78, 0x12,
|
|
|
|
0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x46, 0x69, 0x65, 0x6c, 0x64,
|
|
|
|
0x42, 0x11, 0x5a, 0x0f, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74,
|
|
|
|
0x65, 0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
2020-08-14 14:22:47 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
var (
|
|
|
|
file_util_proto_test_test_proto_rawDescOnce sync.Once
|
|
|
|
file_util_proto_test_test_proto_rawDescData = file_util_proto_test_test_proto_rawDesc
|
|
|
|
)
|
2020-08-14 10:57:19 +00:00
|
|
|
|
2020-10-19 18:51:59 +00:00
|
|
|
func file_util_proto_test_test_proto_rawDescGZIP() []byte {
|
|
|
|
file_util_proto_test_test_proto_rawDescOnce.Do(func() {
|
|
|
|
file_util_proto_test_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_util_proto_test_test_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_util_proto_test_test_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_util_proto_test_test_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
2024-08-27 12:02:16 +00:00
|
|
|
var file_util_proto_test_test_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
2020-10-19 18:51:59 +00:00
|
|
|
var file_util_proto_test_test_proto_goTypes = []interface{}{
|
2024-08-27 12:02:16 +00:00
|
|
|
(Primitives_SomeEnum)(0), // 0: test.Primitives.SomeEnum
|
|
|
|
(*Primitives)(nil), // 1: test.Primitives
|
|
|
|
(*RepPrimitives)(nil), // 2: test.RepPrimitives
|
|
|
|
(*Primitives_Aux)(nil), // 3: test.Primitives.Aux
|
|
|
|
(*RepPrimitives_Aux)(nil), // 4: test.RepPrimitives.Aux
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
var file_util_proto_test_test_proto_depIdxs = []int32{
|
|
|
|
0, // 0: test.Primitives.field_h:type_name -> test.Primitives.SomeEnum
|
2024-08-26 11:33:30 +00:00
|
|
|
3, // 1: test.Primitives.field_aux:type_name -> test.Primitives.Aux
|
2024-08-27 12:02:16 +00:00
|
|
|
4, // 2: test.RepPrimitives.field_aux:type_name -> test.RepPrimitives.Aux
|
|
|
|
3, // [3:3] is the sub-list for method output_type
|
|
|
|
3, // [3:3] is the sub-list for method input_type
|
|
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
|
|
0, // [0:3] is the sub-list for field type_name
|
2020-10-19 18:51:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_util_proto_test_test_proto_init() }
|
|
|
|
func file_util_proto_test_test_proto_init() {
|
|
|
|
if File_util_proto_test_test_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_util_proto_test_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Primitives); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
file_util_proto_test_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*RepPrimitives); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
|
|
|
}
|
2024-08-26 11:33:30 +00:00
|
|
|
file_util_proto_test_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Primitives_Aux); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-08-27 12:02:16 +00:00
|
|
|
file_util_proto_test_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*RepPrimitives_Aux); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-08-26 11:33:30 +00:00
|
|
|
}
|
|
|
|
file_util_proto_test_test_proto_msgTypes[0].OneofWrappers = []interface{}{
|
|
|
|
(*Primitives_FieldMa)(nil),
|
|
|
|
(*Primitives_FieldMe)(nil),
|
|
|
|
(*Primitives_FieldAux)(nil),
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|
2020-10-19 18:51:59 +00:00
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_util_proto_test_test_proto_rawDesc,
|
|
|
|
NumEnums: 1,
|
2024-08-27 12:02:16 +00:00
|
|
|
NumMessages: 4,
|
2020-10-19 18:51:59 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_util_proto_test_test_proto_goTypes,
|
|
|
|
DependencyIndexes: file_util_proto_test_test_proto_depIdxs,
|
|
|
|
EnumInfos: file_util_proto_test_test_proto_enumTypes,
|
|
|
|
MessageInfos: file_util_proto_test_test_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_util_proto_test_test_proto = out.File
|
|
|
|
file_util_proto_test_test_proto_rawDesc = nil
|
|
|
|
file_util_proto_test_test_proto_goTypes = nil
|
|
|
|
file_util_proto_test_test_proto_depIdxs = nil
|
2020-08-14 10:57:19 +00:00
|
|
|
}
|