Package admin
Overview ▹
Index ▹
Variables
var Cluster_State_name = map[int32]string{ 0: "STATE_NOT_KNOWN", 1: "READY", 2: "CREATING", 3: "RESIZING", 4: "DISABLED", }
var Cluster_State_value = map[string]int32{ "STATE_NOT_KNOWN": 0, "READY": 1, "CREATING": 2, "RESIZING": 3, "DISABLED": 4, }
var Instance_State_name = map[int32]string{ 0: "STATE_NOT_KNOWN", 1: "READY", 2: "CREATING", }
var Instance_State_value = map[string]int32{ "STATE_NOT_KNOWN": 0, "READY": 1, "CREATING": 2, }
var Instance_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "PRODUCTION", }
var Instance_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "PRODUCTION": 1, }
var StorageType_name = map[int32]string{ 0: "STORAGE_TYPE_UNSPECIFIED", 1: "SSD", 2: "HDD", }
var StorageType_value = map[string]int32{ "STORAGE_TYPE_UNSPECIFIED": 0, "SSD": 1, "HDD": 2, }
var Table_TimestampGranularity_name = map[int32]string{ 0: "TIMESTAMP_GRANULARITY_UNSPECIFIED", 1: "MILLIS", }
var Table_TimestampGranularity_value = map[string]int32{ "TIMESTAMP_GRANULARITY_UNSPECIFIED": 0, "MILLIS": 1, }
var Table_View_name = map[int32]string{ 0: "VIEW_UNSPECIFIED", 1: "NAME_ONLY", 2: "SCHEMA_VIEW", 4: "FULL", }
var Table_View_value = map[string]int32{ "VIEW_UNSPECIFIED": 0, "NAME_ONLY": 1, "SCHEMA_VIEW": 2, "FULL": 4, }
func RegisterBigtableInstanceAdminServer ¶
func RegisterBigtableInstanceAdminServer(s *grpc.Server, srv BigtableInstanceAdminServer)
func RegisterBigtableTableAdminServer ¶
func RegisterBigtableTableAdminServer(s *grpc.Server, srv BigtableTableAdminServer)
type BigtableInstanceAdminClient ¶
type BigtableInstanceAdminClient interface { // Create an instance within a project. CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // Gets information about an instance. GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) // Lists information about instances in a project. ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) // Updates an instance within a project. UpdateInstance(ctx context.Context, in *Instance, opts ...grpc.CallOption) (*Instance, error) // Delete an instance from a project. DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) // Creates a cluster within an instance. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // Gets information about a cluster. GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Lists information about clusters in an instance. ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Updates a cluster within an instance. UpdateCluster(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // Deletes a cluster from an instance. DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) }
func NewBigtableInstanceAdminClient ¶
func NewBigtableInstanceAdminClient(cc *grpc.ClientConn) BigtableInstanceAdminClient
type BigtableInstanceAdminServer ¶
type BigtableInstanceAdminServer interface { // Create an instance within a project. CreateInstance(context.Context, *CreateInstanceRequest) (*google_longrunning.Operation, error) // Gets information about an instance. GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) // Lists information about instances in a project. ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) // Updates an instance within a project. UpdateInstance(context.Context, *Instance) (*Instance, error) // Delete an instance from a project. DeleteInstance(context.Context, *DeleteInstanceRequest) (*google_protobuf3.Empty, error) // Creates a cluster within an instance. CreateCluster(context.Context, *CreateClusterRequest) (*google_longrunning.Operation, error) // Gets information about a cluster. GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) // Lists information about clusters in an instance. ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Updates a cluster within an instance. UpdateCluster(context.Context, *Cluster) (*google_longrunning.Operation, error) // Deletes a cluster from an instance. DeleteCluster(context.Context, *DeleteClusterRequest) (*google_protobuf3.Empty, error) }
type BigtableTableAdminClient ¶
type BigtableTableAdminClient interface { // Creates a new table in the specified instance. // The table can be created with a full set of initial column families, // specified in the request. CreateTable(ctx context.Context, in *CreateTableRequest, opts ...grpc.CallOption) (*Table, error) // Lists all tables served from a specified instance. ListTables(ctx context.Context, in *ListTablesRequest, opts ...grpc.CallOption) (*ListTablesResponse, error) // Gets metadata information about the specified table. GetTable(ctx context.Context, in *GetTableRequest, opts ...grpc.CallOption) (*Table, error) // Permanently deletes a specified table and all of its data. DeleteTable(ctx context.Context, in *DeleteTableRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) // Atomically performs a series of column family modifications // on the specified table. ModifyColumnFamilies(ctx context.Context, in *ModifyColumnFamiliesRequest, opts ...grpc.CallOption) (*Table, error) // Permanently drop/delete a row range from a specified table. The request can // specify whether to delete all rows in a table, or only those that match a // particular prefix. DropRowRange(ctx context.Context, in *DropRowRangeRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) }
func NewBigtableTableAdminClient ¶
func NewBigtableTableAdminClient(cc *grpc.ClientConn) BigtableTableAdminClient
type BigtableTableAdminServer ¶
type BigtableTableAdminServer interface { // Creates a new table in the specified instance. // The table can be created with a full set of initial column families, // specified in the request. CreateTable(context.Context, *CreateTableRequest) (*Table, error) // Lists all tables served from a specified instance. ListTables(context.Context, *ListTablesRequest) (*ListTablesResponse, error) // Gets metadata information about the specified table. GetTable(context.Context, *GetTableRequest) (*Table, error) // Permanently deletes a specified table and all of its data. DeleteTable(context.Context, *DeleteTableRequest) (*google_protobuf3.Empty, error) // Atomically performs a series of column family modifications // on the specified table. ModifyColumnFamilies(context.Context, *ModifyColumnFamiliesRequest) (*Table, error) // Permanently drop/delete a row range from a specified table. The request can // specify whether to delete all rows in a table, or only those that match a // particular prefix. DropRowRange(context.Context, *DropRowRangeRequest) (*google_protobuf3.Empty, error) }
type Cluster ¶
A resizable group of nodes in a particular cloud location, capable of serving all [Tables][google.bigtable.admin.v2.Table] in the parent [Instance][google.bigtable.admin.v2.Instance].
type Cluster struct { // (`OutputOnly`) // The unique name of the cluster. Values are of the form // `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // (`CreationOnly`) // The location where this cluster's nodes and storage reside. For best // performance, clients should be located as close as possible to this cluster. // Currently only zones are supported, so values should be of the form // `projects/<project>/locations/<zone>`. Location string `protobuf:"bytes,2,opt,name=location" json:"location,omitempty"` // (`OutputOnly`) // The current state of the cluster. State Cluster_State `protobuf:"varint,3,opt,name=state,enum=google.bigtable.admin.v2.Cluster_State" json:"state,omitempty"` // The number of nodes allocated to this cluster. More nodes enable higher // throughput and more consistent performance. ServeNodes int32 `protobuf:"varint,4,opt,name=serve_nodes,json=serveNodes" json:"serve_nodes,omitempty"` // (`CreationOnly`) // The type of storage used by this cluster to serve its // parent instance's tables, unless explicitly overridden. DefaultStorageType StorageType `protobuf:"varint,5,opt,name=default_storage_type,json=defaultStorageType,enum=google.bigtable.admin.v2.StorageType" json:"default_storage_type,omitempty"` }
func (*Cluster) Descriptor ¶
func (*Cluster) Descriptor() ([]byte, []int)
func (*Cluster) GetDefaultStorageType ¶
func (m *Cluster) GetDefaultStorageType() StorageType
func (*Cluster) GetLocation ¶
func (m *Cluster) GetLocation() string
func (*Cluster) GetName ¶
func (m *Cluster) GetName() string
func (*Cluster) GetServeNodes ¶
func (m *Cluster) GetServeNodes() int32
func (*Cluster) GetState ¶
func (m *Cluster) GetState() Cluster_State
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) Reset ¶
func (m *Cluster) Reset()
func (*Cluster) String ¶
func (m *Cluster) String() string
type Cluster_State ¶
Possible states of a cluster.
type Cluster_State int32
const ( // The state of the cluster could not be determined. Cluster_STATE_NOT_KNOWN Cluster_State = 0 // The cluster has been successfully created and is ready to serve requests. Cluster_READY Cluster_State = 1 // The cluster is currently being created, and may be destroyed // if the creation process encounters an error. // A cluster may not be able to serve requests while being created. Cluster_CREATING Cluster_State = 2 // The cluster is currently being resized, and may revert to its previous // node count if the process encounters an error. // A cluster is still capable of serving requests while being resized, // but may exhibit performance as if its number of allocated nodes is // between the starting and requested states. 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 ColumnFamily ¶
A set of columns within a table which share a common configuration.
type ColumnFamily struct { // Garbage collection rule specified as a protobuf. // Must serialize to at most 500 bytes. // // NOTE: Garbage collection executes opportunistically in the background, and // so it's possible for reads to return a cell even if it matches the active // GC expression for its family. GcRule *GcRule `protobuf:"bytes,1,opt,name=gc_rule,json=gcRule" json:"gc_rule,omitempty"` }
func (*ColumnFamily) Descriptor ¶
func (*ColumnFamily) Descriptor() ([]byte, []int)
func (*ColumnFamily) GetGcRule ¶
func (m *ColumnFamily) GetGcRule() *GcRule
func (*ColumnFamily) ProtoMessage ¶
func (*ColumnFamily) ProtoMessage()
func (*ColumnFamily) Reset ¶
func (m *ColumnFamily) Reset()
func (*ColumnFamily) String ¶
func (m *ColumnFamily) String() string
type CreateClusterRequest ¶
Request message for BigtableInstanceAdmin.CreateCluster.
type CreateClusterRequest struct { // The unique name of the instance in which to create the new cluster. // Values are of the form // `projects/<project>/instances/<instance>`. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The ID to be used when referring to the new cluster within its instance, // e.g., just `mycluster` rather than // `projects/myproject/instances/myinstance/clusters/mycluster`. ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"` // The cluster to be created. // Fields marked `OutputOnly` must be left blank. Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster" json:"cluster,omitempty"` }
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) GetParent ¶
func (m *CreateClusterRequest) GetParent() string
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) Reset ¶
func (m *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (m *CreateClusterRequest) String() string
type CreateInstanceMetadata ¶
The metadata for the Operation returned by CreateInstance.
type CreateInstanceMetadata struct { // The request that prompted the initiation of this CreateInstance operation. OriginalRequest *CreateInstanceRequest `protobuf:"bytes,1,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"` // The time at which the original request was received. RequestTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime" json:"request_time,omitempty"` // The time at which the operation failed or was completed successfully. FinishTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"` }
func (*CreateInstanceMetadata) Descriptor ¶
func (*CreateInstanceMetadata) Descriptor() ([]byte, []int)
func (*CreateInstanceMetadata) GetFinishTime ¶
func (m *CreateInstanceMetadata) GetFinishTime() *google_protobuf1.Timestamp
func (*CreateInstanceMetadata) GetOriginalRequest ¶
func (m *CreateInstanceMetadata) GetOriginalRequest() *CreateInstanceRequest
func (*CreateInstanceMetadata) GetRequestTime ¶
func (m *CreateInstanceMetadata) GetRequestTime() *google_protobuf1.Timestamp
func (*CreateInstanceMetadata) ProtoMessage ¶
func (*CreateInstanceMetadata) ProtoMessage()
func (*CreateInstanceMetadata) Reset ¶
func (m *CreateInstanceMetadata) Reset()
func (*CreateInstanceMetadata) String ¶
func (m *CreateInstanceMetadata) String() string
type CreateInstanceRequest ¶
Request message for BigtableInstanceAdmin.CreateInstance.
type CreateInstanceRequest struct { // The unique name of the project in which to create the new instance. // Values are of the form `projects/<project>`. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The ID to be used when referring to the new instance within its project, // e.g., just `myinstance` rather than // `projects/myproject/instances/myinstance`. InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId" json:"instance_id,omitempty"` // The instance to create. // Fields marked `OutputOnly` must be left blank. Instance *Instance `protobuf:"bytes,3,opt,name=instance" json:"instance,omitempty"` // The clusters to be created within the instance, mapped by desired // cluster ID, e.g., just `mycluster` rather than // `projects/myproject/instances/myinstance/clusters/mycluster`. // Fields marked `OutputOnly` must be left blank. // Currently exactly one cluster must be specified. Clusters map[string]*Cluster `protobuf:"bytes,4,rep,name=clusters" json:"clusters,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` }
func (*CreateInstanceRequest) Descriptor ¶
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
func (*CreateInstanceRequest) GetClusters ¶
func (m *CreateInstanceRequest) GetClusters() map[string]*Cluster
func (*CreateInstanceRequest) GetInstance ¶
func (m *CreateInstanceRequest) GetInstance() *Instance
func (*CreateInstanceRequest) GetInstanceId ¶
func (m *CreateInstanceRequest) GetInstanceId() string
func (*CreateInstanceRequest) GetParent ¶
func (m *CreateInstanceRequest) GetParent() string
func (*CreateInstanceRequest) ProtoMessage ¶
func (*CreateInstanceRequest) ProtoMessage()
func (*CreateInstanceRequest) Reset ¶
func (m *CreateInstanceRequest) Reset()
func (*CreateInstanceRequest) String ¶
func (m *CreateInstanceRequest) String() string
type CreateTableRequest ¶
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
type CreateTableRequest struct { // The unique name of the instance in which to create the table. // Values are of the form `projects/<project>/instances/<instance>`. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The name by which the new table should be referred to within the parent // instance, e.g., `foobar` rather than `<parent>/tables/foobar`. TableId string `protobuf:"bytes,2,opt,name=table_id,json=tableId" json:"table_id,omitempty"` // The Table to create. Table *Table `protobuf:"bytes,3,opt,name=table" json:"table,omitempty"` // The optional list of row keys that will be used to initially split the // table into several tablets (tablets are similar to HBase regions). // Given two split keys, `s1` and `s2`, three tablets will be created, // spanning the key ranges: `[, s1), [s1, s2), [s2, )`. // // Example: // // * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",` // `"other", "zz"]` // * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]` // * Key assignment: // - Tablet 1 `[, apple) => {"a"}.` // - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.` // - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.` // - Tablet 4 `[customer_2, other) => {"customer_2"}.` // - Tablet 5 `[other, ) => {"other", "zz"}.` InitialSplits []*CreateTableRequest_Split `protobuf:"bytes,4,rep,name=initial_splits,json=initialSplits" json:"initial_splits,omitempty"` }
func (*CreateTableRequest) Descriptor ¶
func (*CreateTableRequest) Descriptor() ([]byte, []int)
func (*CreateTableRequest) GetInitialSplits ¶
func (m *CreateTableRequest) GetInitialSplits() []*CreateTableRequest_Split
func (*CreateTableRequest) GetParent ¶
func (m *CreateTableRequest) GetParent() string
func (*CreateTableRequest) GetTable ¶
func (m *CreateTableRequest) GetTable() *Table
func (*CreateTableRequest) GetTableId ¶
func (m *CreateTableRequest) GetTableId() string
func (*CreateTableRequest) ProtoMessage ¶
func (*CreateTableRequest) ProtoMessage()
func (*CreateTableRequest) Reset ¶
func (m *CreateTableRequest) Reset()
func (*CreateTableRequest) String ¶
func (m *CreateTableRequest) String() string
type CreateTableRequest_Split ¶
An initial split point for a newly created table.
type CreateTableRequest_Split struct {
// Row key to use as an initial tablet boundary.
Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
}
func (*CreateTableRequest_Split) Descriptor ¶
func (*CreateTableRequest_Split) Descriptor() ([]byte, []int)
func (*CreateTableRequest_Split) GetKey ¶
func (m *CreateTableRequest_Split) GetKey() []byte
func (*CreateTableRequest_Split) ProtoMessage ¶
func (*CreateTableRequest_Split) ProtoMessage()
func (*CreateTableRequest_Split) Reset ¶
func (m *CreateTableRequest_Split) Reset()
func (*CreateTableRequest_Split) String ¶
func (m *CreateTableRequest_Split) String() string
type DeleteClusterRequest ¶
Request message for BigtableInstanceAdmin.DeleteCluster.
type DeleteClusterRequest struct { // The unique name of the cluster to be deleted. Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
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
type DeleteInstanceRequest ¶
Request message for BigtableInstanceAdmin.DeleteInstance.
type DeleteInstanceRequest struct { // The unique name of the instance to be deleted. // Values are of the form `projects/<project>/instances/<instance>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
func (*DeleteInstanceRequest) Descriptor ¶
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
func (*DeleteInstanceRequest) GetName ¶
func (m *DeleteInstanceRequest) GetName() string
func (*DeleteInstanceRequest) ProtoMessage ¶
func (*DeleteInstanceRequest) ProtoMessage()
func (*DeleteInstanceRequest) Reset ¶
func (m *DeleteInstanceRequest) Reset()
func (*DeleteInstanceRequest) String ¶
func (m *DeleteInstanceRequest) String() string
type DeleteTableRequest ¶
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
type DeleteTableRequest struct { // The unique name of the table to be deleted. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
func (*DeleteTableRequest) Descriptor ¶
func (*DeleteTableRequest) Descriptor() ([]byte, []int)
func (*DeleteTableRequest) GetName ¶
func (m *DeleteTableRequest) GetName() string
func (*DeleteTableRequest) ProtoMessage ¶
func (*DeleteTableRequest) ProtoMessage()
func (*DeleteTableRequest) Reset ¶
func (m *DeleteTableRequest) Reset()
func (*DeleteTableRequest) String ¶
func (m *DeleteTableRequest) String() string
type DropRowRangeRequest ¶
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
type DropRowRangeRequest struct { // The unique name of the table on which to drop a range of rows. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Delete all rows or by prefix. // // Types that are valid to be assigned to Target: // *DropRowRangeRequest_RowKeyPrefix // *DropRowRangeRequest_DeleteAllDataFromTable Target isDropRowRangeRequest_Target `protobuf_oneof:"target"` }
func (*DropRowRangeRequest) Descriptor ¶
func (*DropRowRangeRequest) Descriptor() ([]byte, []int)
func (*DropRowRangeRequest) GetDeleteAllDataFromTable ¶
func (m *DropRowRangeRequest) GetDeleteAllDataFromTable() bool
func (*DropRowRangeRequest) GetName ¶
func (m *DropRowRangeRequest) GetName() string
func (*DropRowRangeRequest) GetRowKeyPrefix ¶
func (m *DropRowRangeRequest) GetRowKeyPrefix() []byte
func (*DropRowRangeRequest) GetTarget ¶
func (m *DropRowRangeRequest) GetTarget() isDropRowRangeRequest_Target
func (*DropRowRangeRequest) ProtoMessage ¶
func (*DropRowRangeRequest) ProtoMessage()
func (*DropRowRangeRequest) Reset ¶
func (m *DropRowRangeRequest) Reset()
func (*DropRowRangeRequest) String ¶
func (m *DropRowRangeRequest) String() string
func (*DropRowRangeRequest) XXX_OneofFuncs ¶
func (*DropRowRangeRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type DropRowRangeRequest_DeleteAllDataFromTable ¶
type DropRowRangeRequest_DeleteAllDataFromTable struct { DeleteAllDataFromTable bool `protobuf:"varint,3,opt,name=delete_all_data_from_table,json=deleteAllDataFromTable,oneof"` }
type DropRowRangeRequest_RowKeyPrefix ¶
type DropRowRangeRequest_RowKeyPrefix struct { RowKeyPrefix []byte `protobuf:"bytes,2,opt,name=row_key_prefix,json=rowKeyPrefix,proto3,oneof"` }
type GcRule ¶
Rule for determining which cells to delete during garbage collection.
type GcRule struct { // Garbage collection rules. // // Types that are valid to be assigned to Rule: // *GcRule_MaxNumVersions // *GcRule_MaxAge // *GcRule_Intersection_ // *GcRule_Union_ Rule isGcRule_Rule `protobuf_oneof:"rule"` }
func (*GcRule) Descriptor ¶
func (*GcRule) Descriptor() ([]byte, []int)
func (*GcRule) GetIntersection ¶
func (m *GcRule) GetIntersection() *GcRule_Intersection
func (*GcRule) GetMaxAge ¶
func (m *GcRule) GetMaxAge() *google_protobuf4.Duration
func (*GcRule) GetMaxNumVersions ¶
func (m *GcRule) GetMaxNumVersions() int32
func (*GcRule) GetRule ¶
func (m *GcRule) GetRule() isGcRule_Rule
func (*GcRule) GetUnion ¶
func (m *GcRule) GetUnion() *GcRule_Union
func (*GcRule) ProtoMessage ¶
func (*GcRule) ProtoMessage()
func (*GcRule) Reset ¶
func (m *GcRule) Reset()
func (*GcRule) String ¶
func (m *GcRule) String() string
func (*GcRule) XXX_OneofFuncs ¶
func (*GcRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type GcRule_Intersection ¶
A GcRule which deletes cells matching all of the given rules.
type GcRule_Intersection struct {
// Only delete cells which would be deleted by every element of `rules`.
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
}
func (*GcRule_Intersection) Descriptor ¶
func (*GcRule_Intersection) Descriptor() ([]byte, []int)
func (*GcRule_Intersection) GetRules ¶
func (m *GcRule_Intersection) GetRules() []*GcRule
func (*GcRule_Intersection) ProtoMessage ¶
func (*GcRule_Intersection) ProtoMessage()
func (*GcRule_Intersection) Reset ¶
func (m *GcRule_Intersection) Reset()
func (*GcRule_Intersection) String ¶
func (m *GcRule_Intersection) String() string
type GcRule_Intersection_ ¶
type GcRule_Intersection_ struct { Intersection *GcRule_Intersection `protobuf:"bytes,3,opt,name=intersection,oneof"` }
type GcRule_MaxAge ¶
type GcRule_MaxAge struct { MaxAge *google_protobuf4.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,oneof"` }
type GcRule_MaxNumVersions ¶
type GcRule_MaxNumVersions struct { MaxNumVersions int32 `protobuf:"varint,1,opt,name=max_num_versions,json=maxNumVersions,oneof"` }
type GcRule_Union ¶
A GcRule which deletes cells matching any of the given rules.
type GcRule_Union struct {
// Delete cells which would be deleted by any element of `rules`.
Rules []*GcRule `protobuf:"bytes,1,rep,name=rules" json:"rules,omitempty"`
}
func (*GcRule_Union) Descriptor ¶
func (*GcRule_Union) Descriptor() ([]byte, []int)
func (*GcRule_Union) GetRules ¶
func (m *GcRule_Union) GetRules() []*GcRule
func (*GcRule_Union) ProtoMessage ¶
func (*GcRule_Union) ProtoMessage()
func (*GcRule_Union) Reset ¶
func (m *GcRule_Union) Reset()
func (*GcRule_Union) String ¶
func (m *GcRule_Union) String() string
type GcRule_Union_ ¶
type GcRule_Union_ struct { Union *GcRule_Union `protobuf:"bytes,4,opt,name=union,oneof"` }
type GetClusterRequest ¶
Request message for BigtableInstanceAdmin.GetCluster.
type GetClusterRequest struct { // The unique name of the requested cluster. Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
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
type GetInstanceRequest ¶
Request message for BigtableInstanceAdmin.GetInstance.
type GetInstanceRequest struct { // The unique name of the requested instance. Values are of the form // `projects/<project>/instances/<instance>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
func (*GetInstanceRequest) Descriptor ¶
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
func (*GetInstanceRequest) GetName ¶
func (m *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage ¶
func (*GetInstanceRequest) ProtoMessage()
func (*GetInstanceRequest) Reset ¶
func (m *GetInstanceRequest) Reset()
func (*GetInstanceRequest) String ¶
func (m *GetInstanceRequest) String() string
type GetTableRequest ¶
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
type GetTableRequest struct { // The unique name of the requested table. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The view to be applied to the returned table's fields. // Defaults to `SCHEMA_ONLY` if unspecified. View Table_View `protobuf:"varint,2,opt,name=view,enum=google.bigtable.admin.v2.Table_View" json:"view,omitempty"` }
func (*GetTableRequest) Descriptor ¶
func (*GetTableRequest) Descriptor() ([]byte, []int)
func (*GetTableRequest) GetName ¶
func (m *GetTableRequest) GetName() string
func (*GetTableRequest) GetView ¶
func (m *GetTableRequest) GetView() Table_View
func (*GetTableRequest) ProtoMessage ¶
func (*GetTableRequest) ProtoMessage()
func (*GetTableRequest) Reset ¶
func (m *GetTableRequest) Reset()
func (*GetTableRequest) String ¶
func (m *GetTableRequest) String() string
type Instance ¶
A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and the resources that serve them. All tables in an instance are served from a single [Cluster][google.bigtable.admin.v2.Cluster].
type Instance struct { // (`OutputOnly`) // The unique name of the instance. Values are of the form // `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The descriptive name for this instance as it appears in UIs. // Can be changed at any time, but should be kept globally unique // to avoid confusion. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"` // (`OutputOnly`) // The current state of the instance. State Instance_State `protobuf:"varint,3,opt,name=state,enum=google.bigtable.admin.v2.Instance_State" json:"state,omitempty"` // The type of the instance. Defaults to `PRODUCTION`. Type Instance_Type `protobuf:"varint,4,opt,name=type,enum=google.bigtable.admin.v2.Instance_Type" json:"type,omitempty"` }
func (*Instance) Descriptor ¶
func (*Instance) Descriptor() ([]byte, []int)
func (*Instance) GetDisplayName ¶
func (m *Instance) GetDisplayName() string
func (*Instance) GetName ¶
func (m *Instance) GetName() string
func (*Instance) GetState ¶
func (m *Instance) GetState() Instance_State
func (*Instance) GetType ¶
func (m *Instance) GetType() Instance_Type
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) Reset ¶
func (m *Instance) Reset()
func (*Instance) String ¶
func (m *Instance) String() string
type Instance_State ¶
Possible states of an instance.
type Instance_State int32
const ( // The state of the instance could not be determined. Instance_STATE_NOT_KNOWN Instance_State = 0 // The instance has been successfully created and can serve requests // to its tables. 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
type Instance_Type ¶
The type of the instance.
type Instance_Type int32
const ( // The type of the instance is unspecified. If set when creating an // instance, a `PRODUCTION` instance will be created. If set when updating // an instance, the type will be left unchanged. Instance_TYPE_UNSPECIFIED Instance_Type = 0 // An instance meant for production use. `serve_nodes` must be set // on the cluster. Instance_PRODUCTION Instance_Type = 1 )
func (Instance_Type) EnumDescriptor ¶
func (Instance_Type) EnumDescriptor() ([]byte, []int)
func (Instance_Type) String ¶
func (x Instance_Type) String() string
type ListClustersRequest ¶
Request message for BigtableInstanceAdmin.ListClusters.
type ListClustersRequest struct { // The unique name of the instance for which a list of clusters is requested. // Values are of the form `projects/<project>/instances/<instance>`. // Use `<instance> = '-'` to list Clusters for all Instances in a project, // e.g., `projects/myproject/instances/-`. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The value of `next_page_token` returned by a previous call. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` }
func (*ListClustersRequest) Descriptor ¶
func (*ListClustersRequest) Descriptor() ([]byte, []int)
func (*ListClustersRequest) GetPageToken ¶
func (m *ListClustersRequest) GetPageToken() string
func (*ListClustersRequest) GetParent ¶
func (m *ListClustersRequest) GetParent() string
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) Reset ¶
func (m *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (m *ListClustersRequest) String() string
type ListClustersResponse ¶
Response message for BigtableInstanceAdmin.ListClusters.
type ListClustersResponse struct { // The list of requested clusters. Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters" json:"clusters,omitempty"` // Locations from which Cluster information could not be retrieved, // due to an outage or some other transient condition. // Clusters from these locations may be missing from `clusters`, // or may only have partial information returned. FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations" json:"failed_locations,omitempty"` // Set if not all clusters could be returned in a single response. // Pass this value to `page_token` in another request to get the next // page of results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*ListClustersResponse) Descriptor ¶
func (*ListClustersResponse) Descriptor() ([]byte, []int)
func (*ListClustersResponse) GetClusters ¶
func (m *ListClustersResponse) GetClusters() []*Cluster
func (*ListClustersResponse) GetFailedLocations ¶
func (m *ListClustersResponse) GetFailedLocations() []string
func (*ListClustersResponse) GetNextPageToken ¶
func (m *ListClustersResponse) GetNextPageToken() string
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) Reset ¶
func (m *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (m *ListClustersResponse) String() string
type ListInstancesRequest ¶
Request message for BigtableInstanceAdmin.ListInstances.
type ListInstancesRequest struct { // The unique name of the project for which a list of instances is requested. // Values are of the form `projects/<project>`. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The value of `next_page_token` returned by a previous call. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` }
func (*ListInstancesRequest) Descriptor ¶
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
func (*ListInstancesRequest) GetPageToken ¶
func (m *ListInstancesRequest) GetPageToken() string
func (*ListInstancesRequest) GetParent ¶
func (m *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage ¶
func (*ListInstancesRequest) ProtoMessage()
func (*ListInstancesRequest) Reset ¶
func (m *ListInstancesRequest) Reset()
func (*ListInstancesRequest) String ¶
func (m *ListInstancesRequest) String() string
type ListInstancesResponse ¶
Response message for BigtableInstanceAdmin.ListInstances.
type ListInstancesResponse struct { // The list of requested instances. Instances []*Instance `protobuf:"bytes,1,rep,name=instances" json:"instances,omitempty"` // Locations from which Instance information could not be retrieved, // due to an outage or some other transient condition. // Instances whose Clusters are all in one of the failed locations // may be missing from `instances`, and Instances with at least one // Cluster in a failed location may only have partial information returned. FailedLocations []string `protobuf:"bytes,2,rep,name=failed_locations,json=failedLocations" json:"failed_locations,omitempty"` // Set if not all instances could be returned in a single response. // Pass this value to `page_token` in another request to get the next // page of results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*ListInstancesResponse) Descriptor ¶
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
func (*ListInstancesResponse) GetFailedLocations ¶
func (m *ListInstancesResponse) GetFailedLocations() []string
func (*ListInstancesResponse) GetInstances ¶
func (m *ListInstancesResponse) GetInstances() []*Instance
func (*ListInstancesResponse) GetNextPageToken ¶
func (m *ListInstancesResponse) GetNextPageToken() string
func (*ListInstancesResponse) ProtoMessage ¶
func (*ListInstancesResponse) ProtoMessage()
func (*ListInstancesResponse) Reset ¶
func (m *ListInstancesResponse) Reset()
func (*ListInstancesResponse) String ¶
func (m *ListInstancesResponse) String() string
type ListTablesRequest ¶
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
type ListTablesRequest struct { // The unique name of the instance for which tables should be listed. // Values are of the form `projects/<project>/instances/<instance>`. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The view to be applied to the returned tables' fields. // Defaults to `NAME_ONLY` if unspecified; no others are currently supported. View Table_View `protobuf:"varint,2,opt,name=view,enum=google.bigtable.admin.v2.Table_View" json:"view,omitempty"` // The value of `next_page_token` returned by a previous call. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"` }
func (*ListTablesRequest) Descriptor ¶
func (*ListTablesRequest) Descriptor() ([]byte, []int)
func (*ListTablesRequest) GetPageToken ¶
func (m *ListTablesRequest) GetPageToken() string
func (*ListTablesRequest) GetParent ¶
func (m *ListTablesRequest) GetParent() string
func (*ListTablesRequest) GetView ¶
func (m *ListTablesRequest) GetView() Table_View
func (*ListTablesRequest) ProtoMessage ¶
func (*ListTablesRequest) ProtoMessage()
func (*ListTablesRequest) Reset ¶
func (m *ListTablesRequest) Reset()
func (*ListTablesRequest) String ¶
func (m *ListTablesRequest) String() string
type ListTablesResponse ¶
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
type ListTablesResponse struct { // The tables present in the requested instance. Tables []*Table `protobuf:"bytes,1,rep,name=tables" json:"tables,omitempty"` // Set if not all tables could be returned in a single response. // Pass this value to `page_token` in another request to get the next // page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"` }
func (*ListTablesResponse) Descriptor ¶
func (*ListTablesResponse) Descriptor() ([]byte, []int)
func (*ListTablesResponse) GetNextPageToken ¶
func (m *ListTablesResponse) GetNextPageToken() string
func (*ListTablesResponse) GetTables ¶
func (m *ListTablesResponse) GetTables() []*Table
func (*ListTablesResponse) ProtoMessage ¶
func (*ListTablesResponse) ProtoMessage()
func (*ListTablesResponse) Reset ¶
func (m *ListTablesResponse) Reset()
func (*ListTablesResponse) String ¶
func (m *ListTablesResponse) String() string
type ModifyColumnFamiliesRequest ¶
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
type ModifyColumnFamiliesRequest struct { // The unique name of the table whose families should be modified. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Modifications to be atomically applied to the specified table's families. // Entries are applied in order, meaning that earlier modifications can be // masked by later ones (in the case of repeated updates to the same family, // for example). Modifications []*ModifyColumnFamiliesRequest_Modification `protobuf:"bytes,2,rep,name=modifications" json:"modifications,omitempty"` }
func (*ModifyColumnFamiliesRequest) Descriptor ¶
func (*ModifyColumnFamiliesRequest) Descriptor() ([]byte, []int)
func (*ModifyColumnFamiliesRequest) GetModifications ¶
func (m *ModifyColumnFamiliesRequest) GetModifications() []*ModifyColumnFamiliesRequest_Modification
func (*ModifyColumnFamiliesRequest) GetName ¶
func (m *ModifyColumnFamiliesRequest) GetName() string
func (*ModifyColumnFamiliesRequest) ProtoMessage ¶
func (*ModifyColumnFamiliesRequest) ProtoMessage()
func (*ModifyColumnFamiliesRequest) Reset ¶
func (m *ModifyColumnFamiliesRequest) Reset()
func (*ModifyColumnFamiliesRequest) String ¶
func (m *ModifyColumnFamiliesRequest) String() string
type ModifyColumnFamiliesRequest_Modification ¶
A create, update, or delete of a particular column family.
type ModifyColumnFamiliesRequest_Modification struct { // The ID of the column family to be modified. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // Column familiy modifications. // // Types that are valid to be assigned to Mod: // *ModifyColumnFamiliesRequest_Modification_Create // *ModifyColumnFamiliesRequest_Modification_Update // *ModifyColumnFamiliesRequest_Modification_Drop Mod isModifyColumnFamiliesRequest_Modification_Mod `protobuf_oneof:"mod"` }
func (*ModifyColumnFamiliesRequest_Modification) Descriptor ¶
func (*ModifyColumnFamiliesRequest_Modification) Descriptor() ([]byte, []int)
func (*ModifyColumnFamiliesRequest_Modification) GetCreate ¶
func (m *ModifyColumnFamiliesRequest_Modification) GetCreate() *ColumnFamily
func (*ModifyColumnFamiliesRequest_Modification) GetDrop ¶
func (m *ModifyColumnFamiliesRequest_Modification) GetDrop() bool
func (*ModifyColumnFamiliesRequest_Modification) GetId ¶
func (m *ModifyColumnFamiliesRequest_Modification) GetId() string
func (*ModifyColumnFamiliesRequest_Modification) GetMod ¶
func (m *ModifyColumnFamiliesRequest_Modification) GetMod() isModifyColumnFamiliesRequest_Modification_Mod
func (*ModifyColumnFamiliesRequest_Modification) GetUpdate ¶
func (m *ModifyColumnFamiliesRequest_Modification) GetUpdate() *ColumnFamily
func (*ModifyColumnFamiliesRequest_Modification) ProtoMessage ¶
func (*ModifyColumnFamiliesRequest_Modification) ProtoMessage()
func (*ModifyColumnFamiliesRequest_Modification) Reset ¶
func (m *ModifyColumnFamiliesRequest_Modification) Reset()
func (*ModifyColumnFamiliesRequest_Modification) String ¶
func (m *ModifyColumnFamiliesRequest_Modification) String() string
func (*ModifyColumnFamiliesRequest_Modification) XXX_OneofFuncs ¶
func (*ModifyColumnFamiliesRequest_Modification) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ModifyColumnFamiliesRequest_Modification_Create ¶
type ModifyColumnFamiliesRequest_Modification_Create struct { Create *ColumnFamily `protobuf:"bytes,2,opt,name=create,oneof"` }
type ModifyColumnFamiliesRequest_Modification_Drop ¶
type ModifyColumnFamiliesRequest_Modification_Drop struct { Drop bool `protobuf:"varint,4,opt,name=drop,oneof"` }
type ModifyColumnFamiliesRequest_Modification_Update ¶
type ModifyColumnFamiliesRequest_Modification_Update struct { Update *ColumnFamily `protobuf:"bytes,3,opt,name=update,oneof"` }
type StorageType ¶
Storage media types for persisting Bigtable data.
type StorageType int32
const ( // The user did not specify a storage type. StorageType_STORAGE_TYPE_UNSPECIFIED StorageType = 0 // Flash (SSD) storage should be used. StorageType_SSD StorageType = 1 // Magnetic drive (HDD) storage should be used. StorageType_HDD StorageType = 2 )
func (StorageType) EnumDescriptor ¶
func (StorageType) EnumDescriptor() ([]byte, []int)
func (StorageType) String ¶
func (x StorageType) String() string
type Table ¶
A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
type Table struct { // (`OutputOnly`) // The unique name of the table. Values are of the form // `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. // Views: `NAME_ONLY`, `SCHEMA_VIEW`, `FULL` Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // (`CreationOnly`) // The column families configured for this table, mapped by column family ID. // Views: `SCHEMA_VIEW`, `FULL` ColumnFamilies map[string]*ColumnFamily `protobuf:"bytes,3,rep,name=column_families,json=columnFamilies" json:"column_families,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // (`CreationOnly`) // The granularity (e.g. `MILLIS`, `MICROS`) at which timestamps are stored in // this table. Timestamps not matching the granularity will be rejected. // If unspecified at creation time, the value will be set to `MILLIS`. // Views: `SCHEMA_VIEW`, `FULL` Granularity Table_TimestampGranularity `protobuf:"varint,4,opt,name=granularity,enum=google.bigtable.admin.v2.Table_TimestampGranularity" json:"granularity,omitempty"` }
func (*Table) Descriptor ¶
func (*Table) Descriptor() ([]byte, []int)
func (*Table) GetColumnFamilies ¶
func (m *Table) GetColumnFamilies() map[string]*ColumnFamily
func (*Table) GetGranularity ¶
func (m *Table) GetGranularity() Table_TimestampGranularity
func (*Table) GetName ¶
func (m *Table) GetName() string
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) Reset ¶
func (m *Table) Reset()
func (*Table) String ¶
func (m *Table) String() string
type Table_TimestampGranularity ¶
Possible timestamp granularities to use when keeping multiple versions of data in a table.
type Table_TimestampGranularity int32
const ( // The user did not specify a granularity. Should not be returned. // When specified during table creation, MILLIS will be used. Table_TIMESTAMP_GRANULARITY_UNSPECIFIED Table_TimestampGranularity = 0 // The table keeps data versioned at a granularity of 1ms. Table_MILLIS Table_TimestampGranularity = 1 )
func (Table_TimestampGranularity) EnumDescriptor ¶
func (Table_TimestampGranularity) EnumDescriptor() ([]byte, []int)
func (Table_TimestampGranularity) String ¶
func (x Table_TimestampGranularity) String() string
type Table_View ¶
Defines a view over a table's fields.
type Table_View int32
const ( // Uses the default view for each method as documented in its request. Table_VIEW_UNSPECIFIED Table_View = 0 // Only populates `name`. Table_NAME_ONLY Table_View = 1 // Only populates `name` and fields related to the table's schema. Table_SCHEMA_VIEW Table_View = 2 // Populates all fields. Table_FULL Table_View = 4 )
func (Table_View) EnumDescriptor ¶
func (Table_View) EnumDescriptor() ([]byte, []int)
func (Table_View) String ¶
func (x Table_View) String() string
type UpdateClusterMetadata ¶
The metadata for the Operation returned by UpdateCluster.
type UpdateClusterMetadata struct { // The request that prompted the initiation of this UpdateCluster operation. OriginalRequest *Cluster `protobuf:"bytes,1,opt,name=original_request,json=originalRequest" json:"original_request,omitempty"` // The time at which the original request was received. RequestTime *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=request_time,json=requestTime" json:"request_time,omitempty"` // The time at which the operation failed or was completed successfully. FinishTime *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=finish_time,json=finishTime" json:"finish_time,omitempty"` }
func (*UpdateClusterMetadata) Descriptor ¶
func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)
func (*UpdateClusterMetadata) GetFinishTime ¶
func (m *UpdateClusterMetadata) GetFinishTime() *google_protobuf1.Timestamp
func (*UpdateClusterMetadata) GetOriginalRequest ¶
func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster
func (*UpdateClusterMetadata) GetRequestTime ¶
func (m *UpdateClusterMetadata) GetRequestTime() *google_protobuf1.Timestamp
func (*UpdateClusterMetadata) ProtoMessage ¶
func (*UpdateClusterMetadata) ProtoMessage()
func (*UpdateClusterMetadata) Reset ¶
func (m *UpdateClusterMetadata) Reset()
func (*UpdateClusterMetadata) String ¶
func (m *UpdateClusterMetadata) String() string