mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-05 09:49:37 +08:00
36 lines
906 B
Go
36 lines
906 B
Go
|
// Code generated by protoc-gen-go.
|
||
|
// source: ClusterId.proto
|
||
|
// DO NOT EDIT!
|
||
|
|
||
|
package proto
|
||
|
|
||
|
import proto1 "github.com/golang/protobuf/proto"
|
||
|
import math "math"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto1.Marshal
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// *
|
||
|
// Content of the '/hbase/hbaseid', cluster id, znode.
|
||
|
// Also cluster of the ${HBASE_ROOTDIR}/hbase.id file.
|
||
|
type ClusterId struct {
|
||
|
// This is the cluster id, a uuid as a String
|
||
|
ClusterId *string `protobuf:"bytes,1,req,name=cluster_id" json:"cluster_id,omitempty"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ClusterId) Reset() { *m = ClusterId{} }
|
||
|
func (m *ClusterId) String() string { return proto1.CompactTextString(m) }
|
||
|
func (*ClusterId) ProtoMessage() {}
|
||
|
|
||
|
func (m *ClusterId) GetClusterId() string {
|
||
|
if m != nil && m.ClusterId != nil {
|
||
|
return *m.ClusterId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
}
|