github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/pb/ClusterId.pb.go (about)

     1  //*
     2  // Licensed to the Apache Software Foundation (ASF) under one
     3  // or more contributor license agreements.  See the NOTICE file
     4  // distributed with this work for additional information
     5  // regarding copyright ownership.  The ASF licenses this file
     6  // to you under the Apache License, Version 2.0 (the
     7  // "License"); you may not use this file except in compliance
     8  // with the License.  You may obtain a copy of the License at
     9  //
    10  //     http://www.apache.org/licenses/LICENSE-2.0
    11  //
    12  // Unless required by applicable law or agreed to in writing, software
    13  // distributed under the License is distributed on an "AS IS" BASIS,
    14  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    15  // See the License for the specific language governing permissions and
    16  // limitations under the License.
    17  
    18  // This file contains protocol buffers that are shared throughout HBase
    19  
    20  // Code generated by protoc-gen-go. DO NOT EDIT.
    21  // versions:
    22  // 	protoc-gen-go v1.36.4
    23  // 	protoc        v5.28.3
    24  // source: ClusterId.proto
    25  
    26  package pb
    27  
    28  import (
    29  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    30  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    31  	reflect "reflect"
    32  	sync "sync"
    33  	unsafe "unsafe"
    34  )
    35  
    36  const (
    37  	// Verify that this generated code is sufficiently up-to-date.
    38  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    39  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    40  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    41  )
    42  
    43  // *
    44  // Content of the '/hbase/hbaseid', cluster id, znode.
    45  // Also cluster of the ${HBASE_ROOTDIR}/hbase.id file.
    46  type ClusterId struct {
    47  	state protoimpl.MessageState `protogen:"open.v1"`
    48  	// This is the cluster id, a uuid as a String
    49  	ClusterId     *string `protobuf:"bytes,1,req,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
    50  	unknownFields protoimpl.UnknownFields
    51  	sizeCache     protoimpl.SizeCache
    52  }
    53  
    54  func (x *ClusterId) Reset() {
    55  	*x = ClusterId{}
    56  	mi := &file_ClusterId_proto_msgTypes[0]
    57  	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    58  	ms.StoreMessageInfo(mi)
    59  }
    60  
    61  func (x *ClusterId) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*ClusterId) ProtoMessage() {}
    66  
    67  func (x *ClusterId) ProtoReflect() protoreflect.Message {
    68  	mi := &file_ClusterId_proto_msgTypes[0]
    69  	if x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use ClusterId.ProtoReflect.Descriptor instead.
    80  func (*ClusterId) Descriptor() ([]byte, []int) {
    81  	return file_ClusterId_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *ClusterId) GetClusterId() string {
    85  	if x != nil && x.ClusterId != nil {
    86  		return *x.ClusterId
    87  	}
    88  	return ""
    89  }
    90  
    91  var File_ClusterId_proto protoreflect.FileDescriptor
    92  
    93  var file_ClusterId_proto_rawDesc = string([]byte{
    94  	0x0a, 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
    95  	0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x2a, 0x0a, 0x09, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
    96  	0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64,
    97  	0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49,
    98  	0x64, 0x42, 0x49, 0x0a, 0x2a, 0x6f, 0x72, 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e,
    99  	0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   100  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42,
   101  	0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73,
   102  	0x48, 0x01, 0x5a, 0x05, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0xa0, 0x01, 0x01,
   103  })
   104  
   105  var (
   106  	file_ClusterId_proto_rawDescOnce sync.Once
   107  	file_ClusterId_proto_rawDescData []byte
   108  )
   109  
   110  func file_ClusterId_proto_rawDescGZIP() []byte {
   111  	file_ClusterId_proto_rawDescOnce.Do(func() {
   112  		file_ClusterId_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ClusterId_proto_rawDesc), len(file_ClusterId_proto_rawDesc)))
   113  	})
   114  	return file_ClusterId_proto_rawDescData
   115  }
   116  
   117  var file_ClusterId_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   118  var file_ClusterId_proto_goTypes = []any{
   119  	(*ClusterId)(nil), // 0: pb.ClusterId
   120  }
   121  var file_ClusterId_proto_depIdxs = []int32{
   122  	0, // [0:0] is the sub-list for method output_type
   123  	0, // [0:0] is the sub-list for method input_type
   124  	0, // [0:0] is the sub-list for extension type_name
   125  	0, // [0:0] is the sub-list for extension extendee
   126  	0, // [0:0] is the sub-list for field type_name
   127  }
   128  
   129  func init() { file_ClusterId_proto_init() }
   130  func file_ClusterId_proto_init() {
   131  	if File_ClusterId_proto != nil {
   132  		return
   133  	}
   134  	type x struct{}
   135  	out := protoimpl.TypeBuilder{
   136  		File: protoimpl.DescBuilder{
   137  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   138  			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ClusterId_proto_rawDesc), len(file_ClusterId_proto_rawDesc)),
   139  			NumEnums:      0,
   140  			NumMessages:   1,
   141  			NumExtensions: 0,
   142  			NumServices:   0,
   143  		},
   144  		GoTypes:           file_ClusterId_proto_goTypes,
   145  		DependencyIndexes: file_ClusterId_proto_depIdxs,
   146  		MessageInfos:      file_ClusterId_proto_msgTypes,
   147  	}.Build()
   148  	File_ClusterId_proto = out.File
   149  	file_ClusterId_proto_goTypes = nil
   150  	file_ClusterId_proto_depIdxs = nil
   151  }