github.com/confluentinc/confluent-kafka-go@v1.9.2/schemaregistry/test/dep.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: dep.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  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type DependencyMessage struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	IsActive     bool         `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
    29  	TestMesssage *TestMessage `protobuf:"bytes,2,opt,name=test_messsage,json=testMesssage,proto3" json:"test_messsage,omitempty"`
    30  }
    31  
    32  func (x *DependencyMessage) Reset() {
    33  	*x = DependencyMessage{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_dep_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *DependencyMessage) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*DependencyMessage) ProtoMessage() {}
    46  
    47  func (x *DependencyMessage) ProtoReflect() protoreflect.Message {
    48  	mi := &file_dep_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use DependencyMessage.ProtoReflect.Descriptor instead.
    60  func (*DependencyMessage) Descriptor() ([]byte, []int) {
    61  	return file_dep_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *DependencyMessage) GetIsActive() bool {
    65  	if x != nil {
    66  		return x.IsActive
    67  	}
    68  	return false
    69  }
    70  
    71  func (x *DependencyMessage) GetTestMesssage() *TestMessage {
    72  	if x != nil {
    73  		return x.TestMesssage
    74  	}
    75  	return nil
    76  }
    77  
    78  var File_dep_proto protoreflect.FileDescriptor
    79  
    80  var file_dep_proto_rawDesc = []byte{
    81  	0x0a, 0x09, 0x64, 0x65, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x74, 0x65, 0x73,
    82  	0x74, 0x1a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x68, 0x0a,
    83  	0x11, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61,
    84  	0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18,
    85  	0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12,
    86  	0x36, 0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x73, 0x61, 0x67, 0x65,
    87  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65,
    88  	0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x4d,
    89  	0x65, 0x73, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2e, 0x2f, 0x74, 0x65,
    90  	0x73, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    91  }
    92  
    93  var (
    94  	file_dep_proto_rawDescOnce sync.Once
    95  	file_dep_proto_rawDescData = file_dep_proto_rawDesc
    96  )
    97  
    98  func file_dep_proto_rawDescGZIP() []byte {
    99  	file_dep_proto_rawDescOnce.Do(func() {
   100  		file_dep_proto_rawDescData = protoimpl.X.CompressGZIP(file_dep_proto_rawDescData)
   101  	})
   102  	return file_dep_proto_rawDescData
   103  }
   104  
   105  var file_dep_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   106  var file_dep_proto_goTypes = []interface{}{
   107  	(*DependencyMessage)(nil), // 0: test.DependencyMessage
   108  	(*TestMessage)(nil),       // 1: test.TestMessage
   109  }
   110  var file_dep_proto_depIdxs = []int32{
   111  	1, // 0: test.DependencyMessage.test_messsage:type_name -> test.TestMessage
   112  	1, // [1:1] is the sub-list for method output_type
   113  	1, // [1:1] is the sub-list for method input_type
   114  	1, // [1:1] is the sub-list for extension type_name
   115  	1, // [1:1] is the sub-list for extension extendee
   116  	0, // [0:1] is the sub-list for field type_name
   117  }
   118  
   119  func init() { file_dep_proto_init() }
   120  func file_dep_proto_init() {
   121  	if File_dep_proto != nil {
   122  		return
   123  	}
   124  	file_test_proto_init()
   125  	if !protoimpl.UnsafeEnabled {
   126  		file_dep_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   127  			switch v := v.(*DependencyMessage); i {
   128  			case 0:
   129  				return &v.state
   130  			case 1:
   131  				return &v.sizeCache
   132  			case 2:
   133  				return &v.unknownFields
   134  			default:
   135  				return nil
   136  			}
   137  		}
   138  	}
   139  	type x struct{}
   140  	out := protoimpl.TypeBuilder{
   141  		File: protoimpl.DescBuilder{
   142  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   143  			RawDescriptor: file_dep_proto_rawDesc,
   144  			NumEnums:      0,
   145  			NumMessages:   1,
   146  			NumExtensions: 0,
   147  			NumServices:   0,
   148  		},
   149  		GoTypes:           file_dep_proto_goTypes,
   150  		DependencyIndexes: file_dep_proto_depIdxs,
   151  		MessageInfos:      file_dep_proto_msgTypes,
   152  	}.Build()
   153  	File_dep_proto = out.File
   154  	file_dep_proto_rawDesc = nil
   155  	file_dep_proto_goTypes = nil
   156  	file_dep_proto_depIdxs = nil
   157  }