Documentation ¶
Overview ¶
Package google_bigtable_admin_v2 is a generated protocol buffer package.
It is generated from these files:
google.golang.org/cloud/bigtable/internal/instance_data_proto/instance.proto
It has these top-level messages:
Instance Cluster
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cluster_State_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "READY",
2: "CREATING",
3: "RESIZING",
4: "DISABLED",
}
View Source
var Cluster_State_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"READY": 1,
"CREATING": 2,
"RESIZING": 3,
"DISABLED": 4,
}
View Source
var Instance_State_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "READY",
2: "CREATING",
}
View Source
var Instance_State_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"READY": 1,
"CREATING": 2,
}
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // @CreationOnly // Currently only zones are supported, e.g. projects/*/locations/us-central1-b Location string `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"` // @OutputOnly State Cluster_State `protobuf:"varint,3,opt,name=state,enum=google.bigtable.admin.v2.Cluster_State" json:"state,omitempty"` ServeNodes int32 `protobuf:"varint,4,opt,name=serve_nodes,json=serveNodes" json:"serve_nodes,omitempty"` // @CreationOnly DefaultStorageType google_bigtable_admin_v21.StorageType `` /* 153-byte string literal not displayed */ }
func (*Cluster) Descriptor ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
type Cluster_State ¶
type Cluster_State int32
const ( Cluster_STATE_NOT_KNOWN Cluster_State = 0 Cluster_READY Cluster_State = 1 // The cluster is currently being created, and may be destroyed // if the creation process encounters an error. Cluster_CREATING Cluster_State = 2 Cluster_RESIZING Cluster_State = 3 // The cluster has no backing nodes. The data (tables) still // exist, but no operations can be performed on the cluster. Cluster_DISABLED Cluster_State = 4 )
func (Cluster_State) EnumDescriptor ¶
func (Cluster_State) EnumDescriptor() ([]byte, []int)
func (Cluster_State) String ¶
func (x Cluster_State) String() string
type Instance ¶
type Instance struct { // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // @OutputOnly State Instance_State `protobuf:"varint,3,opt,name=state,enum=google.bigtable.admin.v2.Instance_State" json:"state,omitempty"` }
func (*Instance) Descriptor ¶
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
type Instance_State ¶
type Instance_State int32
const ( Instance_STATE_NOT_KNOWN Instance_State = 0 Instance_READY Instance_State = 1 // The instance is currently being created, and may be destroyed // if the creation process encounters an error. Instance_CREATING Instance_State = 2 )
func (Instance_State) EnumDescriptor ¶
func (Instance_State) EnumDescriptor() ([]byte, []int)
func (Instance_State) String ¶
func (x Instance_State) String() string
Click to show internal directories.
Click to hide internal directories.