Interface MachineOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Machine
,Machine.Builder
public interface MachineOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels associated with this resource.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.boolean
getDisabled()
Output only.String
getHostedNode()
Canonical resource name of the node that this machine is responsible for hosting e.g.com.google.protobuf.ByteString
getHostedNodeBytes()
Canonical resource name of the node that this machine is responsible for hosting e.g.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels associated with this resource.Map<String,String>
getLabelsMap()
Labels associated with this resource.String
getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.String
getLabelsOrThrow(String key)
Labels associated with this resource.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.String
getZone()
The Google Distributed Cloud Edge zone of this machine.com.google.protobuf.ByteString
getZoneBytes()
The Google Distributed Cloud Edge zone of this machine.boolean
hasCreateTime()
Output only.boolean
hasUpdateTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
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.
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.
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.
-
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.
-
-