Documentation
¶
Overview ¶
Package google_bigtable_admin_v2 is a generated protocol buffer package.
It is generated from these files:
google.golang.org/cloud/bigtable/internal/table_data_proto/table.proto
It has these top-level messages:
Table ColumnFamily GcRule
Index ¶
- Variables
- type ColumnFamily
- type GcRule
- func (*GcRule) Descriptor() ([]byte, []int)
- func (m *GcRule) GetIntersection() *GcRule_Intersection
- func (m *GcRule) GetMaxAge() *google_protobuf.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 Table
- type Table_ClusterState
- type Table_ClusterState_ReplicationState
- type Table_TimestampGranularity
- type Table_View
Constants ¶
This section is empty.
Variables ¶
View Source
var Table_ClusterState_ReplicationState_name = map[int32]string{
0: "STATE_NOT_KNOWN",
1: "INITIALIZING",
2: "PLANNED_MAINTENANCE",
3: "UNPLANNED_MAINTENANCE",
4: "READY",
}
View Source
var Table_ClusterState_ReplicationState_value = map[string]int32{
"STATE_NOT_KNOWN": 0,
"INITIALIZING": 1,
"PLANNED_MAINTENANCE": 2,
"UNPLANNED_MAINTENANCE": 3,
"READY": 4,
}
View Source
var Table_TimestampGranularity_name = map[int32]string{
0: "TIMESTAMP_GRANULARITY_UNSPECIFIED",
1: "MILLIS",
}
View Source
var Table_TimestampGranularity_value = map[string]int32{
"TIMESTAMP_GRANULARITY_UNSPECIFIED": 0,
"MILLIS": 1,
}
View Source
var Table_View_name = map[int32]string{
0: "VIEW_UNSPECIFIED",
1: "NAME_ONLY",
2: "SCHEMA_VIEW",
3: "REPLICATION_VIEW",
4: "FULL",
}
View Source
var Table_View_value = map[string]int32{
"VIEW_UNSPECIFIED": 0,
"NAME_ONLY": 1,
"SCHEMA_VIEW": 2,
"REPLICATION_VIEW": 3,
"FULL": 4,
}
Functions ¶
This section is empty.
Types ¶
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 GcRule ¶
type GcRule struct { // 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_protobuf.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_protobuf.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 Table ¶
type Table struct { // 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, REPLICATION_VIEW, FULL // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // 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: REPLICATION_VIEW, FULL // @OutputOnly ClusterStates map[string]*Table_ClusterState `` /* 167-byte string literal not displayed */ // The column families configured for this table, mapped by column family ID. // Views: SCHEMA_VIEW, FULL // @CreationOnly ColumnFamilies map[string]*ColumnFamily `` /* 170-byte string literal not displayed */ // 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 // @CreationOnly 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) ProtoMessage ¶
func (*Table) ProtoMessage()
type Table_ClusterState ¶
type Table_ClusterState struct { // The state of replication for the table in this cluster. // @OutputOnly ReplicationState Table_ClusterState_ReplicationState `` /* 169-byte string literal not displayed */ }
The state of a table's data in a particular cluster.
func (*Table_ClusterState) Descriptor ¶
func (*Table_ClusterState) Descriptor() ([]byte, []int)
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
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.BigtableService] requests. Table_ClusterState_INITIALIZING Table_ClusterState_ReplicationState = 1 // The table is temporarily unable to serve // [Data API][google.bigtable.v2.BigtableService] 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.BigtableService] 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.BigtableService] 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
const ( Table_TIMESTAMP_GRANULARITY_UNSPECIFIED Table_TimestampGranularity = 0 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 // 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
Click to show internal directories.
Click to hide internal directories.