Class Instance (2.19.0)

public final class Instance

Represents an existing Cloud Bigtable instance.

A Cloud Bigtable instance is mostly just a container for your clusters and nodes, which do all of the real work.

Inheritance

Object > Instance

Static Methods

fromProto(Instance proto)

public static Instance fromProto(Instance proto)

Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.

Parameter
NameDescription
protocom.google.bigtable.admin.v2.Instance
Returns
TypeDescription
Instance

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getDisplayName()

public String getDisplayName()

Gets the instance's friendly name.

Returns
TypeDescription
String

getId()

public String getId()

Gets the instance's id.

Returns
TypeDescription
String

getLabels()

public Map<String,String> getLabels()

Gets the current labels associated with the instance. See Also: For more details

Returns
TypeDescription
Map<String,String>

getState()

public Instance.State getState()

The current state of the instance.

Returns
TypeDescription
Instance.State

getType()

public Instance.Type getType()

Gets the instance's current type. Can be DEVELOPMENT or PRODUCTION.

Returns
TypeDescription
Instance.Type

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides