genproto: google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1 Index | Files

package cluster

import "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1"

Index

Package Files

bigtable_cluster_data.pb.go bigtable_cluster_service.pb.go bigtable_cluster_service_messages.pb.go

Variables

var (
    StorageType_name = map[int32]string{
        0:  "STORAGE_UNSPECIFIED",
        1:  "STORAGE_SSD",
        2:  "STORAGE_HDD",
    }
    StorageType_value = map[string]int32{
        "STORAGE_UNSPECIFIED": 0,
        "STORAGE_SSD":         1,
        "STORAGE_HDD":         2,
    }
)

Enum value maps for StorageType.

var (
    Zone_Status_name = map[int32]string{
        0:  "UNKNOWN",
        1:  "OK",
        2:  "PLANNED_MAINTENANCE",
        3:  "EMERGENCY_MAINENANCE",
    }
    Zone_Status_value = map[string]int32{
        "UNKNOWN":              0,
        "OK":                   1,
        "PLANNED_MAINTENANCE":  2,
        "EMERGENCY_MAINENANCE": 3,
    }
)

Enum value maps for Zone_Status.

var File_google_bigtable_admin_cluster_v1_bigtable_cluster_data_proto protoreflect.FileDescriptor
var File_google_bigtable_admin_cluster_v1_bigtable_cluster_service_messages_proto protoreflect.FileDescriptor
var File_google_bigtable_admin_cluster_v1_bigtable_cluster_service_proto protoreflect.FileDescriptor

func RegisterBigtableClusterServiceServer Uses

func RegisterBigtableClusterServiceServer(s *grpc.Server, srv BigtableClusterServiceServer)

type BigtableClusterServiceClient Uses

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 Uses

func NewBigtableClusterServiceClient(cc grpc.ClientConnInterface) BigtableClusterServiceClient

type BigtableClusterServiceServer Uses

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 Uses

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 `protobuf:"varint,8,opt,name=default_storage_type,json=defaultStorageType,proto3,enum=google.bigtable.admin.cluster.v1.StorageType" json:"default_storage_type,omitempty"`
    // contains filtered or unexported fields
}

An isolated set of Cloud BigTable resources on which tables can be hosted.

func (*Cluster) Descriptor Uses

func (*Cluster) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetCurrentOperation Uses

func (x *Cluster) GetCurrentOperation() *longrunning.Operation

func (*Cluster) GetDefaultStorageType Uses

func (x *Cluster) GetDefaultStorageType() StorageType

func (*Cluster) GetDisplayName Uses

func (x *Cluster) GetDisplayName() string

func (*Cluster) GetName Uses

func (x *Cluster) GetName() string

func (*Cluster) GetServeNodes Uses

func (x *Cluster) GetServeNodes() int32

func (*Cluster) ProtoMessage Uses

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect Uses

func (x *Cluster) ProtoReflect() protoreflect.Message

func (*Cluster) Reset Uses

func (x *Cluster) Reset()

func (*Cluster) String Uses

func (x *Cluster) String() string

type CreateClusterMetadata Uses

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"`
    // contains filtered or unexported fields
}

Metadata type for the operation returned by BigtableClusterService.CreateCluster.

func (*CreateClusterMetadata) Descriptor Uses

func (*CreateClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterMetadata.ProtoReflect.Descriptor instead.

func (*CreateClusterMetadata) GetFinishTime Uses

func (x *CreateClusterMetadata) GetFinishTime() *timestamp.Timestamp

func (*CreateClusterMetadata) GetOriginalRequest Uses

func (x *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest

func (*CreateClusterMetadata) GetRequestTime Uses

func (x *CreateClusterMetadata) GetRequestTime() *timestamp.Timestamp

func (*CreateClusterMetadata) ProtoMessage Uses

func (*CreateClusterMetadata) ProtoMessage()

func (*CreateClusterMetadata) ProtoReflect Uses

func (x *CreateClusterMetadata) ProtoReflect() protoreflect.Message

func (*CreateClusterMetadata) Reset Uses

func (x *CreateClusterMetadata) Reset()

func (*CreateClusterMetadata) String Uses

func (x *CreateClusterMetadata) String() string

type CreateClusterRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for BigtableClusterService.CreateCluster.

func (*CreateClusterRequest) Descriptor Uses

func (*CreateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetCluster Uses

func (x *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) GetClusterId Uses

func (x *CreateClusterRequest) GetClusterId() string

func (*CreateClusterRequest) GetName Uses

func (x *CreateClusterRequest) GetName() string

func (*CreateClusterRequest) ProtoMessage Uses

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect Uses

func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message

func (*CreateClusterRequest) Reset Uses

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String Uses

func (x *CreateClusterRequest) String() string

type DeleteClusterRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for BigtableClusterService.DeleteCluster.

func (*DeleteClusterRequest) Descriptor Uses

func (*DeleteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetName Uses

func (x *DeleteClusterRequest) GetName() string

func (*DeleteClusterRequest) ProtoMessage Uses

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect Uses

func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*DeleteClusterRequest) Reset Uses

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String Uses

func (x *DeleteClusterRequest) String() string

type GetClusterRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for BigtableClusterService.GetCluster.

func (*GetClusterRequest) Descriptor Uses

func (*GetClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetName Uses

func (x *GetClusterRequest) GetName() string

func (*GetClusterRequest) ProtoMessage Uses

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect Uses

func (x *GetClusterRequest) ProtoReflect() protoreflect.Message

func (*GetClusterRequest) Reset Uses

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) String Uses

func (x *GetClusterRequest) String() string

type ListClustersRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for BigtableClusterService.ListClusters.

func (*ListClustersRequest) Descriptor Uses

func (*ListClustersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetName Uses

func (x *ListClustersRequest) GetName() string

func (*ListClustersRequest) ProtoMessage Uses

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) ProtoReflect Uses

func (x *ListClustersRequest) ProtoReflect() protoreflect.Message

func (*ListClustersRequest) Reset Uses

func (x *ListClustersRequest) Reset()

func (*ListClustersRequest) String Uses

func (x *ListClustersRequest) String() string

type ListClustersResponse Uses

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"`
    // contains filtered or unexported fields
}

Response message for BigtableClusterService.ListClusters.

func (*ListClustersResponse) Descriptor Uses

func (*ListClustersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.

func (*ListClustersResponse) GetClusters Uses

func (x *ListClustersResponse) GetClusters() []*Cluster

func (*ListClustersResponse) GetFailedZones Uses

func (x *ListClustersResponse) GetFailedZones() []*Zone

func (*ListClustersResponse) ProtoMessage Uses

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect Uses

func (x *ListClustersResponse) ProtoReflect() protoreflect.Message

func (*ListClustersResponse) Reset Uses

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) String Uses

func (x *ListClustersResponse) String() string

type ListZonesRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for BigtableClusterService.ListZones.

func (*ListZonesRequest) Descriptor Uses

func (*ListZonesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListZonesRequest.ProtoReflect.Descriptor instead.

func (*ListZonesRequest) GetName Uses

func (x *ListZonesRequest) GetName() string

func (*ListZonesRequest) ProtoMessage Uses

func (*ListZonesRequest) ProtoMessage()

func (*ListZonesRequest) ProtoReflect Uses

func (x *ListZonesRequest) ProtoReflect() protoreflect.Message

func (*ListZonesRequest) Reset Uses

func (x *ListZonesRequest) Reset()

func (*ListZonesRequest) String Uses

func (x *ListZonesRequest) String() string

type ListZonesResponse Uses

type ListZonesResponse struct {

    // The list of requested zones.
    Zones []*Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"`
    // contains filtered or unexported fields
}

Response message for BigtableClusterService.ListZones.

func (*ListZonesResponse) Descriptor Uses

func (*ListZonesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListZonesResponse.ProtoReflect.Descriptor instead.

func (*ListZonesResponse) GetZones Uses

func (x *ListZonesResponse) GetZones() []*Zone

func (*ListZonesResponse) ProtoMessage Uses

func (*ListZonesResponse) ProtoMessage()

func (*ListZonesResponse) ProtoReflect Uses

func (x *ListZonesResponse) ProtoReflect() protoreflect.Message

func (*ListZonesResponse) Reset Uses

func (x *ListZonesResponse) Reset()

func (*ListZonesResponse) String Uses

func (x *ListZonesResponse) String() string

type StorageType Uses

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) Descriptor Uses

func (StorageType) Descriptor() protoreflect.EnumDescriptor

func (StorageType) Enum Uses

func (x StorageType) Enum() *StorageType

func (StorageType) EnumDescriptor Uses

func (StorageType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StorageType.Descriptor instead.

func (StorageType) Number Uses

func (x StorageType) Number() protoreflect.EnumNumber

func (StorageType) String Uses

func (x StorageType) String() string

func (StorageType) Type Uses

func (StorageType) Type() protoreflect.EnumType

type UndeleteClusterMetadata Uses

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"`
    // contains filtered or unexported fields
}

Metadata type for the operation returned by BigtableClusterService.UndeleteCluster.

func (*UndeleteClusterMetadata) Descriptor Uses

func (*UndeleteClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UndeleteClusterMetadata.ProtoReflect.Descriptor instead.

func (*UndeleteClusterMetadata) GetFinishTime Uses

func (x *UndeleteClusterMetadata) GetFinishTime() *timestamp.Timestamp

func (*UndeleteClusterMetadata) GetRequestTime Uses

func (x *UndeleteClusterMetadata) GetRequestTime() *timestamp.Timestamp

func (*UndeleteClusterMetadata) ProtoMessage Uses

func (*UndeleteClusterMetadata) ProtoMessage()

func (*UndeleteClusterMetadata) ProtoReflect Uses

func (x *UndeleteClusterMetadata) ProtoReflect() protoreflect.Message

func (*UndeleteClusterMetadata) Reset Uses

func (x *UndeleteClusterMetadata) Reset()

func (*UndeleteClusterMetadata) String Uses

func (x *UndeleteClusterMetadata) String() string

type UndeleteClusterRequest Uses

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"`
    // contains filtered or unexported fields
}

Request message for BigtableClusterService.UndeleteCluster.

func (*UndeleteClusterRequest) Descriptor Uses

func (*UndeleteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UndeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*UndeleteClusterRequest) GetName Uses

func (x *UndeleteClusterRequest) GetName() string

func (*UndeleteClusterRequest) ProtoMessage Uses

func (*UndeleteClusterRequest) ProtoMessage()

func (*UndeleteClusterRequest) ProtoReflect Uses

func (x *UndeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*UndeleteClusterRequest) Reset Uses

func (x *UndeleteClusterRequest) Reset()

func (*UndeleteClusterRequest) String Uses

func (x *UndeleteClusterRequest) String() string

type UnimplementedBigtableClusterServiceServer Uses

type UnimplementedBigtableClusterServiceServer struct {
}

UnimplementedBigtableClusterServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBigtableClusterServiceServer) CreateCluster Uses

func (*UnimplementedBigtableClusterServiceServer) CreateCluster(context.Context, *CreateClusterRequest) (*Cluster, error)

func (*UnimplementedBigtableClusterServiceServer) DeleteCluster Uses

func (*UnimplementedBigtableClusterServiceServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*empty.Empty, error)

func (*UnimplementedBigtableClusterServiceServer) GetCluster Uses

func (*UnimplementedBigtableClusterServiceServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)

func (*UnimplementedBigtableClusterServiceServer) ListClusters Uses

func (*UnimplementedBigtableClusterServiceServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)

func (*UnimplementedBigtableClusterServiceServer) ListZones Uses

func (*UnimplementedBigtableClusterServiceServer) ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)

func (*UnimplementedBigtableClusterServiceServer) UndeleteCluster Uses

func (*UnimplementedBigtableClusterServiceServer) UndeleteCluster(context.Context, *UndeleteClusterRequest) (*longrunning.Operation, error)

func (*UnimplementedBigtableClusterServiceServer) UpdateCluster Uses

func (*UnimplementedBigtableClusterServiceServer) UpdateCluster(context.Context, *Cluster) (*Cluster, error)

type UpdateClusterMetadata Uses

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"`
    // contains filtered or unexported fields
}

Metadata type for the operation returned by BigtableClusterService.UpdateCluster.

func (*UpdateClusterMetadata) Descriptor Uses

func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterMetadata.ProtoReflect.Descriptor instead.

func (*UpdateClusterMetadata) GetCancelTime Uses

func (x *UpdateClusterMetadata) GetCancelTime() *timestamp.Timestamp

func (*UpdateClusterMetadata) GetFinishTime Uses

func (x *UpdateClusterMetadata) GetFinishTime() *timestamp.Timestamp

func (*UpdateClusterMetadata) GetOriginalRequest Uses

func (x *UpdateClusterMetadata) GetOriginalRequest() *Cluster

func (*UpdateClusterMetadata) GetRequestTime Uses

func (x *UpdateClusterMetadata) GetRequestTime() *timestamp.Timestamp

func (*UpdateClusterMetadata) ProtoMessage Uses

func (*UpdateClusterMetadata) ProtoMessage()

func (*UpdateClusterMetadata) ProtoReflect Uses

func (x *UpdateClusterMetadata) ProtoReflect() protoreflect.Message

func (*UpdateClusterMetadata) Reset Uses

func (x *UpdateClusterMetadata) Reset()

func (*UpdateClusterMetadata) String Uses

func (x *UpdateClusterMetadata) String() string

type V2OperationMetadata Uses

type V2OperationMetadata struct {
    // contains filtered or unexported fields
}

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 Uses

func (*V2OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use V2OperationMetadata.ProtoReflect.Descriptor instead.

func (*V2OperationMetadata) ProtoMessage Uses

func (*V2OperationMetadata) ProtoMessage()

func (*V2OperationMetadata) ProtoReflect Uses

func (x *V2OperationMetadata) ProtoReflect() protoreflect.Message

func (*V2OperationMetadata) Reset Uses

func (x *V2OperationMetadata) Reset()

func (*V2OperationMetadata) String Uses

func (x *V2OperationMetadata) String() string

type Zone Uses

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"`
    // contains filtered or unexported fields
}

A physical location in which a particular project can allocate Cloud BigTable resources.

func (*Zone) Descriptor Uses

func (*Zone) Descriptor() ([]byte, []int)

Deprecated: Use Zone.ProtoReflect.Descriptor instead.

func (*Zone) GetDisplayName Uses

func (x *Zone) GetDisplayName() string

func (*Zone) GetName Uses

func (x *Zone) GetName() string

func (*Zone) GetStatus Uses

func (x *Zone) GetStatus() Zone_Status

func (*Zone) ProtoMessage Uses

func (*Zone) ProtoMessage()

func (*Zone) ProtoReflect Uses

func (x *Zone) ProtoReflect() protoreflect.Message

func (*Zone) Reset Uses

func (x *Zone) Reset()

func (*Zone) String Uses

func (x *Zone) String() string

type Zone_Status Uses

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) Descriptor Uses

func (Zone_Status) Descriptor() protoreflect.EnumDescriptor

func (Zone_Status) Enum Uses

func (x Zone_Status) Enum() *Zone_Status

func (Zone_Status) EnumDescriptor Uses

func (Zone_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Zone_Status.Descriptor instead.

func (Zone_Status) Number Uses

func (x Zone_Status) Number() protoreflect.EnumNumber

func (Zone_Status) String Uses

func (x Zone_Status) String() string

func (Zone_Status) Type Uses

func (Zone_Status) Type() protoreflect.EnumType

Package cluster imports 13 packages (graph). Updated 2020-07-26. Refresh now. Tools for package owners.