public final class Instance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOrBuilder
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].Protobuf type
google.bigtable.admin.v2.Instance| Modifier and Type | Class and Description |
|---|---|
static class |
Instance.Builder
A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
the resources that serve them.
|
static class |
Instance.State
Possible states of an instance.
|
static class |
Instance.Type
The type of the instance.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies.
|
boolean |
equals(Object obj) |
static Instance |
getDefaultInstance() |
Instance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
The descriptive name for this instance as it appears in UIs.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The descriptive name for this instance as it appears in UIs.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies.
|
Map<String,String> |
getLabelsMap()
Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies.
|
String |
getLabelsOrThrow(String key)
Labels are a flexible and lightweight mechanism for organizing cloud
resources into groups that reflect a customer's organizational needs and
deployment strategies.
|
String |
getName()
(`OutputOnly`)
The unique name of the instance.
|
com.google.protobuf.ByteString |
getNameBytes()
(`OutputOnly`)
The unique name of the instance.
|
com.google.protobuf.Parser<Instance> |
getParserForType() |
int |
getSerializedSize() |
Instance.State |
getState()
(`OutputOnly`)
The current state of the instance.
|
int |
getStateValue()
(`OutputOnly`)
The current state of the instance.
|
Instance.Type |
getType()
The type of the instance.
|
int |
getTypeValue()
The type of the instance.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Instance.Builder |
newBuilder() |
static Instance.Builder |
newBuilder(Instance prototype) |
Instance.Builder |
newBuilderForType() |
protected Instance.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Instance |
parseDelimitedFrom(InputStream input) |
static Instance |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(byte[] data) |
static Instance |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(ByteBuffer data) |
static Instance |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(com.google.protobuf.ByteString data) |
static Instance |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Instance |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Instance |
parseFrom(InputStream input) |
static Instance |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Instance> |
parser() |
Instance.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
(`OutputOnly`) The unique name of the instance. Values are of the form `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
string name = 1;getName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
(`OutputOnly`) The unique name of the instance. Values are of the form `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
string name = 1;getNameBytes in interface InstanceOrBuilderpublic String getDisplayName()
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.
string display_name = 2;getDisplayName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
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.
string display_name = 2;getDisplayNameBytes in interface InstanceOrBuilderpublic int getStateValue()
(`OutputOnly`) The current state of the instance.
.google.bigtable.admin.v2.Instance.State state = 3;getStateValue in interface InstanceOrBuilderpublic Instance.State getState()
(`OutputOnly`) The current state of the instance.
.google.bigtable.admin.v2.Instance.State state = 3;getState in interface InstanceOrBuilderpublic int getTypeValue()
The type of the instance. Defaults to `PRODUCTION`.
.google.bigtable.admin.v2.Instance.Type type = 4;getTypeValue in interface InstanceOrBuilderpublic Instance.Type getType()
The type of the instance. Defaults to `PRODUCTION`.
.google.bigtable.admin.v2.Instance.Type type = 4;getType in interface InstanceOrBuilderpublic int getLabelsCount()
InstanceOrBuilder
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.
map<string, string> labels = 5;getLabelsCount in interface InstanceOrBuilderpublic boolean containsLabels(String key)
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.
map<string, string> labels = 5;containsLabels in interface InstanceOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstanceOrBuilderpublic Map<String,String> getLabelsMap()
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.
map<string, string> labels = 5;getLabelsMap in interface InstanceOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
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.
map<string, string> labels = 5;getLabelsOrDefault in interface InstanceOrBuilderpublic String getLabelsOrThrow(String key)
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.
map<string, string> labels = 5;getLabelsOrThrow in interface InstanceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Instance parseFrom(InputStream input) throws IOException
IOExceptionpublic static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Instance.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Instance.Builder newBuilder()
public static Instance.Builder newBuilder(Instance prototype)
public Instance.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Instance getDefaultInstance()
public static com.google.protobuf.Parser<Instance> parser()
public com.google.protobuf.Parser<Instance> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 Google LLC. All rights reserved.