public interface InstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 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.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
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()
The unique name of the instance.
|
com.google.protobuf.ByteString |
getNameBytes()
The unique name of the instance.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
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 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getNameBytes()
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 [(.google.api.field_behavior) = OUTPUT_ONLY];String getDisplayName()
Required. 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 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getDisplayNameBytes()
Required. 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 [(.google.api.field_behavior) = REQUIRED];int getStateValue()
(`OutputOnly`) The current state of the instance.
.google.bigtable.admin.v2.Instance.State state = 3;Instance.State getState()
(`OutputOnly`) The current state of the instance.
.google.bigtable.admin.v2.Instance.State state = 3;int getTypeValue()
The type of the instance. Defaults to `PRODUCTION`.
.google.bigtable.admin.v2.Instance.Type type = 4;Instance.Type getType()
The type of the instance. Defaults to `PRODUCTION`.
.google.bigtable.admin.v2.Instance.Type type = 4;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. 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;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;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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;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;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;Copyright © 2020 Google LLC. All rights reserved.