Documentation ¶
Index ¶
- Variables
- func RegisterBigtableClusterServiceServer(s *grpc.Server, srv BigtableClusterServiceServer)
- type BigtableClusterServiceClient
- type BigtableClusterServiceServer
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)
- func (m *Cluster) GetCurrentOperation() *longrunning.Operation
- func (m *Cluster) GetDefaultStorageType() StorageType
- func (m *Cluster) GetDisplayName() string
- func (m *Cluster) GetName() string
- func (m *Cluster) GetServeNodes() int32
- func (*Cluster) ProtoMessage()
- func (m *Cluster) Reset()
- func (m *Cluster) String() string
- func (m *Cluster) XXX_DiscardUnknown()
- func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Cluster) XXX_Merge(src proto.Message)
- func (m *Cluster) XXX_Size() int
- func (m *Cluster) XXX_Unmarshal(b []byte) error
- type CreateClusterMetadata
- func (*CreateClusterMetadata) Descriptor() ([]byte, []int)
- func (m *CreateClusterMetadata) GetFinishTime() *timestamp.Timestamp
- func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest
- func (m *CreateClusterMetadata) GetRequestTime() *timestamp.Timestamp
- func (*CreateClusterMetadata) ProtoMessage()
- func (m *CreateClusterMetadata) Reset()
- func (m *CreateClusterMetadata) String() string
- func (m *CreateClusterMetadata) XXX_DiscardUnknown()
- func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateClusterMetadata) XXX_Merge(src proto.Message)
- func (m *CreateClusterMetadata) XXX_Size() int
- func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)
- func (m *CreateClusterRequest) GetCluster() *Cluster
- func (m *CreateClusterRequest) GetClusterId() string
- func (m *CreateClusterRequest) GetName() string
- func (*CreateClusterRequest) ProtoMessage()
- func (m *CreateClusterRequest) Reset()
- func (m *CreateClusterRequest) String() string
- func (m *CreateClusterRequest) XXX_DiscardUnknown()
- func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateClusterRequest) XXX_Merge(src proto.Message)
- func (m *CreateClusterRequest) XXX_Size() int
- func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
- func (m *DeleteClusterRequest) GetName() string
- func (*DeleteClusterRequest) ProtoMessage()
- func (m *DeleteClusterRequest) Reset()
- func (m *DeleteClusterRequest) String() string
- func (m *DeleteClusterRequest) XXX_DiscardUnknown()
- func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message)
- func (m *DeleteClusterRequest) XXX_Size() int
- func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error
- type GetClusterRequest
- func (*GetClusterRequest) Descriptor() ([]byte, []int)
- func (m *GetClusterRequest) GetName() string
- func (*GetClusterRequest) ProtoMessage()
- func (m *GetClusterRequest) Reset()
- func (m *GetClusterRequest) String() string
- func (m *GetClusterRequest) XXX_DiscardUnknown()
- func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetClusterRequest) XXX_Merge(src proto.Message)
- func (m *GetClusterRequest) XXX_Size() int
- func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error
- type ListClustersRequest
- func (*ListClustersRequest) Descriptor() ([]byte, []int)
- func (m *ListClustersRequest) GetName() string
- func (*ListClustersRequest) ProtoMessage()
- func (m *ListClustersRequest) Reset()
- func (m *ListClustersRequest) String() string
- func (m *ListClustersRequest) XXX_DiscardUnknown()
- func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListClustersRequest) XXX_Merge(src proto.Message)
- func (m *ListClustersRequest) XXX_Size() int
- func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)
- func (m *ListClustersResponse) GetClusters() []*Cluster
- func (m *ListClustersResponse) GetFailedZones() []*Zone
- func (*ListClustersResponse) ProtoMessage()
- func (m *ListClustersResponse) Reset()
- func (m *ListClustersResponse) String() string
- func (m *ListClustersResponse) XXX_DiscardUnknown()
- func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListClustersResponse) XXX_Merge(src proto.Message)
- func (m *ListClustersResponse) XXX_Size() int
- func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error
- type ListZonesRequest
- func (*ListZonesRequest) Descriptor() ([]byte, []int)
- func (m *ListZonesRequest) GetName() string
- func (*ListZonesRequest) ProtoMessage()
- func (m *ListZonesRequest) Reset()
- func (m *ListZonesRequest) String() string
- func (m *ListZonesRequest) XXX_DiscardUnknown()
- func (m *ListZonesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListZonesRequest) XXX_Merge(src proto.Message)
- func (m *ListZonesRequest) XXX_Size() int
- func (m *ListZonesRequest) XXX_Unmarshal(b []byte) error
- type ListZonesResponse
- func (*ListZonesResponse) Descriptor() ([]byte, []int)
- func (m *ListZonesResponse) GetZones() []*Zone
- func (*ListZonesResponse) ProtoMessage()
- func (m *ListZonesResponse) Reset()
- func (m *ListZonesResponse) String() string
- func (m *ListZonesResponse) XXX_DiscardUnknown()
- func (m *ListZonesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListZonesResponse) XXX_Merge(src proto.Message)
- func (m *ListZonesResponse) XXX_Size() int
- func (m *ListZonesResponse) XXX_Unmarshal(b []byte) error
- type StorageType
- type UndeleteClusterMetadata
- func (*UndeleteClusterMetadata) Descriptor() ([]byte, []int)
- func (m *UndeleteClusterMetadata) GetFinishTime() *timestamp.Timestamp
- func (m *UndeleteClusterMetadata) GetRequestTime() *timestamp.Timestamp
- func (*UndeleteClusterMetadata) ProtoMessage()
- func (m *UndeleteClusterMetadata) Reset()
- func (m *UndeleteClusterMetadata) String() string
- func (m *UndeleteClusterMetadata) XXX_DiscardUnknown()
- func (m *UndeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UndeleteClusterMetadata) XXX_Merge(src proto.Message)
- func (m *UndeleteClusterMetadata) XXX_Size() int
- func (m *UndeleteClusterMetadata) XXX_Unmarshal(b []byte) error
- type UndeleteClusterRequest
- func (*UndeleteClusterRequest) Descriptor() ([]byte, []int)
- func (m *UndeleteClusterRequest) GetName() string
- func (*UndeleteClusterRequest) ProtoMessage()
- func (m *UndeleteClusterRequest) Reset()
- func (m *UndeleteClusterRequest) String() string
- func (m *UndeleteClusterRequest) XXX_DiscardUnknown()
- func (m *UndeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UndeleteClusterRequest) XXX_Merge(src proto.Message)
- func (m *UndeleteClusterRequest) XXX_Size() int
- func (m *UndeleteClusterRequest) XXX_Unmarshal(b []byte) error
- type UpdateClusterMetadata
- func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)
- func (m *UpdateClusterMetadata) GetCancelTime() *timestamp.Timestamp
- func (m *UpdateClusterMetadata) GetFinishTime() *timestamp.Timestamp
- func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster
- func (m *UpdateClusterMetadata) GetRequestTime() *timestamp.Timestamp
- func (*UpdateClusterMetadata) ProtoMessage()
- func (m *UpdateClusterMetadata) Reset()
- func (m *UpdateClusterMetadata) String() string
- func (m *UpdateClusterMetadata) XXX_DiscardUnknown()
- func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UpdateClusterMetadata) XXX_Merge(src proto.Message)
- func (m *UpdateClusterMetadata) XXX_Size() int
- func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error
- type V2OperationMetadata
- func (*V2OperationMetadata) Descriptor() ([]byte, []int)
- func (*V2OperationMetadata) ProtoMessage()
- func (m *V2OperationMetadata) Reset()
- func (m *V2OperationMetadata) String() string
- func (m *V2OperationMetadata) XXX_DiscardUnknown()
- func (m *V2OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *V2OperationMetadata) XXX_Merge(src proto.Message)
- func (m *V2OperationMetadata) XXX_Size() int
- func (m *V2OperationMetadata) XXX_Unmarshal(b []byte) error
- type Zone
- func (*Zone) Descriptor() ([]byte, []int)
- func (m *Zone) GetDisplayName() string
- func (m *Zone) GetName() string
- func (m *Zone) GetStatus() Zone_Status
- func (*Zone) ProtoMessage()
- func (m *Zone) Reset()
- func (m *Zone) String() string
- func (m *Zone) XXX_DiscardUnknown()
- func (m *Zone) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Zone) XXX_Merge(src proto.Message)
- func (m *Zone) XXX_Size() int
- func (m *Zone) XXX_Unmarshal(b []byte) error
- type Zone_Status
Constants ¶
This section is empty.
Variables ¶
var StorageType_name = map[int32]string{
0: "STORAGE_UNSPECIFIED",
1: "STORAGE_SSD",
2: "STORAGE_HDD",
}
var StorageType_value = map[string]int32{
"STORAGE_UNSPECIFIED": 0,
"STORAGE_SSD": 1,
"STORAGE_HDD": 2,
}
var Zone_Status_name = map[int32]string{
0: "UNKNOWN",
1: "OK",
2: "PLANNED_MAINTENANCE",
3: "EMERGENCY_MAINENANCE",
}
var Zone_Status_value = map[string]int32{
"UNKNOWN": 0,
"OK": 1,
"PLANNED_MAINTENANCE": 2,
"EMERGENCY_MAINENANCE": 3,
}
Functions ¶
func RegisterBigtableClusterServiceServer ¶
func RegisterBigtableClusterServiceServer(s *grpc.Server, srv BigtableClusterServiceServer)
Types ¶
type BigtableClusterServiceClient ¶
type BigtableClusterServiceClient interface { // Lists the supported zones for the given project. ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error) // Gets information about a particular cluster. GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Lists all clusters in the given project, along with any zones for which // cluster information could not be retrieved. ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Creates a cluster and begins preparing it to begin serving. The returned // cluster embeds as its "current_operation" a long-running operation which // can be used to track the progress of turning up the new cluster. // Immediately upon completion of this request: // * The cluster will be readable via the API, with all requested attributes // but no allocated resources. // Until completion of the embedded operation: // * Cancelling the operation will render the cluster immediately unreadable // via the API. // * All other attempts to modify or delete the cluster will be rejected. // Upon completion of the embedded operation: // * Billing for all successfully-allocated resources will begin (some types // may have lower than the requested levels). // * New tables can be created in the cluster. // * The cluster's allocated resource levels will be readable via the API. // The embedded operation's "metadata" field type is // [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] The embedded operation's "response" field type is // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Updates a cluster, and begins allocating or releasing resources as // requested. The returned cluster embeds as its "current_operation" a // long-running operation which can be used to track the progress of updating // the cluster. // Immediately upon completion of this request: // * For resource types where a decrease in the cluster's allocation has been // requested, billing will be based on the newly-requested level. // Until completion of the embedded operation: // * Cancelling the operation will set its metadata's "cancelled_at_time", // and begin restoring resources to their pre-request values. The operation // is guaranteed to succeed at undoing all resource changes, after which // point it will terminate with a CANCELLED status. // * All other attempts to modify or delete the cluster will be rejected. // * Reading the cluster via the API will continue to give the pre-request // resource levels. // Upon completion of the embedded operation: // * Billing will begin for all successfully-allocated resources (some types // may have lower than the requested levels). // * All newly-reserved resources will be available for serving the cluster's // tables. // * The cluster's new resource levels will be readable via the API. // [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] The embedded operation's "response" field type is // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) // Marks a cluster and all of its tables for permanent deletion in 7 days. // Immediately upon completion of the request: // * Billing will cease for all of the cluster's reserved resources. // * The cluster's "delete_time" field will be set 7 days in the future. // Soon afterward: // * All tables within the cluster will become unavailable. // Prior to the cluster's "delete_time": // * The cluster can be recovered with a call to UndeleteCluster. // * All other attempts to modify or delete the cluster will be rejected. // At the cluster's "delete_time": // * The cluster and *all of its tables* will immediately and irrevocably // disappear from the API, and their data will be permanently deleted. DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Cancels the scheduled deletion of an cluster and begins preparing it to // resume serving. The returned operation will also be embedded as the // cluster's "current_operation". // Immediately upon completion of this request: // * The cluster's "delete_time" field will be unset, protecting it from // automatic deletion. // Until completion of the returned operation: // * The operation cannot be cancelled. // Upon completion of the returned operation: // * Billing for the cluster's resources will resume. // * All tables within the cluster will be available. // [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] The embedded operation's "response" field type is // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. UndeleteCluster(ctx context.Context, in *UndeleteClusterRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
BigtableClusterServiceClient is the client API for BigtableClusterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBigtableClusterServiceClient ¶
func NewBigtableClusterServiceClient(cc *grpc.ClientConn) BigtableClusterServiceClient
type BigtableClusterServiceServer ¶
type BigtableClusterServiceServer interface { // Lists the supported zones for the given project. ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error) // Gets information about a particular cluster. GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) // Lists all clusters in the given project, along with any zones for which // cluster information could not be retrieved. ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Creates a cluster and begins preparing it to begin serving. The returned // cluster embeds as its "current_operation" a long-running operation which // can be used to track the progress of turning up the new cluster. // Immediately upon completion of this request: // * The cluster will be readable via the API, with all requested attributes // but no allocated resources. // Until completion of the embedded operation: // * Cancelling the operation will render the cluster immediately unreadable // via the API. // * All other attempts to modify or delete the cluster will be rejected. // Upon completion of the embedded operation: // * Billing for all successfully-allocated resources will begin (some types // may have lower than the requested levels). // * New tables can be created in the cluster. // * The cluster's allocated resource levels will be readable via the API. // The embedded operation's "metadata" field type is // [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] The embedded operation's "response" field type is // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error) // Updates a cluster, and begins allocating or releasing resources as // requested. The returned cluster embeds as its "current_operation" a // long-running operation which can be used to track the progress of updating // the cluster. // Immediately upon completion of this request: // * For resource types where a decrease in the cluster's allocation has been // requested, billing will be based on the newly-requested level. // Until completion of the embedded operation: // * Cancelling the operation will set its metadata's "cancelled_at_time", // and begin restoring resources to their pre-request values. The operation // is guaranteed to succeed at undoing all resource changes, after which // point it will terminate with a CANCELLED status. // * All other attempts to modify or delete the cluster will be rejected. // * Reading the cluster via the API will continue to give the pre-request // resource levels. // Upon completion of the embedded operation: // * Billing will begin for all successfully-allocated resources (some types // may have lower than the requested levels). // * All newly-reserved resources will be available for serving the cluster's // tables. // * The cluster's new resource levels will be readable via the API. // [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] The embedded operation's "response" field type is // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. UpdateCluster(context.Context, *Cluster) (*Cluster, error) // Marks a cluster and all of its tables for permanent deletion in 7 days. // Immediately upon completion of the request: // * Billing will cease for all of the cluster's reserved resources. // * The cluster's "delete_time" field will be set 7 days in the future. // Soon afterward: // * All tables within the cluster will become unavailable. // Prior to the cluster's "delete_time": // * The cluster can be recovered with a call to UndeleteCluster. // * All other attempts to modify or delete the cluster will be rejected. // At the cluster's "delete_time": // * The cluster and *all of its tables* will immediately and irrevocably // disappear from the API, and their data will be permanently deleted. DeleteCluster(context.Context, *DeleteClusterRequest) (*empty.Empty, error) // Cancels the scheduled deletion of an cluster and begins preparing it to // resume serving. The returned operation will also be embedded as the // cluster's "current_operation". // Immediately upon completion of this request: // * The cluster's "delete_time" field will be unset, protecting it from // automatic deletion. // Until completion of the returned operation: // * The operation cannot be cancelled. // Upon completion of the returned operation: // * Billing for the cluster's resources will resume. // * All tables within the cluster will be available. // [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] The embedded operation's "response" field type is // [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful. UndeleteCluster(context.Context, *UndeleteClusterRequest) (*longrunning.Operation, error) }
BigtableClusterServiceServer is the server API for BigtableClusterService service.
type Cluster ¶
type Cluster struct { // A permanent unique identifier for the cluster. For technical reasons, the // zone in which the cluster resides is included here. // Values are of the form // projects/<project>/zones/<zone>/clusters/[a-z][-a-z0-9]* Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The operation currently running on the cluster, if any. // This cannot be set directly, only through CreateCluster, UpdateCluster, // or UndeleteCluster. Calls to these methods will be rejected if // "current_operation" is already set. CurrentOperation *longrunning.Operation `protobuf:"bytes,3,opt,name=current_operation,json=currentOperation,proto3" json:"current_operation,omitempty"` // The descriptive name for this cluster as it appears in UIs. // Must be unique per zone. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The number of serve nodes allocated to this cluster. ServeNodes int32 `protobuf:"varint,5,opt,name=serve_nodes,json=serveNodes,proto3" json:"serve_nodes,omitempty"` // What storage type to use for tables in this cluster. Only configurable at // cluster creation time. If unspecified, STORAGE_SSD will be used. DefaultStorageType StorageType `` /* 168-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An isolated set of Cloud BigTable resources on which tables can be hosted.
func (*Cluster) Descriptor ¶
func (*Cluster) GetCurrentOperation ¶
func (m *Cluster) GetCurrentOperation() *longrunning.Operation
func (*Cluster) GetDefaultStorageType ¶
func (m *Cluster) GetDefaultStorageType() StorageType
func (*Cluster) GetDisplayName ¶
func (*Cluster) GetServeNodes ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) XXX_DiscardUnknown ¶
func (m *Cluster) XXX_DiscardUnknown()
func (*Cluster) XXX_Marshal ¶
func (*Cluster) XXX_Unmarshal ¶
type CreateClusterMetadata ¶
type CreateClusterMetadata struct { // The request which prompted the creation of this operation. OriginalRequest *CreateClusterRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` // The time at which original_request was received. RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` // The time at which this operation failed or was completed successfully. FinishTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata type for the operation returned by BigtableClusterService.CreateCluster.
func (*CreateClusterMetadata) Descriptor ¶
func (*CreateClusterMetadata) Descriptor() ([]byte, []int)
func (*CreateClusterMetadata) GetFinishTime ¶
func (m *CreateClusterMetadata) GetFinishTime() *timestamp.Timestamp
func (*CreateClusterMetadata) GetOriginalRequest ¶
func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest
func (*CreateClusterMetadata) GetRequestTime ¶
func (m *CreateClusterMetadata) GetRequestTime() *timestamp.Timestamp
func (*CreateClusterMetadata) ProtoMessage ¶
func (*CreateClusterMetadata) ProtoMessage()
func (*CreateClusterMetadata) Reset ¶
func (m *CreateClusterMetadata) Reset()
func (*CreateClusterMetadata) String ¶
func (m *CreateClusterMetadata) String() string
func (*CreateClusterMetadata) XXX_DiscardUnknown ¶
func (m *CreateClusterMetadata) XXX_DiscardUnknown()
func (*CreateClusterMetadata) XXX_Marshal ¶
func (m *CreateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClusterMetadata) XXX_Merge ¶
func (dst *CreateClusterMetadata) XXX_Merge(src proto.Message)
func (*CreateClusterMetadata) XXX_Size ¶
func (m *CreateClusterMetadata) XXX_Size() int
func (*CreateClusterMetadata) XXX_Unmarshal ¶
func (m *CreateClusterMetadata) XXX_Unmarshal(b []byte) error
type CreateClusterRequest ¶
type CreateClusterRequest struct { // The unique name of the zone in which to create the cluster. // Values are of the form projects/<project>/zones/<zone> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The id to be used when referring to the new cluster within its zone, // e.g. just the "test-cluster" section of the full name // "projects/<project>/zones/<zone>/clusters/test-cluster". ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The cluster to create. // The "name", "delete_time", and "current_operation" fields must be left // blank. Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for BigtableClusterService.CreateCluster.
func (*CreateClusterRequest) Descriptor ¶
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
func (*CreateClusterRequest) GetCluster ¶
func (m *CreateClusterRequest) GetCluster() *Cluster
func (*CreateClusterRequest) GetClusterId ¶
func (m *CreateClusterRequest) GetClusterId() string
func (*CreateClusterRequest) GetName ¶
func (m *CreateClusterRequest) GetName() string
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) Reset ¶
func (m *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (m *CreateClusterRequest) String() string
func (*CreateClusterRequest) XXX_DiscardUnknown ¶
func (m *CreateClusterRequest) XXX_DiscardUnknown()
func (*CreateClusterRequest) XXX_Marshal ¶
func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClusterRequest) XXX_Merge ¶
func (dst *CreateClusterRequest) XXX_Merge(src proto.Message)
func (*CreateClusterRequest) XXX_Size ¶
func (m *CreateClusterRequest) XXX_Size() int
func (*CreateClusterRequest) XXX_Unmarshal ¶
func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { // The unique name of the cluster to be deleted. // Values are of the form projects/<project>/zones/<zone>/clusters/<cluster> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for BigtableClusterService.DeleteCluster.
func (*DeleteClusterRequest) Descriptor ¶
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
func (*DeleteClusterRequest) GetName ¶
func (m *DeleteClusterRequest) GetName() string
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) Reset ¶
func (m *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (m *DeleteClusterRequest) String() string
func (*DeleteClusterRequest) XXX_DiscardUnknown ¶
func (m *DeleteClusterRequest) XXX_DiscardUnknown()
func (*DeleteClusterRequest) XXX_Marshal ¶
func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteClusterRequest) XXX_Merge ¶
func (dst *DeleteClusterRequest) XXX_Merge(src proto.Message)
func (*DeleteClusterRequest) XXX_Size ¶
func (m *DeleteClusterRequest) XXX_Size() int
func (*DeleteClusterRequest) XXX_Unmarshal ¶
func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error
type GetClusterRequest ¶
type GetClusterRequest struct { // The unique name of the requested cluster. // Values are of the form projects/<project>/zones/<zone>/clusters/<cluster> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for BigtableClusterService.GetCluster.
func (*GetClusterRequest) Descriptor ¶
func (*GetClusterRequest) Descriptor() ([]byte, []int)
func (*GetClusterRequest) GetName ¶
func (m *GetClusterRequest) GetName() string
func (*GetClusterRequest) ProtoMessage ¶
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) Reset ¶
func (m *GetClusterRequest) Reset()
func (*GetClusterRequest) String ¶
func (m *GetClusterRequest) String() string
func (*GetClusterRequest) XXX_DiscardUnknown ¶
func (m *GetClusterRequest) XXX_DiscardUnknown()
func (*GetClusterRequest) XXX_Marshal ¶
func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetClusterRequest) XXX_Merge ¶
func (dst *GetClusterRequest) XXX_Merge(src proto.Message)
func (*GetClusterRequest) XXX_Size ¶
func (m *GetClusterRequest) XXX_Size() int
func (*GetClusterRequest) XXX_Unmarshal ¶
func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error
type ListClustersRequest ¶
type ListClustersRequest struct { // The unique name of the project for which a list of clusters is requested. // Values are of the form projects/<project> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for BigtableClusterService.ListClusters.
func (*ListClustersRequest) Descriptor ¶
func (*ListClustersRequest) Descriptor() ([]byte, []int)
func (*ListClustersRequest) GetName ¶
func (m *ListClustersRequest) GetName() string
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) Reset ¶
func (m *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (m *ListClustersRequest) String() string
func (*ListClustersRequest) XXX_DiscardUnknown ¶
func (m *ListClustersRequest) XXX_DiscardUnknown()
func (*ListClustersRequest) XXX_Marshal ¶
func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClustersRequest) XXX_Merge ¶
func (dst *ListClustersRequest) XXX_Merge(src proto.Message)
func (*ListClustersRequest) XXX_Size ¶
func (m *ListClustersRequest) XXX_Size() int
func (*ListClustersRequest) XXX_Unmarshal ¶
func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error
type ListClustersResponse ¶
type ListClustersResponse struct { // The list of requested Clusters. Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // The zones for which clusters could not be retrieved. FailedZones []*Zone `protobuf:"bytes,2,rep,name=failed_zones,json=failedZones,proto3" json:"failed_zones,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for BigtableClusterService.ListClusters.
func (*ListClustersResponse) Descriptor ¶
func (*ListClustersResponse) Descriptor() ([]byte, []int)
func (*ListClustersResponse) GetClusters ¶
func (m *ListClustersResponse) GetClusters() []*Cluster
func (*ListClustersResponse) GetFailedZones ¶
func (m *ListClustersResponse) GetFailedZones() []*Zone
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) Reset ¶
func (m *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (m *ListClustersResponse) String() string
func (*ListClustersResponse) XXX_DiscardUnknown ¶
func (m *ListClustersResponse) XXX_DiscardUnknown()
func (*ListClustersResponse) XXX_Marshal ¶
func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClustersResponse) XXX_Merge ¶
func (dst *ListClustersResponse) XXX_Merge(src proto.Message)
func (*ListClustersResponse) XXX_Size ¶
func (m *ListClustersResponse) XXX_Size() int
func (*ListClustersResponse) XXX_Unmarshal ¶
func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error
type ListZonesRequest ¶
type ListZonesRequest struct { // The unique name of the project for which a list of supported zones is // requested. // Values are of the form projects/<project> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for BigtableClusterService.ListZones.
func (*ListZonesRequest) Descriptor ¶
func (*ListZonesRequest) Descriptor() ([]byte, []int)
func (*ListZonesRequest) GetName ¶
func (m *ListZonesRequest) GetName() string
func (*ListZonesRequest) ProtoMessage ¶
func (*ListZonesRequest) ProtoMessage()
func (*ListZonesRequest) Reset ¶
func (m *ListZonesRequest) Reset()
func (*ListZonesRequest) String ¶
func (m *ListZonesRequest) String() string
func (*ListZonesRequest) XXX_DiscardUnknown ¶
func (m *ListZonesRequest) XXX_DiscardUnknown()
func (*ListZonesRequest) XXX_Marshal ¶
func (m *ListZonesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListZonesRequest) XXX_Merge ¶
func (dst *ListZonesRequest) XXX_Merge(src proto.Message)
func (*ListZonesRequest) XXX_Size ¶
func (m *ListZonesRequest) XXX_Size() int
func (*ListZonesRequest) XXX_Unmarshal ¶
func (m *ListZonesRequest) XXX_Unmarshal(b []byte) error
type ListZonesResponse ¶
type ListZonesResponse struct { // The list of requested zones. Zones []*Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for BigtableClusterService.ListZones.
func (*ListZonesResponse) Descriptor ¶
func (*ListZonesResponse) Descriptor() ([]byte, []int)
func (*ListZonesResponse) GetZones ¶
func (m *ListZonesResponse) GetZones() []*Zone
func (*ListZonesResponse) ProtoMessage ¶
func (*ListZonesResponse) ProtoMessage()
func (*ListZonesResponse) Reset ¶
func (m *ListZonesResponse) Reset()
func (*ListZonesResponse) String ¶
func (m *ListZonesResponse) String() string
func (*ListZonesResponse) XXX_DiscardUnknown ¶
func (m *ListZonesResponse) XXX_DiscardUnknown()
func (*ListZonesResponse) XXX_Marshal ¶
func (m *ListZonesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListZonesResponse) XXX_Merge ¶
func (dst *ListZonesResponse) XXX_Merge(src proto.Message)
func (*ListZonesResponse) XXX_Size ¶
func (m *ListZonesResponse) XXX_Size() int
func (*ListZonesResponse) XXX_Unmarshal ¶
func (m *ListZonesResponse) XXX_Unmarshal(b []byte) error
type StorageType ¶
type StorageType int32
const ( // The storage type used is unspecified. StorageType_STORAGE_UNSPECIFIED StorageType = 0 // Data will be stored in SSD, providing low and consistent latencies. StorageType_STORAGE_SSD StorageType = 1 // Data will be stored in HDD, providing high and less predictable // latencies. StorageType_STORAGE_HDD StorageType = 2 )
func (StorageType) EnumDescriptor ¶
func (StorageType) EnumDescriptor() ([]byte, []int)
func (StorageType) String ¶
func (x StorageType) String() string
type UndeleteClusterMetadata ¶
type UndeleteClusterMetadata struct { // The time at which the original request was received. RequestTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` // The time at which this operation failed or was completed successfully. FinishTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata type for the operation returned by BigtableClusterService.UndeleteCluster.
func (*UndeleteClusterMetadata) Descriptor ¶
func (*UndeleteClusterMetadata) Descriptor() ([]byte, []int)
func (*UndeleteClusterMetadata) GetFinishTime ¶
func (m *UndeleteClusterMetadata) GetFinishTime() *timestamp.Timestamp
func (*UndeleteClusterMetadata) GetRequestTime ¶
func (m *UndeleteClusterMetadata) GetRequestTime() *timestamp.Timestamp
func (*UndeleteClusterMetadata) ProtoMessage ¶
func (*UndeleteClusterMetadata) ProtoMessage()
func (*UndeleteClusterMetadata) Reset ¶
func (m *UndeleteClusterMetadata) Reset()
func (*UndeleteClusterMetadata) String ¶
func (m *UndeleteClusterMetadata) String() string
func (*UndeleteClusterMetadata) XXX_DiscardUnknown ¶
func (m *UndeleteClusterMetadata) XXX_DiscardUnknown()
func (*UndeleteClusterMetadata) XXX_Marshal ¶
func (m *UndeleteClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndeleteClusterMetadata) XXX_Merge ¶
func (dst *UndeleteClusterMetadata) XXX_Merge(src proto.Message)
func (*UndeleteClusterMetadata) XXX_Size ¶
func (m *UndeleteClusterMetadata) XXX_Size() int
func (*UndeleteClusterMetadata) XXX_Unmarshal ¶
func (m *UndeleteClusterMetadata) XXX_Unmarshal(b []byte) error
type UndeleteClusterRequest ¶
type UndeleteClusterRequest struct { // The unique name of the cluster to be un-deleted. // Values are of the form projects/<project>/zones/<zone>/clusters/<cluster> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for BigtableClusterService.UndeleteCluster.
func (*UndeleteClusterRequest) Descriptor ¶
func (*UndeleteClusterRequest) Descriptor() ([]byte, []int)
func (*UndeleteClusterRequest) GetName ¶
func (m *UndeleteClusterRequest) GetName() string
func (*UndeleteClusterRequest) ProtoMessage ¶
func (*UndeleteClusterRequest) ProtoMessage()
func (*UndeleteClusterRequest) Reset ¶
func (m *UndeleteClusterRequest) Reset()
func (*UndeleteClusterRequest) String ¶
func (m *UndeleteClusterRequest) String() string
func (*UndeleteClusterRequest) XXX_DiscardUnknown ¶
func (m *UndeleteClusterRequest) XXX_DiscardUnknown()
func (*UndeleteClusterRequest) XXX_Marshal ¶
func (m *UndeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UndeleteClusterRequest) XXX_Merge ¶
func (dst *UndeleteClusterRequest) XXX_Merge(src proto.Message)
func (*UndeleteClusterRequest) XXX_Size ¶
func (m *UndeleteClusterRequest) XXX_Size() int
func (*UndeleteClusterRequest) XXX_Unmarshal ¶
func (m *UndeleteClusterRequest) XXX_Unmarshal(b []byte) error
type UpdateClusterMetadata ¶
type UpdateClusterMetadata struct { // The request which prompted the creation of this operation. OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest,proto3" json:"original_request,omitempty"` // The time at which original_request was received. RequestTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` // The time at which this operation was cancelled. If set, this operation is // in the process of undoing itself (which is guaranteed to succeed) and // cannot be cancelled again. CancelTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"` // The time at which this operation failed or was completed successfully. FinishTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata type for the operation returned by BigtableClusterService.UpdateCluster.
func (*UpdateClusterMetadata) Descriptor ¶
func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)
func (*UpdateClusterMetadata) GetCancelTime ¶
func (m *UpdateClusterMetadata) GetCancelTime() *timestamp.Timestamp
func (*UpdateClusterMetadata) GetFinishTime ¶
func (m *UpdateClusterMetadata) GetFinishTime() *timestamp.Timestamp
func (*UpdateClusterMetadata) GetOriginalRequest ¶
func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster
func (*UpdateClusterMetadata) GetRequestTime ¶
func (m *UpdateClusterMetadata) GetRequestTime() *timestamp.Timestamp
func (*UpdateClusterMetadata) ProtoMessage ¶
func (*UpdateClusterMetadata) ProtoMessage()
func (*UpdateClusterMetadata) Reset ¶
func (m *UpdateClusterMetadata) Reset()
func (*UpdateClusterMetadata) String ¶
func (m *UpdateClusterMetadata) String() string
func (*UpdateClusterMetadata) XXX_DiscardUnknown ¶
func (m *UpdateClusterMetadata) XXX_DiscardUnknown()
func (*UpdateClusterMetadata) XXX_Marshal ¶
func (m *UpdateClusterMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateClusterMetadata) XXX_Merge ¶
func (dst *UpdateClusterMetadata) XXX_Merge(src proto.Message)
func (*UpdateClusterMetadata) XXX_Size ¶
func (m *UpdateClusterMetadata) XXX_Size() int
func (*UpdateClusterMetadata) XXX_Unmarshal ¶
func (m *UpdateClusterMetadata) XXX_Unmarshal(b []byte) error
type V2OperationMetadata ¶
type V2OperationMetadata struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Metadata type for operations initiated by the V2 BigtableAdmin service. More complete information for such operations is available via the V2 API.
func (*V2OperationMetadata) Descriptor ¶
func (*V2OperationMetadata) Descriptor() ([]byte, []int)
func (*V2OperationMetadata) ProtoMessage ¶
func (*V2OperationMetadata) ProtoMessage()
func (*V2OperationMetadata) Reset ¶
func (m *V2OperationMetadata) Reset()
func (*V2OperationMetadata) String ¶
func (m *V2OperationMetadata) String() string
func (*V2OperationMetadata) XXX_DiscardUnknown ¶
func (m *V2OperationMetadata) XXX_DiscardUnknown()
func (*V2OperationMetadata) XXX_Marshal ¶
func (m *V2OperationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*V2OperationMetadata) XXX_Merge ¶
func (dst *V2OperationMetadata) XXX_Merge(src proto.Message)
func (*V2OperationMetadata) XXX_Size ¶
func (m *V2OperationMetadata) XXX_Size() int
func (*V2OperationMetadata) XXX_Unmarshal ¶
func (m *V2OperationMetadata) XXX_Unmarshal(b []byte) error
type Zone ¶
type Zone struct { // A permanent unique identifier for the zone. // Values are of the form projects/<project>/zones/[a-z][-a-z0-9]* Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The name of this zone as it appears in UIs. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The current state of this zone. Status Zone_Status `protobuf:"varint,3,opt,name=status,proto3,enum=google.bigtable.admin.cluster.v1.Zone_Status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A physical location in which a particular project can allocate Cloud BigTable resources.
func (*Zone) Descriptor ¶
func (*Zone) GetDisplayName ¶
func (*Zone) GetStatus ¶
func (m *Zone) GetStatus() Zone_Status
func (*Zone) ProtoMessage ¶
func (*Zone) ProtoMessage()
func (*Zone) XXX_DiscardUnknown ¶
func (m *Zone) XXX_DiscardUnknown()
func (*Zone) XXX_Unmarshal ¶
type Zone_Status ¶
type Zone_Status int32
Possible states of a zone.
const ( // The state of the zone is unknown or unspecified. Zone_UNKNOWN Zone_Status = 0 // The zone is in a good state. Zone_OK Zone_Status = 1 // The zone is down for planned maintenance. Zone_PLANNED_MAINTENANCE Zone_Status = 2 // The zone is down for emergency or unplanned maintenance. Zone_EMERGENCY_MAINENANCE Zone_Status = 3 )
func (Zone_Status) EnumDescriptor ¶
func (Zone_Status) EnumDescriptor() ([]byte, []int)
func (Zone_Status) String ¶
func (x Zone_Status) String() string