kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/proto/status_service_go_proto/status_service.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.31.0
     4  // 	protoc        v4.25.2
     5  // source: kythe/proto/status_service.proto
     6  
     7  package status_service_go_proto
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	common_go_proto "kythe.io/kythe/proto/common_go_proto"
    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 StatusRequest struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  }
    29  
    30  func (x *StatusRequest) Reset() {
    31  	*x = StatusRequest{}
    32  	if protoimpl.UnsafeEnabled {
    33  		mi := &file_kythe_proto_status_service_proto_msgTypes[0]
    34  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    35  		ms.StoreMessageInfo(mi)
    36  	}
    37  }
    38  
    39  func (x *StatusRequest) String() string {
    40  	return protoimpl.X.MessageStringOf(x)
    41  }
    42  
    43  func (*StatusRequest) ProtoMessage() {}
    44  
    45  func (x *StatusRequest) ProtoReflect() protoreflect.Message {
    46  	mi := &file_kythe_proto_status_service_proto_msgTypes[0]
    47  	if protoimpl.UnsafeEnabled && x != nil {
    48  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    49  		if ms.LoadMessageInfo() == nil {
    50  			ms.StoreMessageInfo(mi)
    51  		}
    52  		return ms
    53  	}
    54  	return mi.MessageOf(x)
    55  }
    56  
    57  // Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
    58  func (*StatusRequest) Descriptor() ([]byte, []int) {
    59  	return file_kythe_proto_status_service_proto_rawDescGZIP(), []int{0}
    60  }
    61  
    62  type StatusReply struct {
    63  	state         protoimpl.MessageState
    64  	sizeCache     protoimpl.SizeCache
    65  	unknownFields protoimpl.UnknownFields
    66  
    67  	Origins      []*common_go_proto.Origin   `protobuf:"bytes,1,rep,name=origins,proto3" json:"origins,omitempty"`
    68  	Languages    []*common_go_proto.Language `protobuf:"bytes,2,rep,name=languages,proto3" json:"languages,omitempty"`
    69  	IndexVersion string                      `protobuf:"bytes,3,opt,name=index_version,json=indexVersion,proto3" json:"index_version,omitempty"`
    70  }
    71  
    72  func (x *StatusReply) Reset() {
    73  	*x = StatusReply{}
    74  	if protoimpl.UnsafeEnabled {
    75  		mi := &file_kythe_proto_status_service_proto_msgTypes[1]
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    77  		ms.StoreMessageInfo(mi)
    78  	}
    79  }
    80  
    81  func (x *StatusReply) String() string {
    82  	return protoimpl.X.MessageStringOf(x)
    83  }
    84  
    85  func (*StatusReply) ProtoMessage() {}
    86  
    87  func (x *StatusReply) ProtoReflect() protoreflect.Message {
    88  	mi := &file_kythe_proto_status_service_proto_msgTypes[1]
    89  	if protoimpl.UnsafeEnabled && x != nil {
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		if ms.LoadMessageInfo() == nil {
    92  			ms.StoreMessageInfo(mi)
    93  		}
    94  		return ms
    95  	}
    96  	return mi.MessageOf(x)
    97  }
    98  
    99  // Deprecated: Use StatusReply.ProtoReflect.Descriptor instead.
   100  func (*StatusReply) Descriptor() ([]byte, []int) {
   101  	return file_kythe_proto_status_service_proto_rawDescGZIP(), []int{1}
   102  }
   103  
   104  func (x *StatusReply) GetOrigins() []*common_go_proto.Origin {
   105  	if x != nil {
   106  		return x.Origins
   107  	}
   108  	return nil
   109  }
   110  
   111  func (x *StatusReply) GetLanguages() []*common_go_proto.Language {
   112  	if x != nil {
   113  		return x.Languages
   114  	}
   115  	return nil
   116  }
   117  
   118  func (x *StatusReply) GetIndexVersion() string {
   119  	if x != nil {
   120  		return x.IndexVersion
   121  	}
   122  	return ""
   123  }
   124  
   125  var File_kythe_proto_status_service_proto protoreflect.FileDescriptor
   126  
   127  var file_kythe_proto_status_service_proto_rawDesc = []byte{
   128  	0x0a, 0x20, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74,
   129  	0x61, 0x74, 0x75, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   130  	0x74, 0x6f, 0x12, 0x0b, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   131  	0x18, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d,
   132  	0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61,
   133  	0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x0b, 0x53,
   134  	0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x72,
   135  	0x69, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6b, 0x79,
   136  	0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
   137  	0x2e, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x52, 0x07, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x73,
   138  	0x12, 0x3a, 0x0a, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20,
   139  	0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   140  	0x6f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
   141  	0x65, 0x52, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d,
   142  	0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
   143  	0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
   144  	0x6e, 0x32, 0x51, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69,
   145  	0x63, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x2e, 0x6b,
   146  	0x79, 0x74, 0x68, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
   147  	0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6b, 0x79, 0x74, 0x68, 0x65,
   148  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x70,
   149  	0x6c, 0x79, 0x22, 0x00, 0x42, 0x4f, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   150  	0x6c, 0x65, 0x2e, 0x64, 0x65, 0x76, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2e, 0x6b, 0x79, 0x74, 0x68,
   151  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2c, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2e, 0x69,
   152  	0x6f, 0x2f, 0x6b, 0x79, 0x74, 0x68, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x74,
   153  	0x61, 0x74, 0x75, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x67, 0x6f, 0x5f,
   154  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   155  }
   156  
   157  var (
   158  	file_kythe_proto_status_service_proto_rawDescOnce sync.Once
   159  	file_kythe_proto_status_service_proto_rawDescData = file_kythe_proto_status_service_proto_rawDesc
   160  )
   161  
   162  func file_kythe_proto_status_service_proto_rawDescGZIP() []byte {
   163  	file_kythe_proto_status_service_proto_rawDescOnce.Do(func() {
   164  		file_kythe_proto_status_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_kythe_proto_status_service_proto_rawDescData)
   165  	})
   166  	return file_kythe_proto_status_service_proto_rawDescData
   167  }
   168  
   169  var file_kythe_proto_status_service_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   170  var file_kythe_proto_status_service_proto_goTypes = []interface{}{
   171  	(*StatusRequest)(nil),            // 0: kythe.proto.StatusRequest
   172  	(*StatusReply)(nil),              // 1: kythe.proto.StatusReply
   173  	(*common_go_proto.Origin)(nil),   // 2: kythe.proto.common.Origin
   174  	(*common_go_proto.Language)(nil), // 3: kythe.proto.common.Language
   175  }
   176  var file_kythe_proto_status_service_proto_depIdxs = []int32{
   177  	2, // 0: kythe.proto.StatusReply.origins:type_name -> kythe.proto.common.Origin
   178  	3, // 1: kythe.proto.StatusReply.languages:type_name -> kythe.proto.common.Language
   179  	0, // 2: kythe.proto.StatusService.Status:input_type -> kythe.proto.StatusRequest
   180  	1, // 3: kythe.proto.StatusService.Status:output_type -> kythe.proto.StatusReply
   181  	3, // [3:4] is the sub-list for method output_type
   182  	2, // [2:3] is the sub-list for method input_type
   183  	2, // [2:2] is the sub-list for extension type_name
   184  	2, // [2:2] is the sub-list for extension extendee
   185  	0, // [0:2] is the sub-list for field type_name
   186  }
   187  
   188  func init() { file_kythe_proto_status_service_proto_init() }
   189  func file_kythe_proto_status_service_proto_init() {
   190  	if File_kythe_proto_status_service_proto != nil {
   191  		return
   192  	}
   193  	if !protoimpl.UnsafeEnabled {
   194  		file_kythe_proto_status_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   195  			switch v := v.(*StatusRequest); i {
   196  			case 0:
   197  				return &v.state
   198  			case 1:
   199  				return &v.sizeCache
   200  			case 2:
   201  				return &v.unknownFields
   202  			default:
   203  				return nil
   204  			}
   205  		}
   206  		file_kythe_proto_status_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   207  			switch v := v.(*StatusReply); i {
   208  			case 0:
   209  				return &v.state
   210  			case 1:
   211  				return &v.sizeCache
   212  			case 2:
   213  				return &v.unknownFields
   214  			default:
   215  				return nil
   216  			}
   217  		}
   218  	}
   219  	type x struct{}
   220  	out := protoimpl.TypeBuilder{
   221  		File: protoimpl.DescBuilder{
   222  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   223  			RawDescriptor: file_kythe_proto_status_service_proto_rawDesc,
   224  			NumEnums:      0,
   225  			NumMessages:   2,
   226  			NumExtensions: 0,
   227  			NumServices:   1,
   228  		},
   229  		GoTypes:           file_kythe_proto_status_service_proto_goTypes,
   230  		DependencyIndexes: file_kythe_proto_status_service_proto_depIdxs,
   231  		MessageInfos:      file_kythe_proto_status_service_proto_msgTypes,
   232  	}.Build()
   233  	File_kythe_proto_status_service_proto = out.File
   234  	file_kythe_proto_status_service_proto_rawDesc = nil
   235  	file_kythe_proto_status_service_proto_goTypes = nil
   236  	file_kythe_proto_status_service_proto_depIdxs = nil
   237  }