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"`
|
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
|
|
|
|
}
|
|
|
|
|
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-07-15 08:16:29 +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"`
|
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
|
|
|
|
}
|
|
|
|
|
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,
|
2021-11-18 13:14:49 +00:00
|
|
|
0x73, 0x74, 0x22, 0x81, 0x03, 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,
|
|
|
|
0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x48, 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,
|
2024-07-15 08:16:29 +00:00
|
|
|
0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x22, 0xc4, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x50, 0x72,
|
2021-11-18 13:14:49 +00:00
|
|
|
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,
|
2024-07-15 08:16:29 +00:00
|
|
|
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, 0x46, 0x75, 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)
|
|
|
|
var file_util_proto_test_test_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
|
var file_util_proto_test_test_proto_goTypes = []interface{}{
|
|
|
|
(Primitives_SomeEnum)(0), // 0: test.Primitives.SomeEnum
|
|
|
|
(*Primitives)(nil), // 1: test.Primitives
|
|
|
|
(*RepPrimitives)(nil), // 2: test.RepPrimitives
|
|
|
|
}
|
|
|
|
var file_util_proto_test_test_proto_depIdxs = []int32{
|
|
|
|
0, // 0: test.Primitives.field_h:type_name -> test.Primitives.SomeEnum
|
|
|
|
1, // [1:1] is the sub-list for method output_type
|
|
|
|
1, // [1:1] is the sub-list for method input_type
|
|
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
|
|
0, // [0:1] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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,
|
|
|
|
NumMessages: 2,
|
|
|
|
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
|
|
|
}
|