Documentation ¶
Overview ¶
Package admin is a generated protocol buffer package.
It is generated from these files:
google/bigtable/admin/v2/bigtable_instance_admin.proto google/bigtable/admin/v2/bigtable_table_admin.proto google/bigtable/admin/v2/common.proto google/bigtable/admin/v2/instance.proto google/bigtable/admin/v2/table.proto
It has these top-level messages:
CreateInstanceRequest GetInstanceRequest ListInstancesRequest ListInstancesResponse PartialUpdateInstanceRequest DeleteInstanceRequest CreateClusterRequest GetClusterRequest ListClustersRequest ListClustersResponse DeleteClusterRequest CreateInstanceMetadata UpdateInstanceMetadata CreateClusterMetadata UpdateClusterMetadata CreateAppProfileRequest GetAppProfileRequest ListAppProfilesRequest ListAppProfilesResponse UpdateAppProfileRequest DeleteAppProfileRequest CreateTableRequest CreateTableFromSnapshotRequest DropRowRangeRequest ListTablesRequest ListTablesResponse GetTableRequest DeleteTableRequest ModifyColumnFamiliesRequest GenerateConsistencyTokenRequest GenerateConsistencyTokenResponse CheckConsistencyRequest CheckConsistencyResponse SnapshotTableRequest GetSnapshotRequest ListSnapshotsRequest ListSnapshotsResponse DeleteSnapshotRequest SnapshotTableMetadata CreateTableFromSnapshotMetadata Instance Cluster AppProfile Table ColumnFamily GcRule Snapshot
Index ¶
- Variables
- func RegisterBigtableInstanceAdminServer(s *grpc.Server, srv BigtableInstanceAdminServer)
- func RegisterBigtableTableAdminServer(s *grpc.Server, srv BigtableTableAdminServer)
- type AppProfile
- func (*AppProfile) Descriptor() ([]byte, []int)
- func (m *AppProfile) GetDescription() string
- func (m *AppProfile) GetEtag() string
- func (m *AppProfile) GetMultiClusterRoutingUseAny() *AppProfile_MultiClusterRoutingUseAny
- func (m *AppProfile) GetName() string
- func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicy
- func (m *AppProfile) GetSingleClusterRouting() *AppProfile_SingleClusterRouting
- func (*AppProfile) ProtoMessage()
- func (m *AppProfile) Reset()
- func (m *AppProfile) String() string
- func (*AppProfile) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type AppProfile_MultiClusterRoutingUseAny
- type AppProfile_MultiClusterRoutingUseAny_
- type AppProfile_SingleClusterRouting
- func (*AppProfile_SingleClusterRouting) Descriptor() ([]byte, []int)
- func (m *AppProfile_SingleClusterRouting) GetAllowTransactionalWrites() bool
- func (m *AppProfile_SingleClusterRouting) GetClusterId() string
- func (*AppProfile_SingleClusterRouting) ProtoMessage()
- func (m *AppProfile_SingleClusterRouting) Reset()
- func (m *AppProfile_SingleClusterRouting) String() string
- type AppProfile_SingleClusterRouting_
- type BigtableInstanceAdminClient
- type BigtableInstanceAdminServer
- type BigtableTableAdminClient
- type BigtableTableAdminServer
- type CheckConsistencyRequest
- func (*CheckConsistencyRequest) Descriptor() ([]byte, []int)
- func (m *CheckConsistencyRequest) GetConsistencyToken() string
- func (m *CheckConsistencyRequest) GetName() string
- func (*CheckConsistencyRequest) ProtoMessage()
- func (m *CheckConsistencyRequest) Reset()
- func (m *CheckConsistencyRequest) String() string
- type CheckConsistencyResponse
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)
- func (m *Cluster) GetDefaultStorageType() StorageType
- func (m *Cluster) GetLocation() string
- func (m *Cluster) GetName() string
- func (m *Cluster) GetServeNodes() int32
- func (m *Cluster) GetState() Cluster_State
- func (*Cluster) ProtoMessage()
- func (m *Cluster) Reset()
- func (m *Cluster) String() string
- type Cluster_State
- type ColumnFamily
- type CreateAppProfileRequest
- func (*CreateAppProfileRequest) Descriptor() ([]byte, []int)
- func (m *CreateAppProfileRequest) GetAppProfile() *AppProfile
- func (m *CreateAppProfileRequest) GetAppProfileId() string
- func (m *CreateAppProfileRequest) GetIgnoreWarnings() bool
- func (m *CreateAppProfileRequest) GetParent() string
- func (*CreateAppProfileRequest) ProtoMessage()
- func (m *CreateAppProfileRequest) Reset()
- func (m *CreateAppProfileRequest) String() string
- type CreateClusterMetadata
- func (*CreateClusterMetadata) Descriptor() ([]byte, []int)
- func (m *CreateClusterMetadata) GetFinishTime() *google_protobuf1.Timestamp
- func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest
- func (m *CreateClusterMetadata) GetRequestTime() *google_protobuf1.Timestamp
- func (*CreateClusterMetadata) ProtoMessage()
- func (m *CreateClusterMetadata) Reset()
- func (m *CreateClusterMetadata) String() string
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)
- func (m *CreateClusterRequest) GetCluster() *Cluster
- func (m *CreateClusterRequest) GetClusterId() string
- func (m *CreateClusterRequest) GetParent() string
- func (*CreateClusterRequest) ProtoMessage()
- func (m *CreateClusterRequest) Reset()
- func (m *CreateClusterRequest) String() string
- type CreateInstanceMetadata
- func (*CreateInstanceMetadata) Descriptor() ([]byte, []int)
- func (m *CreateInstanceMetadata) GetFinishTime() *google_protobuf1.Timestamp
- func (m *CreateInstanceMetadata) GetOriginalRequest() *CreateInstanceRequest
- func (m *CreateInstanceMetadata) GetRequestTime() *google_protobuf1.Timestamp
- func (*CreateInstanceMetadata) ProtoMessage()
- func (m *CreateInstanceMetadata) Reset()
- func (m *CreateInstanceMetadata) String() string
- type CreateInstanceRequest
- func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
- func (m *CreateInstanceRequest) GetClusters() map[string]*Cluster
- func (m *CreateInstanceRequest) GetInstance() *Instance
- func (m *CreateInstanceRequest) GetInstanceId() string
- func (m *CreateInstanceRequest) GetParent() string
- func (*CreateInstanceRequest) ProtoMessage()
- func (m *CreateInstanceRequest) Reset()
- func (m *CreateInstanceRequest) String() string
- type CreateTableFromSnapshotMetadata
- func (*CreateTableFromSnapshotMetadata) Descriptor() ([]byte, []int)
- func (m *CreateTableFromSnapshotMetadata) GetFinishTime() *google_protobuf1.Timestamp
- func (m *CreateTableFromSnapshotMetadata) GetOriginalRequest() *CreateTableFromSnapshotRequest
- func (m *CreateTableFromSnapshotMetadata) GetRequestTime() *google_protobuf1.Timestamp
- func (*CreateTableFromSnapshotMetadata) ProtoMessage()
- func (m *CreateTableFromSnapshotMetadata) Reset()
- func (m *CreateTableFromSnapshotMetadata) String() string
- type CreateTableFromSnapshotRequest
- func (*CreateTableFromSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *CreateTableFromSnapshotRequest) GetParent() string
- func (m *CreateTableFromSnapshotRequest) GetSourceSnapshot() string
- func (m *CreateTableFromSnapshotRequest) GetTableId() string
- func (*CreateTableFromSnapshotRequest) ProtoMessage()
- func (m *CreateTableFromSnapshotRequest) Reset()
- func (m *CreateTableFromSnapshotRequest) String() string
- type CreateTableRequest
- func (*CreateTableRequest) Descriptor() ([]byte, []int)
- func (m *CreateTableRequest) GetInitialSplits() []*CreateTableRequest_Split
- func (m *CreateTableRequest) GetParent() string
- func (m *CreateTableRequest) GetTable() *Table
- func (m *CreateTableRequest) GetTableId() string
- func (*CreateTableRequest) ProtoMessage()
- func (m *CreateTableRequest) Reset()
- func (m *CreateTableRequest) String() string
- type CreateTableRequest_Split
- type DeleteAppProfileRequest
- func (*DeleteAppProfileRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAppProfileRequest) GetIgnoreWarnings() bool
- func (m *DeleteAppProfileRequest) GetName() string
- func (*DeleteAppProfileRequest) ProtoMessage()
- func (m *DeleteAppProfileRequest) Reset()
- func (m *DeleteAppProfileRequest) String() string
- type DeleteClusterRequest
- type DeleteInstanceRequest
- type DeleteSnapshotRequest
- type DeleteTableRequest
- type DropRowRangeRequest
- func (*DropRowRangeRequest) Descriptor() ([]byte, []int)
- func (m *DropRowRangeRequest) GetDeleteAllDataFromTable() bool
- func (m *DropRowRangeRequest) GetName() string
- func (m *DropRowRangeRequest) GetRowKeyPrefix() []byte
- func (m *DropRowRangeRequest) GetTarget() isDropRowRangeRequest_Target
- func (*DropRowRangeRequest) ProtoMessage()
- func (m *DropRowRangeRequest) Reset()
- func (m *DropRowRangeRequest) String() string
- func (*DropRowRangeRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type DropRowRangeRequest_DeleteAllDataFromTable
- type DropRowRangeRequest_RowKeyPrefix
- type GcRule
- func (*GcRule) Descriptor() ([]byte, []int)
- func (m *GcRule) GetIntersection() *GcRule_Intersection
- func (m *GcRule) GetMaxAge() *google_protobuf5.Duration
- func (m *GcRule) GetMaxNumVersions() int32
- func (m *GcRule) GetRule() isGcRule_Rule
- func (m *GcRule) GetUnion() *GcRule_Union
- func (*GcRule) ProtoMessage()
- func (m *GcRule) Reset()
- func (m *GcRule) String() string
- func (*GcRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type GcRule_Intersection
- type GcRule_Intersection_
- type GcRule_MaxAge
- type GcRule_MaxNumVersions
- type GcRule_Union
- type GcRule_Union_
- type GenerateConsistencyTokenRequest
- type GenerateConsistencyTokenResponse
- func (*GenerateConsistencyTokenResponse) Descriptor() ([]byte, []int)
- func (m *GenerateConsistencyTokenResponse) GetConsistencyToken() string
- func (*GenerateConsistencyTokenResponse) ProtoMessage()
- func (m *GenerateConsistencyTokenResponse) Reset()
- func (m *GenerateConsistencyTokenResponse) String() string
- type GetAppProfileRequest
- type GetClusterRequest
- type GetInstanceRequest
- type GetSnapshotRequest
- type GetTableRequest
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)
- func (m *Instance) GetDisplayName() string
- func (m *Instance) GetLabels() map[string]string
- func (m *Instance) GetName() string
- func (m *Instance) GetState() Instance_State
- func (m *Instance) GetType() Instance_Type
- func (*Instance) ProtoMessage()
- func (m *Instance) Reset()
- func (m *Instance) String() string
- type Instance_State
- type Instance_Type
- type ListAppProfilesRequest
- func (*ListAppProfilesRequest) Descriptor() ([]byte, []int)
- func (m *ListAppProfilesRequest) GetPageToken() string
- func (m *ListAppProfilesRequest) GetParent() string
- func (*ListAppProfilesRequest) ProtoMessage()
- func (m *ListAppProfilesRequest) Reset()
- func (m *ListAppProfilesRequest) String() string
- type ListAppProfilesResponse
- func (*ListAppProfilesResponse) Descriptor() ([]byte, []int)
- func (m *ListAppProfilesResponse) GetAppProfiles() []*AppProfile
- func (m *ListAppProfilesResponse) GetNextPageToken() string
- func (*ListAppProfilesResponse) ProtoMessage()
- func (m *ListAppProfilesResponse) Reset()
- func (m *ListAppProfilesResponse) String() string
- type ListClustersRequest
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)
- func (m *ListClustersResponse) GetClusters() []*Cluster
- func (m *ListClustersResponse) GetFailedLocations() []string
- func (m *ListClustersResponse) GetNextPageToken() string
- func (*ListClustersResponse) ProtoMessage()
- func (m *ListClustersResponse) Reset()
- func (m *ListClustersResponse) String() string
- type ListInstancesRequest
- type ListInstancesResponse
- func (*ListInstancesResponse) Descriptor() ([]byte, []int)
- func (m *ListInstancesResponse) GetFailedLocations() []string
- func (m *ListInstancesResponse) GetInstances() []*Instance
- func (m *ListInstancesResponse) GetNextPageToken() string
- func (*ListInstancesResponse) ProtoMessage()
- func (m *ListInstancesResponse) Reset()
- func (m *ListInstancesResponse) String() string
- type ListSnapshotsRequest
- func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)
- func (m *ListSnapshotsRequest) GetPageSize() int32
- func (m *ListSnapshotsRequest) GetPageToken() string
- func (m *ListSnapshotsRequest) GetParent() string
- func (*ListSnapshotsRequest) ProtoMessage()
- func (m *ListSnapshotsRequest) Reset()
- func (m *ListSnapshotsRequest) String() string
- type ListSnapshotsResponse
- func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)
- func (m *ListSnapshotsResponse) GetNextPageToken() string
- func (m *ListSnapshotsResponse) GetSnapshots() []*Snapshot
- func (*ListSnapshotsResponse) ProtoMessage()
- func (m *ListSnapshotsResponse) Reset()
- func (m *ListSnapshotsResponse) String() string
- type ListTablesRequest
- func (*ListTablesRequest) Descriptor() ([]byte, []int)
- func (m *ListTablesRequest) GetPageToken() string
- func (m *ListTablesRequest) GetParent() string
- func (m *ListTablesRequest) GetView() Table_View
- func (*ListTablesRequest) ProtoMessage()
- func (m *ListTablesRequest) Reset()
- func (m *ListTablesRequest) String() string
- type ListTablesResponse
- type ModifyColumnFamiliesRequest
- func (*ModifyColumnFamiliesRequest) Descriptor() ([]byte, []int)
- func (m *ModifyColumnFamiliesRequest) GetModifications() []*ModifyColumnFamiliesRequest_Modification
- func (m *ModifyColumnFamiliesRequest) GetName() string
- func (*ModifyColumnFamiliesRequest) ProtoMessage()
- func (m *ModifyColumnFamiliesRequest) Reset()
- func (m *ModifyColumnFamiliesRequest) String() string
- type ModifyColumnFamiliesRequest_Modification
- func (*ModifyColumnFamiliesRequest_Modification) Descriptor() ([]byte, []int)
- func (m *ModifyColumnFamiliesRequest_Modification) GetCreate() *ColumnFamily
- func (m *ModifyColumnFamiliesRequest_Modification) GetDrop() bool
- func (m *ModifyColumnFamiliesRequest_Modification) GetId() string
- func (m *ModifyColumnFamiliesRequest_Modification) GetMod() isModifyColumnFamiliesRequest_Modification_Mod
- func (m *ModifyColumnFamiliesRequest_Modification) GetUpdate() *ColumnFamily
- func (*ModifyColumnFamiliesRequest_Modification) ProtoMessage()
- func (m *ModifyColumnFamiliesRequest_Modification) Reset()
- func (m *ModifyColumnFamiliesRequest_Modification) String() string
- func (*ModifyColumnFamiliesRequest_Modification) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ModifyColumnFamiliesRequest_Modification_Create
- type ModifyColumnFamiliesRequest_Modification_Drop
- type ModifyColumnFamiliesRequest_Modification_Update
- type PartialUpdateInstanceRequest
- func (*PartialUpdateInstanceRequest) Descriptor() ([]byte, []int)
- func (m *PartialUpdateInstanceRequest) GetInstance() *Instance
- func (m *PartialUpdateInstanceRequest) GetUpdateMask() *google_protobuf4.FieldMask
- func (*PartialUpdateInstanceRequest) ProtoMessage()
- func (m *PartialUpdateInstanceRequest) Reset()
- func (m *PartialUpdateInstanceRequest) String() string
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) GetCreateTime() *google_protobuf1.Timestamp
- func (m *Snapshot) GetDataSizeBytes() int64
- func (m *Snapshot) GetDeleteTime() *google_protobuf1.Timestamp
- func (m *Snapshot) GetDescription() string
- func (m *Snapshot) GetName() string
- func (m *Snapshot) GetSourceTable() *Table
- func (m *Snapshot) GetState() Snapshot_State
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) String() string
- type SnapshotTableMetadata
- func (*SnapshotTableMetadata) Descriptor() ([]byte, []int)
- func (m *SnapshotTableMetadata) GetFinishTime() *google_protobuf1.Timestamp
- func (m *SnapshotTableMetadata) GetOriginalRequest() *SnapshotTableRequest
- func (m *SnapshotTableMetadata) GetRequestTime() *google_protobuf1.Timestamp
- func (*SnapshotTableMetadata) ProtoMessage()
- func (m *SnapshotTableMetadata) Reset()
- func (m *SnapshotTableMetadata) String() string
- type SnapshotTableRequest
- func (*SnapshotTableRequest) Descriptor() ([]byte, []int)
- func (m *SnapshotTableRequest) GetCluster() string
- func (m *SnapshotTableRequest) GetDescription() string
- func (m *SnapshotTableRequest) GetName() string
- func (m *SnapshotTableRequest) GetSnapshotId() string
- func (m *SnapshotTableRequest) GetTtl() *google_protobuf5.Duration
- func (*SnapshotTableRequest) ProtoMessage()
- func (m *SnapshotTableRequest) Reset()
- func (m *SnapshotTableRequest) String() string
- type Snapshot_State
- type StorageType
- type Table
- func (*Table) Descriptor() ([]byte, []int)
- func (m *Table) GetClusterStates() map[string]*Table_ClusterState
- func (m *Table) GetColumnFamilies() map[string]*ColumnFamily
- func (m *Table) GetGranularity() Table_TimestampGranularity
- func (m *Table) GetName() string
- func (*Table) ProtoMessage()
- func (m *Table) Reset()
- func (m *Table) String() string
- type Table_ClusterState
- type Table_ClusterState_ReplicationState
- type Table_TimestampGranularity
- type Table_View
- type UpdateAppProfileRequest
- func (*UpdateAppProfileRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAppProfileRequest) GetAppProfile() *AppProfile
- func (m *UpdateAppProfileRequest) GetIgnoreWarnings() bool
- func (m *UpdateAppProfileRequest) GetUpdateMask() *google_protobuf4.FieldMask
- func (*UpdateAppProfileRequest) ProtoMessage()
- func (m *UpdateAppProfileRequest) Reset()
- func (m *UpdateAppProfileRequest) String() string
- type UpdateClusterMetadata
- func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)
- func (m *UpdateClusterMetadata) GetFinishTime() *google_protobuf1.Timestamp
- func (m *UpdateClusterMetadata) GetOriginalRequest() *Cluster
- func (m *UpdateClusterMetadata) GetRequestTime() *google_protobuf1.Timestamp
- func (*UpdateClusterMetadata) ProtoMessage()
- func (m *UpdateClusterMetadata) Reset()
- func (m *UpdateClusterMetadata) String() string
- type UpdateInstanceMetadata
- func (*UpdateInstanceMetadata) Descriptor() ([]byte, []int)
- func (m *UpdateInstanceMetadata) GetFinishTime() *google_protobuf1.Timestamp
- func (m *UpdateInstanceMetadata) GetOriginalRequest() *PartialUpdateInstanceRequest
- func (m *UpdateInstanceMetadata) GetRequestTime() *google_protobuf1.Timestamp
- func (*UpdateInstanceMetadata) ProtoMessage()
- func (m *UpdateInstanceMetadata) Reset()
- func (m *UpdateInstanceMetadata) String() string
Constants ¶
This section is empty.
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",
2: "DEVELOPMENT",
}
var Instance_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"PRODUCTION": 1,
"DEVELOPMENT": 2,
}
var Snapshot_State_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "READY",
2: "CREATING",
}
var Snapshot_State_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"READY": 1,
"CREATING": 2,
}
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_ClusterState_ReplicationState_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "INITIALIZING",
2: "PLANNED_MAINTENANCE",
3: "UNPLANNED_MAINTENANCE",
4: "READY",
}
var Table_ClusterState_ReplicationState_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"INITIALIZING": 1,
"PLANNED_MAINTENANCE": 2,
"UNPLANNED_MAINTENANCE": 3,
"READY": 4,
}
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",
3: "REPLICATION_VIEW",
4: "FULL",
}
var Table_View_value = map[string]int32{
"VIEW_UNSPECIFIED": 0,
"NAME_ONLY": 1,
"SCHEMA_VIEW": 2,
"REPLICATION_VIEW": 3,
"FULL": 4,
}
Functions ¶
func RegisterBigtableInstanceAdminServer ¶
func RegisterBigtableInstanceAdminServer(s *grpc.Server, srv BigtableInstanceAdminServer)
func RegisterBigtableTableAdminServer ¶
func RegisterBigtableTableAdminServer(s *grpc.Server, srv BigtableTableAdminServer)
Types ¶
type AppProfile ¶
type AppProfile struct { // (`OutputOnly`) // The unique name of the app profile. Values are of the form // `projects/<project>/instances/<instance>/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // Strongly validated etag for optimistic concurrency control. Preserve the // value returned from `GetAppProfile` when calling `UpdateAppProfile` to // fail the request if there has been a modification in the mean time. The // `update_mask` of the request need not include `etag` for this protection // to apply. // See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and // [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more // details. Etag string `protobuf:"bytes,2,opt,name=etag" json:"etag,omitempty"` // Optional long form description of the use case for this AppProfile. Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"` // The routing policy for all read/write requests which use this app profile. // A value must be explicitly set. // // Types that are valid to be assigned to RoutingPolicy: // *AppProfile_MultiClusterRoutingUseAny_ // *AppProfile_SingleClusterRouting_ RoutingPolicy isAppProfile_RoutingPolicy `protobuf_oneof:"routing_policy"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.
func (*AppProfile) Descriptor ¶
func (*AppProfile) Descriptor() ([]byte, []int)
func (*AppProfile) GetDescription ¶
func (m *AppProfile) GetDescription() string
func (*AppProfile) GetEtag ¶
func (m *AppProfile) GetEtag() string
func (*AppProfile) GetMultiClusterRoutingUseAny ¶
func (m *AppProfile) GetMultiClusterRoutingUseAny() *AppProfile_MultiClusterRoutingUseAny
func (*AppProfile) GetName ¶
func (m *AppProfile) GetName() string
func (*AppProfile) GetRoutingPolicy ¶
func (m *AppProfile) GetRoutingPolicy() isAppProfile_RoutingPolicy
func (*AppProfile) GetSingleClusterRouting ¶
func (m *AppProfile) GetSingleClusterRouting() *AppProfile_SingleClusterRouting
func (*AppProfile) ProtoMessage ¶
func (*AppProfile) ProtoMessage()
func (*AppProfile) Reset ¶
func (m *AppProfile) Reset()
func (*AppProfile) String ¶
func (m *AppProfile) String() string
func (*AppProfile) XXX_OneofFuncs ¶
func (*AppProfile) 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 AppProfile_MultiClusterRoutingUseAny ¶
type AppProfile_MultiClusterRoutingUseAny struct { }
Read/write requests may be routed to any cluster in the instance, and will fail over to another cluster in the event of transient errors or delays. Choosing this option sacrifices read-your-writes consistency to improve availability.
func (*AppProfile_MultiClusterRoutingUseAny) Descriptor ¶
func (*AppProfile_MultiClusterRoutingUseAny) Descriptor() ([]byte, []int)
func (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage ¶
func (*AppProfile_MultiClusterRoutingUseAny) ProtoMessage()
func (*AppProfile_MultiClusterRoutingUseAny) Reset ¶
func (m *AppProfile_MultiClusterRoutingUseAny) Reset()
func (*AppProfile_MultiClusterRoutingUseAny) String ¶
func (m *AppProfile_MultiClusterRoutingUseAny) String() string
type AppProfile_MultiClusterRoutingUseAny_ ¶
type AppProfile_MultiClusterRoutingUseAny_ struct {
MultiClusterRoutingUseAny *AppProfile_MultiClusterRoutingUseAny `protobuf:"bytes,5,opt,name=multi_cluster_routing_use_any,json=multiClusterRoutingUseAny,oneof"`
}
type AppProfile_SingleClusterRouting ¶
type AppProfile_SingleClusterRouting struct { // The cluster to which read/write requests should be routed. ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"` // Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are // allowed by this app profile. It is unsafe to send these requests to // the same table/row/column in multiple clusters. AllowTransactionalWrites bool `` /* 129-byte string literal not displayed */ }
Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency, but does not improve availability.
func (*AppProfile_SingleClusterRouting) Descriptor ¶
func (*AppProfile_SingleClusterRouting) Descriptor() ([]byte, []int)
func (*AppProfile_SingleClusterRouting) GetAllowTransactionalWrites ¶
func (m *AppProfile_SingleClusterRouting) GetAllowTransactionalWrites() bool
func (*AppProfile_SingleClusterRouting) GetClusterId ¶
func (m *AppProfile_SingleClusterRouting) GetClusterId() string
func (*AppProfile_SingleClusterRouting) ProtoMessage ¶
func (*AppProfile_SingleClusterRouting) ProtoMessage()
func (*AppProfile_SingleClusterRouting) Reset ¶
func (m *AppProfile_SingleClusterRouting) Reset()
func (*AppProfile_SingleClusterRouting) String ¶
func (m *AppProfile_SingleClusterRouting) String() string
type AppProfile_SingleClusterRouting_ ¶
type AppProfile_SingleClusterRouting_ struct {
SingleClusterRouting *AppProfile_SingleClusterRouting `protobuf:"bytes,6,opt,name=single_cluster_routing,json=singleClusterRouting,oneof"`
}
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) // Partially updates an instance within a project. PartialUpdateInstance(ctx context.Context, in *PartialUpdateInstanceRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, 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) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Creates an app profile within an instance. CreateAppProfile(ctx context.Context, in *CreateAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Gets information about an app profile. GetAppProfile(ctx context.Context, in *GetAppProfileRequest, opts ...grpc.CallOption) (*AppProfile, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Lists information about app profiles in an instance. ListAppProfiles(ctx context.Context, in *ListAppProfilesRequest, opts ...grpc.CallOption) (*ListAppProfilesResponse, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Updates an app profile within an instance. UpdateAppProfile(ctx context.Context, in *UpdateAppProfileRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Deletes an app profile from an instance. DeleteAppProfile(ctx context.Context, in *DeleteAppProfileRequest, opts ...grpc.CallOption) (*google_protobuf3.Empty, error) // This is a private alpha release of Cloud Bigtable instance level // permissions. This feature is not currently available to most Cloud Bigtable // customers. This feature might be changed in backward-incompatible ways and // is not recommended for production use. It is not subject to any SLA or // deprecation policy. // // Gets the access control policy for an instance resource. Returns an empty // policy if an instance exists but does not have a policy set. GetIamPolicy(ctx context.Context, in *google_iam_v11.GetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) // This is a private alpha release of Cloud Bigtable instance level // permissions. This feature is not currently available to most Cloud Bigtable // customers. This feature might be changed in backward-incompatible ways and // is not recommended for production use. It is not subject to any SLA or // deprecation policy. // // Sets the access control policy on an instance resource. Replaces any // existing policy. SetIamPolicy(ctx context.Context, in *google_iam_v11.SetIamPolicyRequest, opts ...grpc.CallOption) (*google_iam_v1.Policy, error) // This is a private alpha release of Cloud Bigtable instance level // permissions. This feature is not currently available to most Cloud Bigtable // customers. This feature might be changed in backward-incompatible ways and // is not recommended for production use. It is not subject to any SLA or // deprecation policy. // // Returns permissions that the caller has on the specified instance resource. TestIamPermissions(ctx context.Context, in *google_iam_v11.TestIamPermissionsRequest, opts ...grpc.CallOption) (*google_iam_v11.TestIamPermissionsResponse, 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) // Partially updates an instance within a project. PartialUpdateInstance(context.Context, *PartialUpdateInstanceRequest) (*google_longrunning.Operation, 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) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Creates an app profile within an instance. CreateAppProfile(context.Context, *CreateAppProfileRequest) (*AppProfile, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Gets information about an app profile. GetAppProfile(context.Context, *GetAppProfileRequest) (*AppProfile, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Lists information about app profiles in an instance. ListAppProfiles(context.Context, *ListAppProfilesRequest) (*ListAppProfilesResponse, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Updates an app profile within an instance. UpdateAppProfile(context.Context, *UpdateAppProfileRequest) (*google_longrunning.Operation, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Deletes an app profile from an instance. DeleteAppProfile(context.Context, *DeleteAppProfileRequest) (*google_protobuf3.Empty, error) // This is a private alpha release of Cloud Bigtable instance level // permissions. This feature is not currently available to most Cloud Bigtable // customers. This feature might be changed in backward-incompatible ways and // is not recommended for production use. It is not subject to any SLA or // deprecation policy. // // Gets the access control policy for an instance resource. Returns an empty // policy if an instance exists but does not have a policy set. GetIamPolicy(context.Context, *google_iam_v11.GetIamPolicyRequest) (*google_iam_v1.Policy, error) // This is a private alpha release of Cloud Bigtable instance level // permissions. This feature is not currently available to most Cloud Bigtable // customers. This feature might be changed in backward-incompatible ways and // is not recommended for production use. It is not subject to any SLA or // deprecation policy. // // Sets the access control policy on an instance resource. Replaces any // existing policy. SetIamPolicy(context.Context, *google_iam_v11.SetIamPolicyRequest) (*google_iam_v1.Policy, error) // This is a private alpha release of Cloud Bigtable instance level // permissions. This feature is not currently available to most Cloud Bigtable // customers. This feature might be changed in backward-incompatible ways and // is not recommended for production use. It is not subject to any SLA or // deprecation policy. // // Returns permissions that the caller has on the specified instance resource. TestIamPermissions(context.Context, *google_iam_v11.TestIamPermissionsRequest) (*google_iam_v11.TestIamPermissionsResponse, 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) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Creates a new table from the specified snapshot. The target table must // not exist. The snapshot and the table must be in the same instance. CreateTableFromSnapshot(ctx context.Context, in *CreateTableFromSnapshotRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, 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) // Performs a series of column family modifications on the specified table. // Either all or none of the modifications will occur before this method // returns, but data requests received prior to that point may see a table // where only some modifications have taken effect. 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) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Generates a consistency token for a Table, which can be used in // CheckConsistency to check whether mutations to the table that finished // before this call started have been replicated. The tokens will be available // for 90 days. GenerateConsistencyToken(ctx context.Context, in *GenerateConsistencyTokenRequest, opts ...grpc.CallOption) (*GenerateConsistencyTokenResponse, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Checks replication consistency based on a consistency token, that is, if // replication has caught up based on the conditions specified in the token // and the check request. CheckConsistency(ctx context.Context, in *CheckConsistencyRequest, opts ...grpc.CallOption) (*CheckConsistencyResponse, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Creates a new snapshot in the specified cluster from the specified // source table. The cluster and the table must be in the same instance. SnapshotTable(ctx context.Context, in *SnapshotTableRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Gets metadata information about the specified snapshot. GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (*Snapshot, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Lists all snapshots associated with the specified cluster. ListSnapshots(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Permanently deletes the specified snapshot. DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, 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) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Creates a new table from the specified snapshot. The target table must // not exist. The snapshot and the table must be in the same instance. CreateTableFromSnapshot(context.Context, *CreateTableFromSnapshotRequest) (*google_longrunning.Operation, 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) // Performs a series of column family modifications on the specified table. // Either all or none of the modifications will occur before this method // returns, but data requests received prior to that point may see a table // where only some modifications have taken effect. 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) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Generates a consistency token for a Table, which can be used in // CheckConsistency to check whether mutations to the table that finished // before this call started have been replicated. The tokens will be available // for 90 days. GenerateConsistencyToken(context.Context, *GenerateConsistencyTokenRequest) (*GenerateConsistencyTokenResponse, error) // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Checks replication consistency based on a consistency token, that is, if // replication has caught up based on the conditions specified in the token // and the check request. CheckConsistency(context.Context, *CheckConsistencyRequest) (*CheckConsistencyResponse, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Creates a new snapshot in the specified cluster from the specified // source table. The cluster and the table must be in the same instance. SnapshotTable(context.Context, *SnapshotTableRequest) (*google_longrunning.Operation, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Gets metadata information about the specified snapshot. GetSnapshot(context.Context, *GetSnapshotRequest) (*Snapshot, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Lists all snapshots associated with the specified cluster. ListSnapshots(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error) // This is a private alpha release of Cloud Bigtable snapshots. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // Permanently deletes the specified snapshot. DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*google_protobuf3.Empty, error) }
type CheckConsistencyRequest ¶
type CheckConsistencyRequest struct { // The unique name of the Table for which to check replication consistency. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The token created using GenerateConsistencyToken for the Table. ConsistencyToken string `protobuf:"bytes,2,opt,name=consistency_token,json=consistencyToken" json:"consistency_token,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
func (*CheckConsistencyRequest) Descriptor ¶
func (*CheckConsistencyRequest) Descriptor() ([]byte, []int)
func (*CheckConsistencyRequest) GetConsistencyToken ¶
func (m *CheckConsistencyRequest) GetConsistencyToken() string
func (*CheckConsistencyRequest) GetName ¶
func (m *CheckConsistencyRequest) GetName() string
func (*CheckConsistencyRequest) ProtoMessage ¶
func (*CheckConsistencyRequest) ProtoMessage()
func (*CheckConsistencyRequest) Reset ¶
func (m *CheckConsistencyRequest) Reset()
func (*CheckConsistencyRequest) String ¶
func (m *CheckConsistencyRequest) String() string
type CheckConsistencyResponse ¶
type CheckConsistencyResponse struct { // True only if the token is consistent. A token is consistent if replication // has caught up with the restrictions specified in the request. Consistent bool `protobuf:"varint,1,opt,name=consistent" json:"consistent,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
func (*CheckConsistencyResponse) Descriptor ¶
func (*CheckConsistencyResponse) Descriptor() ([]byte, []int)
func (*CheckConsistencyResponse) GetConsistent ¶
func (m *CheckConsistencyResponse) GetConsistent() bool
func (*CheckConsistencyResponse) ProtoMessage ¶
func (*CheckConsistencyResponse) ProtoMessage()
func (*CheckConsistencyResponse) Reset ¶
func (m *CheckConsistencyResponse) Reset()
func (*CheckConsistencyResponse) String ¶
func (m *CheckConsistencyResponse) String() string
type Cluster ¶
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 `` /* 153-byte string literal not displayed */ }
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].
func (*Cluster) Descriptor ¶
func (*Cluster) GetDefaultStorageType ¶
func (m *Cluster) GetDefaultStorageType() StorageType
func (*Cluster) GetLocation ¶
func (*Cluster) GetServeNodes ¶
func (*Cluster) GetState ¶
func (m *Cluster) GetState() Cluster_State
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
type Cluster_State ¶
type Cluster_State int32
Possible states of a cluster.
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 ¶
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"` }
A set of columns within a table which share a common configuration.
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 CreateAppProfileRequest ¶
type CreateAppProfileRequest struct { // The unique name of the instance in which to create the new app profile. // 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 app profile within its // instance, e.g., just `myprofile` rather than // `projects/myproject/instances/myinstance/appProfiles/myprofile`. AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"` // The app profile to be created. // Fields marked `OutputOnly` will be ignored. AppProfile *AppProfile `protobuf:"bytes,3,opt,name=app_profile,json=appProfile" json:"app_profile,omitempty"` // If true, ignore safety checks when creating the app profile. IgnoreWarnings bool `protobuf:"varint,4,opt,name=ignore_warnings,json=ignoreWarnings" json:"ignore_warnings,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for BigtableInstanceAdmin.CreateAppProfile.
func (*CreateAppProfileRequest) Descriptor ¶
func (*CreateAppProfileRequest) Descriptor() ([]byte, []int)
func (*CreateAppProfileRequest) GetAppProfile ¶
func (m *CreateAppProfileRequest) GetAppProfile() *AppProfile
func (*CreateAppProfileRequest) GetAppProfileId ¶
func (m *CreateAppProfileRequest) GetAppProfileId() string
func (*CreateAppProfileRequest) GetIgnoreWarnings ¶
func (m *CreateAppProfileRequest) GetIgnoreWarnings() bool
func (*CreateAppProfileRequest) GetParent ¶
func (m *CreateAppProfileRequest) GetParent() string
func (*CreateAppProfileRequest) ProtoMessage ¶
func (*CreateAppProfileRequest) ProtoMessage()
func (*CreateAppProfileRequest) Reset ¶
func (m *CreateAppProfileRequest) Reset()
func (*CreateAppProfileRequest) String ¶
func (m *CreateAppProfileRequest) String() string
type CreateClusterMetadata ¶
type CreateClusterMetadata struct { // The request that prompted the initiation of this CreateCluster operation. OriginalRequest *CreateClusterRequest `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"` }
The metadata for the Operation returned by CreateCluster.
func (*CreateClusterMetadata) Descriptor ¶
func (*CreateClusterMetadata) Descriptor() ([]byte, []int)
func (*CreateClusterMetadata) GetFinishTime ¶
func (m *CreateClusterMetadata) GetFinishTime() *google_protobuf1.Timestamp
func (*CreateClusterMetadata) GetOriginalRequest ¶
func (m *CreateClusterMetadata) GetOriginalRequest() *CreateClusterRequest
func (*CreateClusterMetadata) GetRequestTime ¶
func (m *CreateClusterMetadata) GetRequestTime() *google_protobuf1.Timestamp
func (*CreateClusterMetadata) ProtoMessage ¶
func (*CreateClusterMetadata) ProtoMessage()
func (*CreateClusterMetadata) Reset ¶
func (m *CreateClusterMetadata) Reset()
func (*CreateClusterMetadata) String ¶
func (m *CreateClusterMetadata) String() string
type CreateClusterRequest ¶
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"` }
Request message for BigtableInstanceAdmin.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) 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 ¶
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"` }
The metadata for the Operation returned by CreateInstance.
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 ¶
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 `` /* 136-byte string literal not displayed */ }
Request message for BigtableInstanceAdmin.CreateInstance.
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 CreateTableFromSnapshotMetadata ¶
type CreateTableFromSnapshotMetadata struct { // The request that prompted the initiation of this CreateTableFromSnapshot // operation. OriginalRequest *CreateTableFromSnapshotRequest `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"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
The metadata for the Operation returned by CreateTableFromSnapshot.
func (*CreateTableFromSnapshotMetadata) Descriptor ¶
func (*CreateTableFromSnapshotMetadata) Descriptor() ([]byte, []int)
func (*CreateTableFromSnapshotMetadata) GetFinishTime ¶
func (m *CreateTableFromSnapshotMetadata) GetFinishTime() *google_protobuf1.Timestamp
func (*CreateTableFromSnapshotMetadata) GetOriginalRequest ¶
func (m *CreateTableFromSnapshotMetadata) GetOriginalRequest() *CreateTableFromSnapshotRequest
func (*CreateTableFromSnapshotMetadata) GetRequestTime ¶
func (m *CreateTableFromSnapshotMetadata) GetRequestTime() *google_protobuf1.Timestamp
func (*CreateTableFromSnapshotMetadata) ProtoMessage ¶
func (*CreateTableFromSnapshotMetadata) ProtoMessage()
func (*CreateTableFromSnapshotMetadata) Reset ¶
func (m *CreateTableFromSnapshotMetadata) Reset()
func (*CreateTableFromSnapshotMetadata) String ¶
func (m *CreateTableFromSnapshotMetadata) String() string
type CreateTableFromSnapshotRequest ¶
type CreateTableFromSnapshotRequest 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 unique name of the snapshot from which to restore the table. The // snapshot and the table must be in the same instance. // Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. SourceSnapshot string `protobuf:"bytes,3,opt,name=source_snapshot,json=sourceSnapshot" json:"source_snapshot,omitempty"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
func (*CreateTableFromSnapshotRequest) Descriptor ¶
func (*CreateTableFromSnapshotRequest) Descriptor() ([]byte, []int)
func (*CreateTableFromSnapshotRequest) GetParent ¶
func (m *CreateTableFromSnapshotRequest) GetParent() string
func (*CreateTableFromSnapshotRequest) GetSourceSnapshot ¶
func (m *CreateTableFromSnapshotRequest) GetSourceSnapshot() string
func (*CreateTableFromSnapshotRequest) GetTableId ¶
func (m *CreateTableFromSnapshotRequest) GetTableId() string
func (*CreateTableFromSnapshotRequest) ProtoMessage ¶
func (*CreateTableFromSnapshotRequest) ProtoMessage()
func (*CreateTableFromSnapshotRequest) Reset ¶
func (m *CreateTableFromSnapshotRequest) Reset()
func (*CreateTableFromSnapshotRequest) String ¶
func (m *CreateTableFromSnapshotRequest) String() string
type CreateTableRequest ¶
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"` }
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
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 ¶
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"` }
An initial split point for a newly created table.
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 DeleteAppProfileRequest ¶
type DeleteAppProfileRequest struct { // The unique name of the app profile to be deleted. Values are of the form // `projects/<project>/instances/<instance>/appProfiles/<app_profile>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // If true, ignore safety checks when deleting the app profile. IgnoreWarnings bool `protobuf:"varint,2,opt,name=ignore_warnings,json=ignoreWarnings" json:"ignore_warnings,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for BigtableInstanceAdmin.DeleteAppProfile.
func (*DeleteAppProfileRequest) Descriptor ¶
func (*DeleteAppProfileRequest) Descriptor() ([]byte, []int)
func (*DeleteAppProfileRequest) GetIgnoreWarnings ¶
func (m *DeleteAppProfileRequest) GetIgnoreWarnings() bool
func (*DeleteAppProfileRequest) GetName ¶
func (m *DeleteAppProfileRequest) GetName() string
func (*DeleteAppProfileRequest) ProtoMessage ¶
func (*DeleteAppProfileRequest) ProtoMessage()
func (*DeleteAppProfileRequest) Reset ¶
func (m *DeleteAppProfileRequest) Reset()
func (*DeleteAppProfileRequest) String ¶
func (m *DeleteAppProfileRequest) String() string
type DeleteClusterRequest ¶
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"` }
Request message for BigtableInstanceAdmin.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
type DeleteInstanceRequest ¶
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"` }
Request message for BigtableInstanceAdmin.DeleteInstance.
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 DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { // The unique name of the snapshot to be deleted. // Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
func (*DeleteSnapshotRequest) Descriptor ¶
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)
func (*DeleteSnapshotRequest) GetName ¶
func (m *DeleteSnapshotRequest) GetName() string
func (*DeleteSnapshotRequest) ProtoMessage ¶
func (*DeleteSnapshotRequest) ProtoMessage()
func (*DeleteSnapshotRequest) Reset ¶
func (m *DeleteSnapshotRequest) Reset()
func (*DeleteSnapshotRequest) String ¶
func (m *DeleteSnapshotRequest) String() string
type DeleteTableRequest ¶
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"` }
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
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 ¶
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"` }
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
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 ¶
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"` }
Rule for determining which cells to delete during garbage collection.
func (*GcRule) Descriptor ¶
func (*GcRule) GetIntersection ¶
func (m *GcRule) GetIntersection() *GcRule_Intersection
func (*GcRule) GetMaxAge ¶
func (m *GcRule) GetMaxAge() *google_protobuf5.Duration
func (*GcRule) GetMaxNumVersions ¶
func (*GcRule) GetUnion ¶
func (m *GcRule) GetUnion() *GcRule_Union
func (*GcRule) ProtoMessage ¶
func (*GcRule) ProtoMessage()
type GcRule_Intersection ¶
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"` }
A GcRule which deletes cells matching all of the given rules.
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_protobuf5.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 ¶
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"` }
A GcRule which deletes cells matching any of the given rules.
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 GenerateConsistencyTokenRequest ¶
type GenerateConsistencyTokenRequest struct { // The unique name of the Table for which to create a consistency token. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
func (*GenerateConsistencyTokenRequest) Descriptor ¶
func (*GenerateConsistencyTokenRequest) Descriptor() ([]byte, []int)
func (*GenerateConsistencyTokenRequest) GetName ¶
func (m *GenerateConsistencyTokenRequest) GetName() string
func (*GenerateConsistencyTokenRequest) ProtoMessage ¶
func (*GenerateConsistencyTokenRequest) ProtoMessage()
func (*GenerateConsistencyTokenRequest) Reset ¶
func (m *GenerateConsistencyTokenRequest) Reset()
func (*GenerateConsistencyTokenRequest) String ¶
func (m *GenerateConsistencyTokenRequest) String() string
type GenerateConsistencyTokenResponse ¶
type GenerateConsistencyTokenResponse struct { // The generated consistency token. ConsistencyToken string `protobuf:"bytes,1,opt,name=consistency_token,json=consistencyToken" json:"consistency_token,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
func (*GenerateConsistencyTokenResponse) Descriptor ¶
func (*GenerateConsistencyTokenResponse) Descriptor() ([]byte, []int)
func (*GenerateConsistencyTokenResponse) GetConsistencyToken ¶
func (m *GenerateConsistencyTokenResponse) GetConsistencyToken() string
func (*GenerateConsistencyTokenResponse) ProtoMessage ¶
func (*GenerateConsistencyTokenResponse) ProtoMessage()
func (*GenerateConsistencyTokenResponse) Reset ¶
func (m *GenerateConsistencyTokenResponse) Reset()
func (*GenerateConsistencyTokenResponse) String ¶
func (m *GenerateConsistencyTokenResponse) String() string
type GetAppProfileRequest ¶
type GetAppProfileRequest struct { // The unique name of the requested app profile. Values are of the form // `projects/<project>/instances/<instance>/appProfiles/<app_profile>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for BigtableInstanceAdmin.GetAppProfile.
func (*GetAppProfileRequest) Descriptor ¶
func (*GetAppProfileRequest) Descriptor() ([]byte, []int)
func (*GetAppProfileRequest) GetName ¶
func (m *GetAppProfileRequest) GetName() string
func (*GetAppProfileRequest) ProtoMessage ¶
func (*GetAppProfileRequest) ProtoMessage()
func (*GetAppProfileRequest) Reset ¶
func (m *GetAppProfileRequest) Reset()
func (*GetAppProfileRequest) String ¶
func (m *GetAppProfileRequest) String() string
type GetClusterRequest ¶
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"` }
Request message for BigtableInstanceAdmin.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
type GetInstanceRequest ¶
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"` }
Request message for BigtableInstanceAdmin.GetInstance.
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 GetSnapshotRequest ¶
type GetSnapshotRequest struct { // The unique name of the requested snapshot. // Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
func (*GetSnapshotRequest) Descriptor ¶
func (*GetSnapshotRequest) Descriptor() ([]byte, []int)
func (*GetSnapshotRequest) GetName ¶
func (m *GetSnapshotRequest) GetName() string
func (*GetSnapshotRequest) ProtoMessage ¶
func (*GetSnapshotRequest) ProtoMessage()
func (*GetSnapshotRequest) Reset ¶
func (m *GetSnapshotRequest) Reset()
func (*GetSnapshotRequest) String ¶
func (m *GetSnapshotRequest) String() string
type GetTableRequest ¶
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_VIEW` if unspecified. View Table_View `protobuf:"varint,2,opt,name=view,enum=google.bigtable.admin.v2.Table_View" json:"view,omitempty"` }
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
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 ¶
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"` // Labels are a flexible and lightweight mechanism for organizing cloud // resources into groups that reflect a customer's organizational needs and // deployment strategies. They can be used to filter resources and aggregate // metrics. // // * Label keys must be between 1 and 63 characters long and must conform to // the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`. // * Label values must be between 0 and 63 characters long and must conform to // the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`. // * No more than 64 labels can be associated with a given resource. // * Keys and values must both be under 128 bytes. Labels map[string]string `` /* 132-byte string literal not displayed */ }
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].
func (*Instance) Descriptor ¶
func (*Instance) GetDisplayName ¶
func (*Instance) GetState ¶
func (m *Instance) GetState() Instance_State
func (*Instance) GetType ¶
func (m *Instance) GetType() Instance_Type
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
type Instance_State ¶
type Instance_State int32
Possible states of an instance.
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 ¶
type Instance_Type int32
The type of the instance.
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 // The instance is meant for development and testing purposes only; it has // no performance or uptime guarantees and is not covered by SLA. // After a development instance is created, it can be upgraded by // updating the instance to type `PRODUCTION`. An instance created // as a production instance cannot be changed to a development instance. // When creating a development instance, `serve_nodes` on the cluster must // not be set. Instance_DEVELOPMENT Instance_Type = 2 )
func (Instance_Type) EnumDescriptor ¶
func (Instance_Type) EnumDescriptor() ([]byte, []int)
func (Instance_Type) String ¶
func (x Instance_Type) String() string
type ListAppProfilesRequest ¶
type ListAppProfilesRequest struct { // The unique name of the instance for which a list of app profiles is // requested. Values are of the form // `projects/<project>/instances/<instance>`. 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"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for BigtableInstanceAdmin.ListAppProfiles.
func (*ListAppProfilesRequest) Descriptor ¶
func (*ListAppProfilesRequest) Descriptor() ([]byte, []int)
func (*ListAppProfilesRequest) GetPageToken ¶
func (m *ListAppProfilesRequest) GetPageToken() string
func (*ListAppProfilesRequest) GetParent ¶
func (m *ListAppProfilesRequest) GetParent() string
func (*ListAppProfilesRequest) ProtoMessage ¶
func (*ListAppProfilesRequest) ProtoMessage()
func (*ListAppProfilesRequest) Reset ¶
func (m *ListAppProfilesRequest) Reset()
func (*ListAppProfilesRequest) String ¶
func (m *ListAppProfilesRequest) String() string
type ListAppProfilesResponse ¶
type ListAppProfilesResponse struct { // The list of requested app profiles. AppProfiles []*AppProfile `protobuf:"bytes,1,rep,name=app_profiles,json=appProfiles" json:"app_profiles,omitempty"` // Set if not all app profiles 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"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Response message for BigtableInstanceAdmin.ListAppProfiles.
func (*ListAppProfilesResponse) Descriptor ¶
func (*ListAppProfilesResponse) Descriptor() ([]byte, []int)
func (*ListAppProfilesResponse) GetAppProfiles ¶
func (m *ListAppProfilesResponse) GetAppProfiles() []*AppProfile
func (*ListAppProfilesResponse) GetNextPageToken ¶
func (m *ListAppProfilesResponse) GetNextPageToken() string
func (*ListAppProfilesResponse) ProtoMessage ¶
func (*ListAppProfilesResponse) ProtoMessage()
func (*ListAppProfilesResponse) Reset ¶
func (m *ListAppProfilesResponse) Reset()
func (*ListAppProfilesResponse) String ¶
func (m *ListAppProfilesResponse) String() string
type ListClustersRequest ¶
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"` }
Request message for BigtableInstanceAdmin.ListClusters.
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 ¶
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"` }
Response message for BigtableInstanceAdmin.ListClusters.
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 ¶
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"` }
Request message for BigtableInstanceAdmin.ListInstances.
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 ¶
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"` }
Response message for BigtableInstanceAdmin.ListInstances.
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 ListSnapshotsRequest ¶
type ListSnapshotsRequest struct { // The unique name of the cluster for which snapshots should be listed. // Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>`. // Use `<cluster> = '-'` to list snapshots for all clusters in an instance, // e.g., `projects/<project>/instances/<instance>/clusters/-`. Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"` // The maximum number of snapshots to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size,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"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
func (*ListSnapshotsRequest) Descriptor ¶
func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)
func (*ListSnapshotsRequest) GetPageSize ¶
func (m *ListSnapshotsRequest) GetPageSize() int32
func (*ListSnapshotsRequest) GetPageToken ¶
func (m *ListSnapshotsRequest) GetPageToken() string
func (*ListSnapshotsRequest) GetParent ¶
func (m *ListSnapshotsRequest) GetParent() string
func (*ListSnapshotsRequest) ProtoMessage ¶
func (*ListSnapshotsRequest) ProtoMessage()
func (*ListSnapshotsRequest) Reset ¶
func (m *ListSnapshotsRequest) Reset()
func (*ListSnapshotsRequest) String ¶
func (m *ListSnapshotsRequest) String() string
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct { // The snapshots present in the requested cluster. Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots" json:"snapshots,omitempty"` // Set if not all snapshots 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"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
func (*ListSnapshotsResponse) Descriptor ¶
func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)
func (*ListSnapshotsResponse) GetNextPageToken ¶
func (m *ListSnapshotsResponse) GetNextPageToken() string
func (*ListSnapshotsResponse) GetSnapshots ¶
func (m *ListSnapshotsResponse) GetSnapshots() []*Snapshot
func (*ListSnapshotsResponse) ProtoMessage ¶
func (*ListSnapshotsResponse) ProtoMessage()
func (*ListSnapshotsResponse) Reset ¶
func (m *ListSnapshotsResponse) Reset()
func (*ListSnapshotsResponse) String ¶
func (m *ListSnapshotsResponse) String() string
type ListTablesRequest ¶
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"` }
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
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 ¶
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"` }
Response message for [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
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 ¶
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"` }
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
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 ¶
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"` }
A create, update, or delete of a particular column family.
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 PartialUpdateInstanceRequest ¶
type PartialUpdateInstanceRequest struct { // The Instance which will (partially) replace the current value. Instance *Instance `protobuf:"bytes,1,opt,name=instance" json:"instance,omitempty"` // The subset of Instance fields which should be replaced. // Must be explicitly set. UpdateMask *google_protobuf4.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` }
Request message for BigtableInstanceAdmin.PartialUpdateInstance.
func (*PartialUpdateInstanceRequest) Descriptor ¶
func (*PartialUpdateInstanceRequest) Descriptor() ([]byte, []int)
func (*PartialUpdateInstanceRequest) GetInstance ¶
func (m *PartialUpdateInstanceRequest) GetInstance() *Instance
func (*PartialUpdateInstanceRequest) GetUpdateMask ¶
func (m *PartialUpdateInstanceRequest) GetUpdateMask() *google_protobuf4.FieldMask
func (*PartialUpdateInstanceRequest) ProtoMessage ¶
func (*PartialUpdateInstanceRequest) ProtoMessage()
func (*PartialUpdateInstanceRequest) Reset ¶
func (m *PartialUpdateInstanceRequest) Reset()
func (*PartialUpdateInstanceRequest) String ¶
func (m *PartialUpdateInstanceRequest) String() string
type Snapshot ¶
type Snapshot struct { // (`OutputOnly`) // The unique name of the snapshot. // Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // (`OutputOnly`) // The source table at the time the snapshot was taken. SourceTable *Table `protobuf:"bytes,2,opt,name=source_table,json=sourceTable" json:"source_table,omitempty"` // (`OutputOnly`) // The size of the data in the source table at the time the snapshot was // taken. In some cases, this value may be computed asynchronously via a // background process and a placeholder of 0 will be used in the meantime. DataSizeBytes int64 `protobuf:"varint,3,opt,name=data_size_bytes,json=dataSizeBytes" json:"data_size_bytes,omitempty"` // (`OutputOnly`) // The time when the snapshot is created. CreateTime *google_protobuf1.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime" json:"create_time,omitempty"` // (`OutputOnly`) // The time when the snapshot will be deleted. The maximum amount of time a // snapshot can stay active is 365 days. If 'ttl' is not specified, // the default maximum of 365 days will be used. DeleteTime *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime" json:"delete_time,omitempty"` // (`OutputOnly`) // The current state of the snapshot. State Snapshot_State `protobuf:"varint,6,opt,name=state,enum=google.bigtable.admin.v2.Snapshot_State" json:"state,omitempty"` // (`OutputOnly`) // Description of the snapshot. Description string `protobuf:"bytes,7,opt,name=description" json:"description,omitempty"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
A snapshot of a table at a particular time. A snapshot can be used as a checkpoint for data restoration or a data source for a new table.
func (*Snapshot) Descriptor ¶
func (*Snapshot) GetCreateTime ¶
func (m *Snapshot) GetCreateTime() *google_protobuf1.Timestamp
func (*Snapshot) GetDataSizeBytes ¶
func (*Snapshot) GetDeleteTime ¶
func (m *Snapshot) GetDeleteTime() *google_protobuf1.Timestamp
func (*Snapshot) GetDescription ¶
func (*Snapshot) GetSourceTable ¶
func (*Snapshot) GetState ¶
func (m *Snapshot) GetState() Snapshot_State
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
type SnapshotTableMetadata ¶
type SnapshotTableMetadata struct { // The request that prompted the initiation of this SnapshotTable operation. OriginalRequest *SnapshotTableRequest `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"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
The metadata for the Operation returned by SnapshotTable.
func (*SnapshotTableMetadata) Descriptor ¶
func (*SnapshotTableMetadata) Descriptor() ([]byte, []int)
func (*SnapshotTableMetadata) GetFinishTime ¶
func (m *SnapshotTableMetadata) GetFinishTime() *google_protobuf1.Timestamp
func (*SnapshotTableMetadata) GetOriginalRequest ¶
func (m *SnapshotTableMetadata) GetOriginalRequest() *SnapshotTableRequest
func (*SnapshotTableMetadata) GetRequestTime ¶
func (m *SnapshotTableMetadata) GetRequestTime() *google_protobuf1.Timestamp
func (*SnapshotTableMetadata) ProtoMessage ¶
func (*SnapshotTableMetadata) ProtoMessage()
func (*SnapshotTableMetadata) Reset ¶
func (m *SnapshotTableMetadata) Reset()
func (*SnapshotTableMetadata) String ¶
func (m *SnapshotTableMetadata) String() string
type SnapshotTableRequest ¶
type SnapshotTableRequest struct { // The unique name of the table to have the snapshot taken. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // The name of the cluster where the snapshot will be created in. // Values are of the form // `projects/<project>/instances/<instance>/clusters/<cluster>`. Cluster string `protobuf:"bytes,2,opt,name=cluster" json:"cluster,omitempty"` // The ID by which the new snapshot should be referred to within the parent // cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` // rather than // `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`. SnapshotId string `protobuf:"bytes,3,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"` // The amount of time that the new snapshot can stay active after it is // created. Once 'ttl' expires, the snapshot will get deleted. The maximum // amount of time a snapshot can stay active is 7 days. If 'ttl' is not // specified, the default value of 24 hours will be used. Ttl *google_protobuf5.Duration `protobuf:"bytes,4,opt,name=ttl" json:"ttl,omitempty"` // Description of the snapshot. Description string `protobuf:"bytes,5,opt,name=description" json:"description,omitempty"` }
This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
func (*SnapshotTableRequest) Descriptor ¶
func (*SnapshotTableRequest) Descriptor() ([]byte, []int)
func (*SnapshotTableRequest) GetCluster ¶
func (m *SnapshotTableRequest) GetCluster() string
func (*SnapshotTableRequest) GetDescription ¶
func (m *SnapshotTableRequest) GetDescription() string
func (*SnapshotTableRequest) GetName ¶
func (m *SnapshotTableRequest) GetName() string
func (*SnapshotTableRequest) GetSnapshotId ¶
func (m *SnapshotTableRequest) GetSnapshotId() string
func (*SnapshotTableRequest) GetTtl ¶
func (m *SnapshotTableRequest) GetTtl() *google_protobuf5.Duration
func (*SnapshotTableRequest) ProtoMessage ¶
func (*SnapshotTableRequest) ProtoMessage()
func (*SnapshotTableRequest) Reset ¶
func (m *SnapshotTableRequest) Reset()
func (*SnapshotTableRequest) String ¶
func (m *SnapshotTableRequest) String() string
type Snapshot_State ¶
type Snapshot_State int32
Possible states of a snapshot.
const ( // The state of the snapshot could not be determined. Snapshot_STATE_NOT_KNOWN Snapshot_State = 0 // The snapshot has been successfully created and can serve all requests. Snapshot_READY Snapshot_State = 1 // The snapshot is currently being created, and may be destroyed if the // creation process encounters an error. A snapshot may not be restored to a // table while it is being created. Snapshot_CREATING Snapshot_State = 2 )
func (Snapshot_State) EnumDescriptor ¶
func (Snapshot_State) EnumDescriptor() ([]byte, []int)
func (Snapshot_State) String ¶
func (x Snapshot_State) String() string
type StorageType ¶
type StorageType int32
Storage media types for persisting Bigtable data.
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 ¶
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"` // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // (`OutputOnly`) // Map from cluster ID to per-cluster table state. // If it could not be determined whether or not the table has data in a // particular cluster (for example, if its zone is unavailable), then // there will be an entry for the cluster with UNKNOWN `replication_status`. // Views: `FULL` ClusterStates map[string]*Table_ClusterState `` /* 167-byte string literal not displayed */ // (`CreationOnly`) // The column families configured for this table, mapped by column family ID. // Views: `SCHEMA_VIEW`, `FULL` ColumnFamilies map[string]*ColumnFamily `` /* 170-byte string literal not displayed */ // (`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 `` /* 126-byte string literal not displayed */ }
A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
func (*Table) Descriptor ¶
func (*Table) GetClusterStates ¶
func (m *Table) GetClusterStates() map[string]*Table_ClusterState
func (*Table) GetColumnFamilies ¶
func (m *Table) GetColumnFamilies() map[string]*ColumnFamily
func (*Table) GetGranularity ¶
func (m *Table) GetGranularity() Table_TimestampGranularity
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
type Table_ClusterState ¶
type Table_ClusterState struct { // (`OutputOnly`) // The state of replication for the table in this cluster. ReplicationState Table_ClusterState_ReplicationState `` /* 169-byte string literal not displayed */ }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
The state of a table's data in a particular cluster.
func (*Table_ClusterState) Descriptor ¶
func (*Table_ClusterState) Descriptor() ([]byte, []int)
func (*Table_ClusterState) GetReplicationState ¶
func (m *Table_ClusterState) GetReplicationState() Table_ClusterState_ReplicationState
func (*Table_ClusterState) ProtoMessage ¶
func (*Table_ClusterState) ProtoMessage()
func (*Table_ClusterState) Reset ¶
func (m *Table_ClusterState) Reset()
func (*Table_ClusterState) String ¶
func (m *Table_ClusterState) String() string
type Table_ClusterState_ReplicationState ¶
type Table_ClusterState_ReplicationState int32
Table replication states.
const ( // The replication state of the table is unknown in this cluster. Table_ClusterState_STATE_NOT_KNOWN Table_ClusterState_ReplicationState = 0 // The cluster was recently created, and the table must finish copying // over pre-existing data from other clusters before it can begin // receiving live replication updates and serving // [Data API][google.bigtable.v2.Bigtable] requests. Table_ClusterState_INITIALIZING Table_ClusterState_ReplicationState = 1 // The table is temporarily unable to serve // [Data API][google.bigtable.v2.Bigtable] requests from this // cluster due to planned internal maintenance. Table_ClusterState_PLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 2 // The table is temporarily unable to serve // [Data API][google.bigtable.v2.Bigtable] requests from this // cluster due to unplanned or emergency maintenance. Table_ClusterState_UNPLANNED_MAINTENANCE Table_ClusterState_ReplicationState = 3 // The table can serve // [Data API][google.bigtable.v2.Bigtable] requests from this // cluster. Depending on replication delay, reads may not immediately // reflect the state of the table in other clusters. Table_ClusterState_READY Table_ClusterState_ReplicationState = 4 )
func (Table_ClusterState_ReplicationState) EnumDescriptor ¶
func (Table_ClusterState_ReplicationState) EnumDescriptor() ([]byte, []int)
func (Table_ClusterState_ReplicationState) String ¶
func (x Table_ClusterState_ReplicationState) String() string
type Table_TimestampGranularity ¶
type Table_TimestampGranularity int32
Possible timestamp granularities to use when keeping multiple versions of data in a table.
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 ¶
type Table_View int32
Defines a view over a table's fields.
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 // This is a private alpha release of Cloud Bigtable replication. This // feature is not currently available to most Cloud Bigtable customers. This // feature might be changed in backward-incompatible ways and is not // recommended for production use. It is not subject to any SLA or // deprecation policy. // // Only populates `name` and fields related to the table's // replication state. Table_REPLICATION_VIEW Table_View = 3 // 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 UpdateAppProfileRequest ¶
type UpdateAppProfileRequest struct { // The app profile which will (partially) replace the current value. AppProfile *AppProfile `protobuf:"bytes,1,opt,name=app_profile,json=appProfile" json:"app_profile,omitempty"` // The subset of app profile fields which should be replaced. // If unset, all fields will be replaced. UpdateMask *google_protobuf4.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"` // If true, ignore safety checks when updating the app profile. IgnoreWarnings bool `protobuf:"varint,3,opt,name=ignore_warnings,json=ignoreWarnings" json:"ignore_warnings,omitempty"` }
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Request message for BigtableInstanceAdmin.UpdateAppProfile.
func (*UpdateAppProfileRequest) Descriptor ¶
func (*UpdateAppProfileRequest) Descriptor() ([]byte, []int)
func (*UpdateAppProfileRequest) GetAppProfile ¶
func (m *UpdateAppProfileRequest) GetAppProfile() *AppProfile
func (*UpdateAppProfileRequest) GetIgnoreWarnings ¶
func (m *UpdateAppProfileRequest) GetIgnoreWarnings() bool
func (*UpdateAppProfileRequest) GetUpdateMask ¶
func (m *UpdateAppProfileRequest) GetUpdateMask() *google_protobuf4.FieldMask
func (*UpdateAppProfileRequest) ProtoMessage ¶
func (*UpdateAppProfileRequest) ProtoMessage()
func (*UpdateAppProfileRequest) Reset ¶
func (m *UpdateAppProfileRequest) Reset()
func (*UpdateAppProfileRequest) String ¶
func (m *UpdateAppProfileRequest) String() string
type UpdateClusterMetadata ¶
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"` }
The metadata for the Operation returned by UpdateCluster.
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
type UpdateInstanceMetadata ¶
type UpdateInstanceMetadata struct { // The request that prompted the initiation of this UpdateInstance operation. OriginalRequest *PartialUpdateInstanceRequest `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"` }
The metadata for the Operation returned by UpdateInstance.
func (*UpdateInstanceMetadata) Descriptor ¶
func (*UpdateInstanceMetadata) Descriptor() ([]byte, []int)
func (*UpdateInstanceMetadata) GetFinishTime ¶
func (m *UpdateInstanceMetadata) GetFinishTime() *google_protobuf1.Timestamp
func (*UpdateInstanceMetadata) GetOriginalRequest ¶
func (m *UpdateInstanceMetadata) GetOriginalRequest() *PartialUpdateInstanceRequest
func (*UpdateInstanceMetadata) GetRequestTime ¶
func (m *UpdateInstanceMetadata) GetRequestTime() *google_protobuf1.Timestamp
func (*UpdateInstanceMetadata) ProtoMessage ¶
func (*UpdateInstanceMetadata) ProtoMessage()
func (*UpdateInstanceMetadata) Reset ¶
func (m *UpdateInstanceMetadata) Reset()
func (*UpdateInstanceMetadata) String ¶
func (m *UpdateInstanceMetadata) String() string