Interface MachineOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Machine,Machine.Builder
@Generated
public interface MachineOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels associated with this resource.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.Canonical resource name of the node that this machine is responsible for hosting e.g.com.google.protobuf.ByteStringCanonical resource name of the node that this machine is responsible for hosting e.g.Deprecated.intLabels associated with this resource.Labels associated with this resource.getLabelsOrDefault(String key, String defaultValue) Labels associated with this resource.getLabelsOrThrow(String key) Labels associated with this resource.getName()Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.getZone()The Google Distributed Cloud Edge zone of this machine.com.google.protobuf.ByteStringThe Google Distributed Cloud Edge zone of this machine.booleanOutput only.booleanOutput only.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
-
getName
String getName()Required. The resource name of the machine.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The resource name of the machine.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the node pool was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time when the node pool was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels associated with this resource.
map<string, string> labels = 4; -
containsLabels
Labels associated with this resource.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels associated with this resource.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels associated with this resource.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels associated with this resource.
map<string, string> labels = 4; -
getHostedNode
String getHostedNode()Canonical resource name of the node that this machine is responsible for hosting e.g. projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, Or empty if the machine is not assigned to assume the role of a node. For control plane nodes hosted on edge machines, this will return the following format: "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}".string hosted_node = 5;- Returns:
- The hostedNode.
-
getHostedNodeBytes
com.google.protobuf.ByteString getHostedNodeBytes()Canonical resource name of the node that this machine is responsible for hosting e.g. projects/{project}/locations/{location}/clusters/{cluster_id}/nodePools/{pool_id}/{node}, Or empty if the machine is not assigned to assume the role of a node. For control plane nodes hosted on edge machines, this will return the following format: "projects/{project}/locations/{location}/clusters/{cluster_id}/controlPlaneNodes/{node}".string hosted_node = 5;- Returns:
- The bytes for hostedNode.
-
getZone
String getZone()The Google Distributed Cloud Edge zone of this machine.
string zone = 6;- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()The Google Distributed Cloud Edge zone of this machine.
string zone = 6;- Returns:
- The bytes for zone.
-
getVersion
String getVersion()Output only. The software version of the machine.
string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()Output only. The software version of the machine.
string version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for version.
-
getDisabled
boolean getDisabled()Output only. Whether the machine is disabled. If disabled, the machine is unable to enter service.
bool disabled = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The disabled.
-