Package namespace.cloud.compute.v1beta
Interface Compute.InstanceMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Compute.InstanceMetadata,Compute.InstanceMetadata.Builder
- Enclosing class:
Compute
public static interface Compute.InstanceMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe timestamp of when the instance was created (in UTC).com.google.protobuf.TimestampOrBuilderThe timestamp of when the instance was created (in UTC).If the used authorization token has a `creator_id`, it is retained for debugging purposes.com.google.protobuf.ByteStringIf the used authorization token has a `creator_id`, it is retained for debugging purposes.com.google.protobuf.TimestampThe computed deadline of the instance (in UTC).com.google.protobuf.TimestampOrBuilderThe computed deadline of the instance (in UTC).com.google.protobuf.TimestampThe timestamp of when the instance was destroyed (in UTC).com.google.protobuf.TimestampOrBuilderThe timestamp of when the instance was destroyed (in UTC).The user specified documented purpose.com.google.protobuf.ByteStringThe user specified documented purpose.Information related to where the instance is running, or ran, including geography, and hw platform.Information related to where the instance is running, or ran, including geography, and hw platform.The region-specific base ingress domain used to back created ingresses.com.google.protobuf.ByteStringThe region-specific base ingress domain used to back created ingresses.The ID of the instance created.com.google.protobuf.ByteStringThe ID of the instance created.getLabels(int index) The user specified instance labels.intThe user specified instance labels.The user specified instance labels.getLabelsOrBuilder(int index) The user specified instance labels.List<? extends Labels.LabelOrBuilder> The user specified instance labels.com.google.protobuf.TimestampThe timestamp of when the instance became ready/running (in UTC).com.google.protobuf.TimestampOrBuilderThe timestamp of when the instance became ready/running (in UTC).getServices(int index) Maintain state of each of the exported system services in this instance.intMaintain state of each of the exported system services in this instance.Maintain state of each of the exported system services in this instance.getServicesOrBuilder(int index) Maintain state of each of the exported system services in this instance.List<? extends Compute.InstanceMetadata.ServiceOrBuilder> Maintain state of each of the exported system services in this instance.getShape()The user specified instance shape (cpu, memory, disk).The user specified instance shape (cpu, memory, disk).The status the instance is in.intThe status the instance is in.booleanThe timestamp of when the instance was created (in UTC).booleanThe computed deadline of the instance (in UTC).booleanThe timestamp of when the instance was destroyed (in UTC).booleanInformation related to where the instance is running, or ran, including geography, and hw platform.booleanThe timestamp of when the instance became ready/running (in UTC).booleanhasShape()The user specified instance shape (cpu, memory, disk).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInstanceId
String getInstanceId()The ID of the instance created.
string instance_id = 1;- Returns:
- The instanceId.
-
getInstanceIdBytes
com.google.protobuf.ByteString getInstanceIdBytes()The ID of the instance created.
string instance_id = 1;- Returns:
- The bytes for instanceId.
-
hasCreatedAt
boolean hasCreatedAt()The timestamp of when the instance was created (in UTC).
.google.protobuf.Timestamp created_at = 2;- Returns:
- Whether the createdAt field is set.
-
getCreatedAt
com.google.protobuf.Timestamp getCreatedAt()The timestamp of when the instance was created (in UTC).
.google.protobuf.Timestamp created_at = 2;- Returns:
- The createdAt.
-
getCreatedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder()The timestamp of when the instance was created (in UTC).
.google.protobuf.Timestamp created_at = 2; -
hasReadyAt
boolean hasReadyAt()The timestamp of when the instance became ready/running (in UTC). Not set if the instance is one of PENDING or CREATING states.
.google.protobuf.Timestamp ready_at = 13;- Returns:
- Whether the readyAt field is set.
-
getReadyAt
com.google.protobuf.Timestamp getReadyAt()The timestamp of when the instance became ready/running (in UTC). Not set if the instance is one of PENDING or CREATING states.
.google.protobuf.Timestamp ready_at = 13;- Returns:
- The readyAt.
-
getReadyAtOrBuilder
com.google.protobuf.TimestampOrBuilder getReadyAtOrBuilder()The timestamp of when the instance became ready/running (in UTC). Not set if the instance is one of PENDING or CREATING states.
.google.protobuf.Timestamp ready_at = 13; -
hasDestroyedAt
boolean hasDestroyedAt()The timestamp of when the instance was destroyed (in UTC). Not set if the instance is one of PENDING, CREATING or RUNNING states.
.google.protobuf.Timestamp destroyed_at = 3;- Returns:
- Whether the destroyedAt field is set.
-
getDestroyedAt
com.google.protobuf.Timestamp getDestroyedAt()The timestamp of when the instance was destroyed (in UTC). Not set if the instance is one of PENDING, CREATING or RUNNING states.
.google.protobuf.Timestamp destroyed_at = 3;- Returns:
- The destroyedAt.
-
getDestroyedAtOrBuilder
com.google.protobuf.TimestampOrBuilder getDestroyedAtOrBuilder()The timestamp of when the instance was destroyed (in UTC). Not set if the instance is one of PENDING, CREATING or RUNNING states.
.google.protobuf.Timestamp destroyed_at = 3; -
hasDeadline
boolean hasDeadline()The computed deadline of the instance (in UTC). The instance will be destroyed when it hits its deadline.
.google.protobuf.Timestamp deadline = 4;- Returns:
- Whether the deadline field is set.
-
getDeadline
com.google.protobuf.Timestamp getDeadline()The computed deadline of the instance (in UTC). The instance will be destroyed when it hits its deadline.
.google.protobuf.Timestamp deadline = 4;- Returns:
- The deadline.
-
getDeadlineOrBuilder
com.google.protobuf.TimestampOrBuilder getDeadlineOrBuilder()The computed deadline of the instance (in UTC). The instance will be destroyed when it hits its deadline.
.google.protobuf.Timestamp deadline = 4; -
getDocumentedPurpose
String getDocumentedPurpose()The user specified documented purpose.
string documented_purpose = 5;- Returns:
- The documentedPurpose.
-
getDocumentedPurposeBytes
com.google.protobuf.ByteString getDocumentedPurposeBytes()The user specified documented purpose.
string documented_purpose = 5;- Returns:
- The bytes for documentedPurpose.
-
hasShape
boolean hasShape()The user specified instance shape (cpu, memory, disk).
.namespace.cloud.compute.v1beta.InstanceShape shape = 6;- Returns:
- Whether the shape field is set.
-
getShape
Compute.InstanceShape getShape()The user specified instance shape (cpu, memory, disk).
.namespace.cloud.compute.v1beta.InstanceShape shape = 6;- Returns:
- The shape.
-
getShapeOrBuilder
Compute.InstanceShapeOrBuilder getShapeOrBuilder()The user specified instance shape (cpu, memory, disk).
.namespace.cloud.compute.v1beta.InstanceShape shape = 6; -
getStatusValue
int getStatusValue()The status the instance is in.
.namespace.cloud.compute.v1beta.InstanceMetadata.Status status = 7;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Compute.InstanceMetadata.Status getStatus()The status the instance is in.
.namespace.cloud.compute.v1beta.InstanceMetadata.Status status = 7;- Returns:
- The status.
-
getIngressDomain
String getIngressDomain()The region-specific base ingress domain used to back created ingresses. Example: `fra1.nscluster.cloud`.
string ingress_domain = 8;- Returns:
- The ingressDomain.
-
getIngressDomainBytes
com.google.protobuf.ByteString getIngressDomainBytes()The region-specific base ingress domain used to back created ingresses. Example: `fra1.nscluster.cloud`.
string ingress_domain = 8;- Returns:
- The bytes for ingressDomain.
-
getLabelsList
List<Labels.Label> getLabelsList()The user specified instance labels.
repeated .namespace.stdlib.Label labels = 9; -
getLabels
The user specified instance labels.
repeated .namespace.stdlib.Label labels = 9; -
getLabelsCount
int getLabelsCount()The user specified instance labels.
repeated .namespace.stdlib.Label labels = 9; -
getLabelsOrBuilderList
List<? extends Labels.LabelOrBuilder> getLabelsOrBuilderList()The user specified instance labels.
repeated .namespace.stdlib.Label labels = 9; -
getLabelsOrBuilder
The user specified instance labels.
repeated .namespace.stdlib.Label labels = 9; -
getCreatorId
String getCreatorId()If the used authorization token has a `creator_id`, it is retained for debugging purposes.
string creator_id = 10;- Returns:
- The creatorId.
-
getCreatorIdBytes
com.google.protobuf.ByteString getCreatorIdBytes()If the used authorization token has a `creator_id`, it is retained for debugging purposes.
string creator_id = 10;- Returns:
- The bytes for creatorId.
-
getServicesList
List<Compute.InstanceMetadata.Service> getServicesList()Maintain state of each of the exported system services in this instance. Examples of system services are `buildkit`, `kubernetes`, etc.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11; -
getServices
Maintain state of each of the exported system services in this instance. Examples of system services are `buildkit`, `kubernetes`, etc.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11; -
getServicesCount
int getServicesCount()Maintain state of each of the exported system services in this instance. Examples of system services are `buildkit`, `kubernetes`, etc.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11; -
getServicesOrBuilderList
List<? extends Compute.InstanceMetadata.ServiceOrBuilder> getServicesOrBuilderList()Maintain state of each of the exported system services in this instance. Examples of system services are `buildkit`, `kubernetes`, etc.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11; -
getServicesOrBuilder
Maintain state of each of the exported system services in this instance. Examples of system services are `buildkit`, `kubernetes`, etc.
repeated .namespace.cloud.compute.v1beta.InstanceMetadata.Service services = 11; -
hasHwDeployment
boolean hasHwDeployment()Information related to where the instance is running, or ran, including geography, and hw platform.
.namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;- Returns:
- Whether the hwDeployment field is set.
-
getHwDeployment
Compute.InstanceMetadata.HWDeployment getHwDeployment()Information related to where the instance is running, or ran, including geography, and hw platform.
.namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;- Returns:
- The hwDeployment.
-
getHwDeploymentOrBuilder
Compute.InstanceMetadata.HWDeploymentOrBuilder getHwDeploymentOrBuilder()Information related to where the instance is running, or ran, including geography, and hw platform.
.namespace.cloud.compute.v1beta.InstanceMetadata.HWDeployment hw_deployment = 12;
-