github.com/confluentinc/confluent-kafka-go@v1.9.2/schemaregistry/test/nested.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: schemaregistry/test/proto/nested.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  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    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 Status int32
    25  
    26  const (
    27  	Status_ACTIVE   Status = 0
    28  	Status_INACTIVE Status = 1
    29  )
    30  
    31  // Enum value maps for Status.
    32  var (
    33  	Status_name = map[int32]string{
    34  		0: "ACTIVE",
    35  		1: "INACTIVE",
    36  	}
    37  	Status_value = map[string]int32{
    38  		"ACTIVE":   0,
    39  		"INACTIVE": 1,
    40  	}
    41  )
    42  
    43  func (x Status) Enum() *Status {
    44  	p := new(Status)
    45  	*p = x
    46  	return p
    47  }
    48  
    49  func (x Status) String() string {
    50  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    51  }
    52  
    53  func (Status) Descriptor() protoreflect.EnumDescriptor {
    54  	return file_schemaregistry_test_proto_nested_proto_enumTypes[0].Descriptor()
    55  }
    56  
    57  func (Status) Type() protoreflect.EnumType {
    58  	return &file_schemaregistry_test_proto_nested_proto_enumTypes[0]
    59  }
    60  
    61  func (x Status) Number() protoreflect.EnumNumber {
    62  	return protoreflect.EnumNumber(x)
    63  }
    64  
    65  // Deprecated: Use Status.Descriptor instead.
    66  func (Status) EnumDescriptor() ([]byte, []int) {
    67  	return file_schemaregistry_test_proto_nested_proto_rawDescGZIP(), []int{0}
    68  }
    69  
    70  type NestedMessage_InnerEnum int32
    71  
    72  const (
    73  	NestedMessage_ZERO      NestedMessage_InnerEnum = 0
    74  	NestedMessage_ALSO_ZERO NestedMessage_InnerEnum = 0
    75  )
    76  
    77  // Enum value maps for NestedMessage_InnerEnum.
    78  var (
    79  	NestedMessage_InnerEnum_name = map[int32]string{
    80  		0: "ZERO",
    81  		// Duplicate value: 0: "ALSO_ZERO",
    82  	}
    83  	NestedMessage_InnerEnum_value = map[string]int32{
    84  		"ZERO":      0,
    85  		"ALSO_ZERO": 0,
    86  	}
    87  )
    88  
    89  func (x NestedMessage_InnerEnum) Enum() *NestedMessage_InnerEnum {
    90  	p := new(NestedMessage_InnerEnum)
    91  	*p = x
    92  	return p
    93  }
    94  
    95  func (x NestedMessage_InnerEnum) String() string {
    96  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    97  }
    98  
    99  func (NestedMessage_InnerEnum) Descriptor() protoreflect.EnumDescriptor {
   100  	return file_schemaregistry_test_proto_nested_proto_enumTypes[1].Descriptor()
   101  }
   102  
   103  func (NestedMessage_InnerEnum) Type() protoreflect.EnumType {
   104  	return &file_schemaregistry_test_proto_nested_proto_enumTypes[1]
   105  }
   106  
   107  func (x NestedMessage_InnerEnum) Number() protoreflect.EnumNumber {
   108  	return protoreflect.EnumNumber(x)
   109  }
   110  
   111  // Deprecated: Use NestedMessage_InnerEnum.Descriptor instead.
   112  func (NestedMessage_InnerEnum) EnumDescriptor() ([]byte, []int) {
   113  	return file_schemaregistry_test_proto_nested_proto_rawDescGZIP(), []int{3, 0}
   114  }
   115  
   116  type UserId struct {
   117  	state         protoimpl.MessageState
   118  	sizeCache     protoimpl.SizeCache
   119  	unknownFields protoimpl.UnknownFields
   120  
   121  	// Types that are assignable to UserId:
   122  	//	*UserId_KafkaUserId
   123  	//	*UserId_OtherUserId
   124  	//	*UserId_AnotherId
   125  	UserId isUserId_UserId `protobuf_oneof:"user_id"`
   126  }
   127  
   128  func (x *UserId) Reset() {
   129  	*x = UserId{}
   130  	if protoimpl.UnsafeEnabled {
   131  		mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[0]
   132  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   133  		ms.StoreMessageInfo(mi)
   134  	}
   135  }
   136  
   137  func (x *UserId) String() string {
   138  	return protoimpl.X.MessageStringOf(x)
   139  }
   140  
   141  func (*UserId) ProtoMessage() {}
   142  
   143  func (x *UserId) ProtoReflect() protoreflect.Message {
   144  	mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[0]
   145  	if protoimpl.UnsafeEnabled && x != nil {
   146  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   147  		if ms.LoadMessageInfo() == nil {
   148  			ms.StoreMessageInfo(mi)
   149  		}
   150  		return ms
   151  	}
   152  	return mi.MessageOf(x)
   153  }
   154  
   155  // Deprecated: Use UserId.ProtoReflect.Descriptor instead.
   156  func (*UserId) Descriptor() ([]byte, []int) {
   157  	return file_schemaregistry_test_proto_nested_proto_rawDescGZIP(), []int{0}
   158  }
   159  
   160  func (m *UserId) GetUserId() isUserId_UserId {
   161  	if m != nil {
   162  		return m.UserId
   163  	}
   164  	return nil
   165  }
   166  
   167  func (x *UserId) GetKafkaUserId() string {
   168  	if x, ok := x.GetUserId().(*UserId_KafkaUserId); ok {
   169  		return x.KafkaUserId
   170  	}
   171  	return ""
   172  }
   173  
   174  func (x *UserId) GetOtherUserId() int32 {
   175  	if x, ok := x.GetUserId().(*UserId_OtherUserId); ok {
   176  		return x.OtherUserId
   177  	}
   178  	return 0
   179  }
   180  
   181  func (x *UserId) GetAnotherId() *MessageId {
   182  	if x, ok := x.GetUserId().(*UserId_AnotherId); ok {
   183  		return x.AnotherId
   184  	}
   185  	return nil
   186  }
   187  
   188  type isUserId_UserId interface {
   189  	isUserId_UserId()
   190  }
   191  
   192  type UserId_KafkaUserId struct {
   193  	KafkaUserId string `protobuf:"bytes,1,opt,name=kafka_user_id,json=kafkaUserId,proto3,oneof"`
   194  }
   195  
   196  type UserId_OtherUserId struct {
   197  	OtherUserId int32 `protobuf:"varint,2,opt,name=other_user_id,json=otherUserId,proto3,oneof"`
   198  }
   199  
   200  type UserId_AnotherId struct {
   201  	AnotherId *MessageId `protobuf:"bytes,3,opt,name=another_id,json=anotherId,proto3,oneof"`
   202  }
   203  
   204  func (*UserId_KafkaUserId) isUserId_UserId() {}
   205  
   206  func (*UserId_OtherUserId) isUserId_UserId() {}
   207  
   208  func (*UserId_AnotherId) isUserId_UserId() {}
   209  
   210  type MessageId struct {
   211  	state         protoimpl.MessageState
   212  	sizeCache     protoimpl.SizeCache
   213  	unknownFields protoimpl.UnknownFields
   214  
   215  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   216  }
   217  
   218  func (x *MessageId) Reset() {
   219  	*x = MessageId{}
   220  	if protoimpl.UnsafeEnabled {
   221  		mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[1]
   222  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   223  		ms.StoreMessageInfo(mi)
   224  	}
   225  }
   226  
   227  func (x *MessageId) String() string {
   228  	return protoimpl.X.MessageStringOf(x)
   229  }
   230  
   231  func (*MessageId) ProtoMessage() {}
   232  
   233  func (x *MessageId) ProtoReflect() protoreflect.Message {
   234  	mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[1]
   235  	if protoimpl.UnsafeEnabled && x != nil {
   236  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   237  		if ms.LoadMessageInfo() == nil {
   238  			ms.StoreMessageInfo(mi)
   239  		}
   240  		return ms
   241  	}
   242  	return mi.MessageOf(x)
   243  }
   244  
   245  // Deprecated: Use MessageId.ProtoReflect.Descriptor instead.
   246  func (*MessageId) Descriptor() ([]byte, []int) {
   247  	return file_schemaregistry_test_proto_nested_proto_rawDescGZIP(), []int{1}
   248  }
   249  
   250  func (x *MessageId) GetId() string {
   251  	if x != nil {
   252  		return x.Id
   253  	}
   254  	return ""
   255  }
   256  
   257  type ComplexType struct {
   258  	state         protoimpl.MessageState
   259  	sizeCache     protoimpl.SizeCache
   260  	unknownFields protoimpl.UnknownFields
   261  
   262  	// Types that are assignable to SomeVal:
   263  	//	*ComplexType_OneId
   264  	//	*ComplexType_OtherId
   265  	SomeVal  isComplexType_SomeVal `protobuf_oneof:"some_val"`
   266  	IsActive bool                  `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
   267  }
   268  
   269  func (x *ComplexType) Reset() {
   270  	*x = ComplexType{}
   271  	if protoimpl.UnsafeEnabled {
   272  		mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[2]
   273  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   274  		ms.StoreMessageInfo(mi)
   275  	}
   276  }
   277  
   278  func (x *ComplexType) String() string {
   279  	return protoimpl.X.MessageStringOf(x)
   280  }
   281  
   282  func (*ComplexType) ProtoMessage() {}
   283  
   284  func (x *ComplexType) ProtoReflect() protoreflect.Message {
   285  	mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[2]
   286  	if protoimpl.UnsafeEnabled && x != nil {
   287  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   288  		if ms.LoadMessageInfo() == nil {
   289  			ms.StoreMessageInfo(mi)
   290  		}
   291  		return ms
   292  	}
   293  	return mi.MessageOf(x)
   294  }
   295  
   296  // Deprecated: Use ComplexType.ProtoReflect.Descriptor instead.
   297  func (*ComplexType) Descriptor() ([]byte, []int) {
   298  	return file_schemaregistry_test_proto_nested_proto_rawDescGZIP(), []int{2}
   299  }
   300  
   301  func (m *ComplexType) GetSomeVal() isComplexType_SomeVal {
   302  	if m != nil {
   303  		return m.SomeVal
   304  	}
   305  	return nil
   306  }
   307  
   308  func (x *ComplexType) GetOneId() string {
   309  	if x, ok := x.GetSomeVal().(*ComplexType_OneId); ok {
   310  		return x.OneId
   311  	}
   312  	return ""
   313  }
   314  
   315  func (x *ComplexType) GetOtherId() int32 {
   316  	if x, ok := x.GetSomeVal().(*ComplexType_OtherId); ok {
   317  		return x.OtherId
   318  	}
   319  	return 0
   320  }
   321  
   322  func (x *ComplexType) GetIsActive() bool {
   323  	if x != nil {
   324  		return x.IsActive
   325  	}
   326  	return false
   327  }
   328  
   329  type isComplexType_SomeVal interface {
   330  	isComplexType_SomeVal()
   331  }
   332  
   333  type ComplexType_OneId struct {
   334  	OneId string `protobuf:"bytes,1,opt,name=one_id,json=oneId,proto3,oneof"`
   335  }
   336  
   337  type ComplexType_OtherId struct {
   338  	OtherId int32 `protobuf:"varint,2,opt,name=other_id,json=otherId,proto3,oneof"`
   339  }
   340  
   341  func (*ComplexType_OneId) isComplexType_SomeVal() {}
   342  
   343  func (*ComplexType_OtherId) isComplexType_SomeVal() {}
   344  
   345  //
   346  // Complex message using nested protos and repeated fields
   347  type NestedMessage struct {
   348  	state         protoimpl.MessageState
   349  	sizeCache     protoimpl.SizeCache
   350  	unknownFields protoimpl.UnknownFields
   351  
   352  	UserId            *UserId                     `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
   353  	IsActive          bool                        `protobuf:"varint,2,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
   354  	ExperimentsActive []string                    `protobuf:"bytes,3,rep,name=experiments_active,json=experimentsActive,proto3" json:"experiments_active,omitempty"`
   355  	UpdatedAt         *timestamppb.Timestamp      `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
   356  	Status            Status                      `protobuf:"varint,5,opt,name=status,proto3,enum=io.confluent.kafka.serializers.protobuf.test.Status" json:"status,omitempty"`
   357  	ComplexType       *ComplexType                `protobuf:"bytes,6,opt,name=complex_type,json=complexType,proto3" json:"complex_type,omitempty"`
   358  	MapType           map[string]string           `protobuf:"bytes,7,rep,name=map_type,json=mapType,proto3" json:"map_type,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   359  	Inner             *NestedMessage_InnerMessage `protobuf:"bytes,8,opt,name=inner,proto3" json:"inner,omitempty"`
   360  }
   361  
   362  func (x *NestedMessage) Reset() {
   363  	*x = NestedMessage{}
   364  	if protoimpl.UnsafeEnabled {
   365  		mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[3]
   366  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   367  		ms.StoreMessageInfo(mi)
   368  	}
   369  }
   370  
   371  func (x *NestedMessage) String() string {
   372  	return protoimpl.X.MessageStringOf(x)
   373  }
   374  
   375  func (*NestedMessage) ProtoMessage() {}
   376  
   377  func (x *NestedMessage) ProtoReflect() protoreflect.Message {
   378  	mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[3]
   379  	if protoimpl.UnsafeEnabled && x != nil {
   380  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   381  		if ms.LoadMessageInfo() == nil {
   382  			ms.StoreMessageInfo(mi)
   383  		}
   384  		return ms
   385  	}
   386  	return mi.MessageOf(x)
   387  }
   388  
   389  // Deprecated: Use NestedMessage.ProtoReflect.Descriptor instead.
   390  func (*NestedMessage) Descriptor() ([]byte, []int) {
   391  	return file_schemaregistry_test_proto_nested_proto_rawDescGZIP(), []int{3}
   392  }
   393  
   394  func (x *NestedMessage) GetUserId() *UserId {
   395  	if x != nil {
   396  		return x.UserId
   397  	}
   398  	return nil
   399  }
   400  
   401  func (x *NestedMessage) GetIsActive() bool {
   402  	if x != nil {
   403  		return x.IsActive
   404  	}
   405  	return false
   406  }
   407  
   408  func (x *NestedMessage) GetExperimentsActive() []string {
   409  	if x != nil {
   410  		return x.ExperimentsActive
   411  	}
   412  	return nil
   413  }
   414  
   415  func (x *NestedMessage) GetUpdatedAt() *timestamppb.Timestamp {
   416  	if x != nil {
   417  		return x.UpdatedAt
   418  	}
   419  	return nil
   420  }
   421  
   422  func (x *NestedMessage) GetStatus() Status {
   423  	if x != nil {
   424  		return x.Status
   425  	}
   426  	return Status_ACTIVE
   427  }
   428  
   429  func (x *NestedMessage) GetComplexType() *ComplexType {
   430  	if x != nil {
   431  		return x.ComplexType
   432  	}
   433  	return nil
   434  }
   435  
   436  func (x *NestedMessage) GetMapType() map[string]string {
   437  	if x != nil {
   438  		return x.MapType
   439  	}
   440  	return nil
   441  }
   442  
   443  func (x *NestedMessage) GetInner() *NestedMessage_InnerMessage {
   444  	if x != nil {
   445  		return x.Inner
   446  	}
   447  	return nil
   448  }
   449  
   450  type NestedMessage_InnerMessage struct {
   451  	state         protoimpl.MessageState
   452  	sizeCache     protoimpl.SizeCache
   453  	unknownFields protoimpl.UnknownFields
   454  
   455  	Id  string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   456  	Ids []int32 `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"`
   457  }
   458  
   459  func (x *NestedMessage_InnerMessage) Reset() {
   460  	*x = NestedMessage_InnerMessage{}
   461  	if protoimpl.UnsafeEnabled {
   462  		mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[5]
   463  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   464  		ms.StoreMessageInfo(mi)
   465  	}
   466  }
   467  
   468  func (x *NestedMessage_InnerMessage) String() string {
   469  	return protoimpl.X.MessageStringOf(x)
   470  }
   471  
   472  func (*NestedMessage_InnerMessage) ProtoMessage() {}
   473  
   474  func (x *NestedMessage_InnerMessage) ProtoReflect() protoreflect.Message {
   475  	mi := &file_schemaregistry_test_proto_nested_proto_msgTypes[5]
   476  	if protoimpl.UnsafeEnabled && x != nil {
   477  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   478  		if ms.LoadMessageInfo() == nil {
   479  			ms.StoreMessageInfo(mi)
   480  		}
   481  		return ms
   482  	}
   483  	return mi.MessageOf(x)
   484  }
   485  
   486  // Deprecated: Use NestedMessage_InnerMessage.ProtoReflect.Descriptor instead.
   487  func (*NestedMessage_InnerMessage) Descriptor() ([]byte, []int) {
   488  	return file_schemaregistry_test_proto_nested_proto_rawDescGZIP(), []int{3, 1}
   489  }
   490  
   491  func (x *NestedMessage_InnerMessage) GetId() string {
   492  	if x != nil {
   493  		return x.Id
   494  	}
   495  	return ""
   496  }
   497  
   498  func (x *NestedMessage_InnerMessage) GetIds() []int32 {
   499  	if x != nil {
   500  		return x.Ids
   501  	}
   502  	return nil
   503  }
   504  
   505  var File_schemaregistry_test_proto_nested_proto protoreflect.FileDescriptor
   506  
   507  var file_schemaregistry_test_proto_nested_proto_rawDesc = []byte{
   508  	0x0a, 0x26, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79,
   509  	0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6e, 0x65, 0x73, 0x74,
   510  	0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2c, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e,
   511  	0x66, 0x6c, 0x75, 0x65, 0x6e, 0x74, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x2e, 0x73, 0x65, 0x72,
   512  	0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   513  	0x66, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
   514  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   515  	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72,
   516  	0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x5f, 0x75, 0x73, 0x65, 0x72,
   517  	0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6b, 0x61, 0x66,
   518  	0x6b, 0x61, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x74, 0x68, 0x65,
   519  	0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48,
   520  	0x00, 0x52, 0x0b, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x58,
   521  	0x0a, 0x0a, 0x61, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
   522  	0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x75, 0x65, 0x6e,
   523  	0x74, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a,
   524  	0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x74, 0x65, 0x73,
   525  	0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64, 0x48, 0x00, 0x52, 0x09, 0x61,
   526  	0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72,
   527  	0x5f, 0x69, 0x64, 0x22, 0x1b, 0x0a, 0x09, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x49, 0x64,
   528  	0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
   529  	0x22, 0x6c, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12,
   530  	0x17, 0x0a, 0x06, 0x6f, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48,
   531  	0x00, 0x52, 0x05, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x08, 0x6f, 0x74, 0x68, 0x65,
   532  	0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x74,
   533  	0x68, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
   534  	0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69,
   535  	0x76, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x6f, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x22, 0x8e,
   536  	0x06, 0x0a, 0x0d, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   537  	0x12, 0x4d, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   538  	0x0b, 0x32, 0x34, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x75, 0x65, 0x6e, 0x74,
   539  	0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65,
   540  	0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x74, 0x65, 0x73, 0x74,
   541  	0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12,
   542  	0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01,
   543  	0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2d, 0x0a, 0x12,
   544  	0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69,
   545  	0x76, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69,
   546  	0x6d, 0x65, 0x6e, 0x74, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x75,
   547  	0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
   548  	0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   549  	0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x75, 0x70, 0x64,
   550  	0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x4c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
   551  	0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
   552  	0x6c, 0x75, 0x65, 0x6e, 0x74, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x2e, 0x73, 0x65, 0x72, 0x69,
   553  	0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   554  	0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
   555  	0x61, 0x74, 0x75, 0x73, 0x12, 0x5c, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x5f,
   556  	0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x69, 0x6f, 0x2e,
   557  	0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x75, 0x65, 0x6e, 0x74, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x2e,
   558  	0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   559  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
   560  	0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x54, 0x79,
   561  	0x70, 0x65, 0x12, 0x63, 0x0a, 0x08, 0x6d, 0x61, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07,
   562  	0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x75,
   563  	0x65, 0x6e, 0x74, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x2e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c,
   564  	0x69, 0x7a, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x74,
   565  	0x65, 0x73, 0x74, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
   566  	0x65, 0x2e, 0x4d, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07,
   567  	0x6d, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x5e, 0x0a, 0x05, 0x69, 0x6e, 0x6e, 0x65, 0x72,
   568  	0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x69, 0x6f, 0x2e, 0x63, 0x6f, 0x6e, 0x66,
   569  	0x6c, 0x75, 0x65, 0x6e, 0x74, 0x2e, 0x6b, 0x61, 0x66, 0x6b, 0x61, 0x2e, 0x73, 0x65, 0x72, 0x69,
   570  	0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   571  	0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73,
   572  	0x61, 0x67, 0x65, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   573  	0x52, 0x05, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x1a, 0x3a, 0x0a, 0x0c, 0x4d, 0x61, 0x70, 0x54, 0x79,
   574  	0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
   575  	0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
   576  	0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
   577  	0x02, 0x38, 0x01, 0x1a, 0x34, 0x0a, 0x0c, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73,
   578  	0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   579  	0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05,
   580  	0x42, 0x02, 0x10, 0x01, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x28, 0x0a, 0x09, 0x49, 0x6e, 0x6e,
   581  	0x65, 0x72, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00,
   582  	0x12, 0x0d, 0x0a, 0x09, 0x41, 0x4c, 0x53, 0x4f, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x1a,
   583  	0x02, 0x10, 0x01, 0x4a, 0x04, 0x08, 0x0e, 0x10, 0x0f, 0x4a, 0x04, 0x08, 0x0f, 0x10, 0x10, 0x4a,
   584  	0x04, 0x08, 0x09, 0x10, 0x0c, 0x52, 0x03, 0x66, 0x6f, 0x6f, 0x52, 0x03, 0x62, 0x61, 0x72, 0x2a,
   585  	0x22, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54,
   586  	0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56,
   587  	0x45, 0x10, 0x01, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2e, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x62, 0x06,
   588  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   589  }
   590  
   591  var (
   592  	file_schemaregistry_test_proto_nested_proto_rawDescOnce sync.Once
   593  	file_schemaregistry_test_proto_nested_proto_rawDescData = file_schemaregistry_test_proto_nested_proto_rawDesc
   594  )
   595  
   596  func file_schemaregistry_test_proto_nested_proto_rawDescGZIP() []byte {
   597  	file_schemaregistry_test_proto_nested_proto_rawDescOnce.Do(func() {
   598  		file_schemaregistry_test_proto_nested_proto_rawDescData = protoimpl.X.CompressGZIP(file_schemaregistry_test_proto_nested_proto_rawDescData)
   599  	})
   600  	return file_schemaregistry_test_proto_nested_proto_rawDescData
   601  }
   602  
   603  var file_schemaregistry_test_proto_nested_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   604  var file_schemaregistry_test_proto_nested_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
   605  var file_schemaregistry_test_proto_nested_proto_goTypes = []interface{}{
   606  	(Status)(0),                        // 0: io.confluent.kafka.serializers.protobuf.test.Status
   607  	(NestedMessage_InnerEnum)(0),       // 1: io.confluent.kafka.serializers.protobuf.test.NestedMessage.InnerEnum
   608  	(*UserId)(nil),                     // 2: io.confluent.kafka.serializers.protobuf.test.UserId
   609  	(*MessageId)(nil),                  // 3: io.confluent.kafka.serializers.protobuf.test.MessageId
   610  	(*ComplexType)(nil),                // 4: io.confluent.kafka.serializers.protobuf.test.ComplexType
   611  	(*NestedMessage)(nil),              // 5: io.confluent.kafka.serializers.protobuf.test.NestedMessage
   612  	nil,                                // 6: io.confluent.kafka.serializers.protobuf.test.NestedMessage.MapTypeEntry
   613  	(*NestedMessage_InnerMessage)(nil), // 7: io.confluent.kafka.serializers.protobuf.test.NestedMessage.InnerMessage
   614  	(*timestamppb.Timestamp)(nil),      // 8: google.protobuf.Timestamp
   615  }
   616  var file_schemaregistry_test_proto_nested_proto_depIdxs = []int32{
   617  	3, // 0: io.confluent.kafka.serializers.protobuf.test.UserId.another_id:type_name -> io.confluent.kafka.serializers.protobuf.test.MessageId
   618  	2, // 1: io.confluent.kafka.serializers.protobuf.test.NestedMessage.user_id:type_name -> io.confluent.kafka.serializers.protobuf.test.UserId
   619  	8, // 2: io.confluent.kafka.serializers.protobuf.test.NestedMessage.updated_at:type_name -> google.protobuf.Timestamp
   620  	0, // 3: io.confluent.kafka.serializers.protobuf.test.NestedMessage.status:type_name -> io.confluent.kafka.serializers.protobuf.test.Status
   621  	4, // 4: io.confluent.kafka.serializers.protobuf.test.NestedMessage.complex_type:type_name -> io.confluent.kafka.serializers.protobuf.test.ComplexType
   622  	6, // 5: io.confluent.kafka.serializers.protobuf.test.NestedMessage.map_type:type_name -> io.confluent.kafka.serializers.protobuf.test.NestedMessage.MapTypeEntry
   623  	7, // 6: io.confluent.kafka.serializers.protobuf.test.NestedMessage.inner:type_name -> io.confluent.kafka.serializers.protobuf.test.NestedMessage.InnerMessage
   624  	7, // [7:7] is the sub-list for method output_type
   625  	7, // [7:7] is the sub-list for method input_type
   626  	7, // [7:7] is the sub-list for extension type_name
   627  	7, // [7:7] is the sub-list for extension extendee
   628  	0, // [0:7] is the sub-list for field type_name
   629  }
   630  
   631  func init() { file_schemaregistry_test_proto_nested_proto_init() }
   632  func file_schemaregistry_test_proto_nested_proto_init() {
   633  	if File_schemaregistry_test_proto_nested_proto != nil {
   634  		return
   635  	}
   636  	if !protoimpl.UnsafeEnabled {
   637  		file_schemaregistry_test_proto_nested_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   638  			switch v := v.(*UserId); i {
   639  			case 0:
   640  				return &v.state
   641  			case 1:
   642  				return &v.sizeCache
   643  			case 2:
   644  				return &v.unknownFields
   645  			default:
   646  				return nil
   647  			}
   648  		}
   649  		file_schemaregistry_test_proto_nested_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   650  			switch v := v.(*MessageId); i {
   651  			case 0:
   652  				return &v.state
   653  			case 1:
   654  				return &v.sizeCache
   655  			case 2:
   656  				return &v.unknownFields
   657  			default:
   658  				return nil
   659  			}
   660  		}
   661  		file_schemaregistry_test_proto_nested_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   662  			switch v := v.(*ComplexType); i {
   663  			case 0:
   664  				return &v.state
   665  			case 1:
   666  				return &v.sizeCache
   667  			case 2:
   668  				return &v.unknownFields
   669  			default:
   670  				return nil
   671  			}
   672  		}
   673  		file_schemaregistry_test_proto_nested_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   674  			switch v := v.(*NestedMessage); i {
   675  			case 0:
   676  				return &v.state
   677  			case 1:
   678  				return &v.sizeCache
   679  			case 2:
   680  				return &v.unknownFields
   681  			default:
   682  				return nil
   683  			}
   684  		}
   685  		file_schemaregistry_test_proto_nested_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   686  			switch v := v.(*NestedMessage_InnerMessage); i {
   687  			case 0:
   688  				return &v.state
   689  			case 1:
   690  				return &v.sizeCache
   691  			case 2:
   692  				return &v.unknownFields
   693  			default:
   694  				return nil
   695  			}
   696  		}
   697  	}
   698  	file_schemaregistry_test_proto_nested_proto_msgTypes[0].OneofWrappers = []interface{}{
   699  		(*UserId_KafkaUserId)(nil),
   700  		(*UserId_OtherUserId)(nil),
   701  		(*UserId_AnotherId)(nil),
   702  	}
   703  	file_schemaregistry_test_proto_nested_proto_msgTypes[2].OneofWrappers = []interface{}{
   704  		(*ComplexType_OneId)(nil),
   705  		(*ComplexType_OtherId)(nil),
   706  	}
   707  	type x struct{}
   708  	out := protoimpl.TypeBuilder{
   709  		File: protoimpl.DescBuilder{
   710  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   711  			RawDescriptor: file_schemaregistry_test_proto_nested_proto_rawDesc,
   712  			NumEnums:      2,
   713  			NumMessages:   6,
   714  			NumExtensions: 0,
   715  			NumServices:   0,
   716  		},
   717  		GoTypes:           file_schemaregistry_test_proto_nested_proto_goTypes,
   718  		DependencyIndexes: file_schemaregistry_test_proto_nested_proto_depIdxs,
   719  		EnumInfos:         file_schemaregistry_test_proto_nested_proto_enumTypes,
   720  		MessageInfos:      file_schemaregistry_test_proto_nested_proto_msgTypes,
   721  	}.Build()
   722  	File_schemaregistry_test_proto_nested_proto = out.File
   723  	file_schemaregistry_test_proto_nested_proto_rawDesc = nil
   724  	file_schemaregistry_test_proto_nested_proto_goTypes = nil
   725  	file_schemaregistry_test_proto_nested_proto_depIdxs = nil
   726  }