github.com/confluentinc/confluent-kafka-go@v1.9.2/schemaregistry/test/test.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.0
     4  // 	protoc        v3.19.1
     5  // source: test.proto
     6  
     7  package test
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	_ "google.golang.org/protobuf/types/descriptorpb"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type TestMessage struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	TestString   string  `protobuf:"bytes,1,opt,name=test_string,json=testString,proto3" json:"test_string,omitempty"`
    30  	TestBool     bool    `protobuf:"varint,2,opt,name=test_bool,json=testBool,proto3" json:"test_bool,omitempty"`
    31  	TestBytes    []byte  `protobuf:"bytes,3,opt,name=test_bytes,json=testBytes,proto3" json:"test_bytes,omitempty"`
    32  	TestDouble   float64 `protobuf:"fixed64,4,opt,name=test_double,json=testDouble,proto3" json:"test_double,omitempty"`
    33  	TestFloat    float32 `protobuf:"fixed32,5,opt,name=test_float,json=testFloat,proto3" json:"test_float,omitempty"`
    34  	TestFixed32  uint32  `protobuf:"fixed32,6,opt,name=test_fixed32,json=testFixed32,proto3" json:"test_fixed32,omitempty"`
    35  	TestFixed64  uint64  `protobuf:"fixed64,7,opt,name=test_fixed64,json=testFixed64,proto3" json:"test_fixed64,omitempty"`
    36  	TestInt32    int32   `protobuf:"varint,8,opt,name=test_int32,json=testInt32,proto3" json:"test_int32,omitempty"`
    37  	TestInt64    int64   `protobuf:"varint,9,opt,name=test_int64,json=testInt64,proto3" json:"test_int64,omitempty"`
    38  	TestSfixed32 int32   `protobuf:"fixed32,10,opt,name=test_sfixed32,json=testSfixed32,proto3" json:"test_sfixed32,omitempty"`
    39  	TestSfixed64 int64   `protobuf:"fixed64,11,opt,name=test_sfixed64,json=testSfixed64,proto3" json:"test_sfixed64,omitempty"`
    40  	TestSint32   int32   `protobuf:"zigzag32,12,opt,name=test_sint32,json=testSint32,proto3" json:"test_sint32,omitempty"`
    41  	TestSint64   int64   `protobuf:"zigzag64,13,opt,name=test_sint64,json=testSint64,proto3" json:"test_sint64,omitempty"`
    42  	TestUint32   uint32  `protobuf:"varint,14,opt,name=test_uint32,json=testUint32,proto3" json:"test_uint32,omitempty"`
    43  	TestUint64   uint64  `protobuf:"varint,15,opt,name=test_uint64,json=testUint64,proto3" json:"test_uint64,omitempty"`
    44  }
    45  
    46  func (x *TestMessage) Reset() {
    47  	*x = TestMessage{}
    48  	if protoimpl.UnsafeEnabled {
    49  		mi := &file_test_proto_msgTypes[0]
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		ms.StoreMessageInfo(mi)
    52  	}
    53  }
    54  
    55  func (x *TestMessage) String() string {
    56  	return protoimpl.X.MessageStringOf(x)
    57  }
    58  
    59  func (*TestMessage) ProtoMessage() {}
    60  
    61  func (x *TestMessage) ProtoReflect() protoreflect.Message {
    62  	mi := &file_test_proto_msgTypes[0]
    63  	if protoimpl.UnsafeEnabled && x != nil {
    64  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    65  		if ms.LoadMessageInfo() == nil {
    66  			ms.StoreMessageInfo(mi)
    67  		}
    68  		return ms
    69  	}
    70  	return mi.MessageOf(x)
    71  }
    72  
    73  // Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.
    74  func (*TestMessage) Descriptor() ([]byte, []int) {
    75  	return file_test_proto_rawDescGZIP(), []int{0}
    76  }
    77  
    78  func (x *TestMessage) GetTestString() string {
    79  	if x != nil {
    80  		return x.TestString
    81  	}
    82  	return ""
    83  }
    84  
    85  func (x *TestMessage) GetTestBool() bool {
    86  	if x != nil {
    87  		return x.TestBool
    88  	}
    89  	return false
    90  }
    91  
    92  func (x *TestMessage) GetTestBytes() []byte {
    93  	if x != nil {
    94  		return x.TestBytes
    95  	}
    96  	return nil
    97  }
    98  
    99  func (x *TestMessage) GetTestDouble() float64 {
   100  	if x != nil {
   101  		return x.TestDouble
   102  	}
   103  	return 0
   104  }
   105  
   106  func (x *TestMessage) GetTestFloat() float32 {
   107  	if x != nil {
   108  		return x.TestFloat
   109  	}
   110  	return 0
   111  }
   112  
   113  func (x *TestMessage) GetTestFixed32() uint32 {
   114  	if x != nil {
   115  		return x.TestFixed32
   116  	}
   117  	return 0
   118  }
   119  
   120  func (x *TestMessage) GetTestFixed64() uint64 {
   121  	if x != nil {
   122  		return x.TestFixed64
   123  	}
   124  	return 0
   125  }
   126  
   127  func (x *TestMessage) GetTestInt32() int32 {
   128  	if x != nil {
   129  		return x.TestInt32
   130  	}
   131  	return 0
   132  }
   133  
   134  func (x *TestMessage) GetTestInt64() int64 {
   135  	if x != nil {
   136  		return x.TestInt64
   137  	}
   138  	return 0
   139  }
   140  
   141  func (x *TestMessage) GetTestSfixed32() int32 {
   142  	if x != nil {
   143  		return x.TestSfixed32
   144  	}
   145  	return 0
   146  }
   147  
   148  func (x *TestMessage) GetTestSfixed64() int64 {
   149  	if x != nil {
   150  		return x.TestSfixed64
   151  	}
   152  	return 0
   153  }
   154  
   155  func (x *TestMessage) GetTestSint32() int32 {
   156  	if x != nil {
   157  		return x.TestSint32
   158  	}
   159  	return 0
   160  }
   161  
   162  func (x *TestMessage) GetTestSint64() int64 {
   163  	if x != nil {
   164  		return x.TestSint64
   165  	}
   166  	return 0
   167  }
   168  
   169  func (x *TestMessage) GetTestUint32() uint32 {
   170  	if x != nil {
   171  		return x.TestUint32
   172  	}
   173  	return 0
   174  }
   175  
   176  func (x *TestMessage) GetTestUint64() uint64 {
   177  	if x != nil {
   178  		return x.TestUint64
   179  	}
   180  	return 0
   181  }
   182  
   183  var File_test_proto protoreflect.FileDescriptor
   184  
   185  var file_test_proto_rawDesc = []byte{
   186  	0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x74, 0x65,
   187  	0x73, 0x74, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   188  	0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70,
   189  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfc, 0x03, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73,
   190  	0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x72,
   191  	0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x53,
   192  	0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x62, 0x6f,
   193  	0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x65, 0x73, 0x74, 0x42, 0x6f,
   194  	0x6f, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
   195  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x65, 0x73, 0x74, 0x42, 0x79, 0x74, 0x65,
   196  	0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65,
   197  	0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x44, 0x6f, 0x75, 0x62,
   198  	0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74,
   199  	0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x74, 0x65, 0x73, 0x74, 0x46, 0x6c, 0x6f, 0x61,
   200  	0x74, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33,
   201  	0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x46, 0x69, 0x78,
   202  	0x65, 0x64, 0x33, 0x32, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x69, 0x78,
   203  	0x65, 0x64, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0b, 0x74, 0x65, 0x73, 0x74,
   204  	0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x5f,
   205  	0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x65, 0x73,
   206  	0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x69,
   207  	0x6e, 0x74, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x65, 0x73, 0x74,
   208  	0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x66,
   209  	0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x0c, 0x74, 0x65,
   210  	0x73, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x65,
   211  	0x73, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28,
   212  	0x10, 0x52, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12,
   213  	0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x0c,
   214  	0x20, 0x01, 0x28, 0x11, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32,
   215  	0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
   216  	0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36,
   217  	0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32,
   218  	0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x55, 0x69, 0x6e, 0x74,
   219  	0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36,
   220  	0x34, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x55, 0x69, 0x6e,
   221  	0x74, 0x36, 0x34, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2e, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x62, 0x06,
   222  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   223  }
   224  
   225  var (
   226  	file_test_proto_rawDescOnce sync.Once
   227  	file_test_proto_rawDescData = file_test_proto_rawDesc
   228  )
   229  
   230  func file_test_proto_rawDescGZIP() []byte {
   231  	file_test_proto_rawDescOnce.Do(func() {
   232  		file_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_proto_rawDescData)
   233  	})
   234  	return file_test_proto_rawDescData
   235  }
   236  
   237  var file_test_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   238  var file_test_proto_goTypes = []interface{}{
   239  	(*TestMessage)(nil), // 0: test.TestMessage
   240  }
   241  var file_test_proto_depIdxs = []int32{
   242  	0, // [0:0] is the sub-list for method output_type
   243  	0, // [0:0] is the sub-list for method input_type
   244  	0, // [0:0] is the sub-list for extension type_name
   245  	0, // [0:0] is the sub-list for extension extendee
   246  	0, // [0:0] is the sub-list for field type_name
   247  }
   248  
   249  func init() { file_test_proto_init() }
   250  func file_test_proto_init() {
   251  	if File_test_proto != nil {
   252  		return
   253  	}
   254  	if !protoimpl.UnsafeEnabled {
   255  		file_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   256  			switch v := v.(*TestMessage); i {
   257  			case 0:
   258  				return &v.state
   259  			case 1:
   260  				return &v.sizeCache
   261  			case 2:
   262  				return &v.unknownFields
   263  			default:
   264  				return nil
   265  			}
   266  		}
   267  	}
   268  	type x struct{}
   269  	out := protoimpl.TypeBuilder{
   270  		File: protoimpl.DescBuilder{
   271  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   272  			RawDescriptor: file_test_proto_rawDesc,
   273  			NumEnums:      0,
   274  			NumMessages:   1,
   275  			NumExtensions: 0,
   276  			NumServices:   0,
   277  		},
   278  		GoTypes:           file_test_proto_goTypes,
   279  		DependencyIndexes: file_test_proto_depIdxs,
   280  		MessageInfos:      file_test_proto_msgTypes,
   281  	}.Build()
   282  	File_test_proto = out.File
   283  	file_test_proto_rawDesc = nil
   284  	file_test_proto_goTypes = nil
   285  	file_test_proto_depIdxs = nil
   286  }