public final class NodeTemplate extends com.google.protobuf.GeneratedMessageV3 implements NodeTemplateOrBuilder
Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances.Protobuf type
google.cloud.compute.v1.NodeTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
NodeTemplate.Builder
Represent a sole-tenant Node Template resource.
|
static class |
NodeTemplate.CpuOvercommitType
CPU overcommit.
|
static class |
NodeTemplate.Status
[Output Only] The status of the node template.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCELERATORS_FIELD_NUMBER |
static int |
CPU_OVERCOMMIT_TYPE_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISKS_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NODE_AFFINITY_LABELS_FIELD_NUMBER |
static int |
NODE_TYPE_FIELD_NUMBER |
static int |
NODE_TYPE_FLEXIBILITY_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
SERVER_BINDING_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
STATUS_MESSAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNodeAffinityLabels(String key)
Labels to use for node affinity, which will be used in instance scheduling.
|
boolean |
equals(Object obj) |
AcceleratorConfig |
getAccelerators(int index)
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064; |
int |
getAcceleratorsCount()
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064; |
List<AcceleratorConfig> |
getAcceleratorsList()
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064; |
AcceleratorConfigOrBuilder |
getAcceleratorsOrBuilder(int index)
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064; |
List<? extends AcceleratorConfigOrBuilder> |
getAcceleratorsOrBuilderList()
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064; |
String |
getCpuOvercommitType()
CPU overcommit.
|
com.google.protobuf.ByteString |
getCpuOvercommitTypeBytes()
CPU overcommit.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static NodeTemplate |
getDefaultInstance() |
NodeTemplate |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LocalDisk |
getDisks(int index)
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102; |
int |
getDisksCount()
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102; |
List<LocalDisk> |
getDisksList()
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102; |
LocalDiskOrBuilder |
getDisksOrBuilder(int index)
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102; |
List<? extends LocalDiskOrBuilder> |
getDisksOrBuilderList()
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102; |
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] The type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] The type of the resource.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource, provided by the client when initially creating the resource.
|
Map<String,String> |
getNodeAffinityLabels()
Deprecated.
|
int |
getNodeAffinityLabelsCount()
Labels to use for node affinity, which will be used in instance scheduling.
|
Map<String,String> |
getNodeAffinityLabelsMap()
Labels to use for node affinity, which will be used in instance scheduling.
|
String |
getNodeAffinityLabelsOrDefault(String key,
String defaultValue)
Labels to use for node affinity, which will be used in instance scheduling.
|
String |
getNodeAffinityLabelsOrThrow(String key)
Labels to use for node affinity, which will be used in instance scheduling.
|
String |
getNodeType()
The node type to use for nodes group that are created from this template.
|
com.google.protobuf.ByteString |
getNodeTypeBytes()
The node type to use for nodes group that are created from this template.
|
NodeTemplateNodeTypeFlexibility |
getNodeTypeFlexibility()
The flexible properties of the desired node type.
|
NodeTemplateNodeTypeFlexibilityOrBuilder |
getNodeTypeFlexibilityOrBuilder()
The flexible properties of the desired node type.
|
com.google.protobuf.Parser<NodeTemplate> |
getParserForType() |
String |
getRegion()
[Output Only] The name of the region where the node template resides, such as us-central1.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] The name of the region where the node template resides, such as us-central1.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
ServerBinding |
getServerBinding()
Sets the binding properties for the physical server.
|
ServerBindingOrBuilder |
getServerBindingOrBuilder()
Sets the binding properties for the physical server.
|
String |
getStatus()
[Output Only] The status of the node template.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the node template.
|
String |
getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
com.google.protobuf.ByteString |
getStatusMessageBytes()
[Output Only] An optional, human-readable explanation of the status.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCpuOvercommitType()
CPU overcommit.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] The type of the resource.
|
boolean |
hasName()
The name of the resource, provided by the client when initially creating the resource.
|
boolean |
hasNodeType()
The node type to use for nodes group that are created from this template.
|
boolean |
hasNodeTypeFlexibility()
The flexible properties of the desired node type.
|
boolean |
hasRegion()
[Output Only] The name of the region where the node template resides, such as us-central1.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasServerBinding()
Sets the binding properties for the physical server.
|
boolean |
hasStatus()
[Output Only] The status of the node template.
|
boolean |
hasStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static NodeTemplate.Builder |
newBuilder() |
static NodeTemplate.Builder |
newBuilder(NodeTemplate prototype) |
NodeTemplate.Builder |
newBuilderForType() |
protected NodeTemplate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static NodeTemplate |
parseDelimitedFrom(InputStream input) |
static NodeTemplate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodeTemplate |
parseFrom(byte[] data) |
static NodeTemplate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodeTemplate |
parseFrom(ByteBuffer data) |
static NodeTemplate |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodeTemplate |
parseFrom(com.google.protobuf.ByteString data) |
static NodeTemplate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodeTemplate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static NodeTemplate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static NodeTemplate |
parseFrom(InputStream input) |
static NodeTemplate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<NodeTemplate> |
parser() |
NodeTemplate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ACCELERATORS_FIELD_NUMBER
public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NODE_AFFINITY_LABELS_FIELD_NUMBER
public static final int NODE_TYPE_FIELD_NUMBER
public static final int NODE_TYPE_FLEXIBILITY_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int SERVER_BINDING_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<AcceleratorConfig> getAcceleratorsList()
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;getAcceleratorsList in interface NodeTemplateOrBuilderpublic List<? extends AcceleratorConfigOrBuilder> getAcceleratorsOrBuilderList()
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;getAcceleratorsOrBuilderList in interface NodeTemplateOrBuilderpublic int getAcceleratorsCount()
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;getAcceleratorsCount in interface NodeTemplateOrBuilderpublic AcceleratorConfig getAccelerators(int index)
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;getAccelerators in interface NodeTemplateOrBuilderpublic AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;getAcceleratorsOrBuilder in interface NodeTemplateOrBuilderpublic boolean hasCpuOvercommitType()
CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
optional string cpu_overcommit_type = 247727959;hasCpuOvercommitType in interface NodeTemplateOrBuilderpublic String getCpuOvercommitType()
CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
optional string cpu_overcommit_type = 247727959;getCpuOvercommitType in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getCpuOvercommitTypeBytes()
CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
optional string cpu_overcommit_type = 247727959;getCpuOvercommitTypeBytes in interface NodeTemplateOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface NodeTemplateOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface NodeTemplateOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface NodeTemplateOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface NodeTemplateOrBuilderpublic List<LocalDisk> getDisksList()
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;getDisksList in interface NodeTemplateOrBuilderpublic List<? extends LocalDiskOrBuilder> getDisksOrBuilderList()
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;getDisksOrBuilderList in interface NodeTemplateOrBuilderpublic int getDisksCount()
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;getDisksCount in interface NodeTemplateOrBuilderpublic LocalDisk getDisks(int index)
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;getDisks in interface NodeTemplateOrBuilderpublic LocalDiskOrBuilder getDisksOrBuilder(int index)
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;getDisksOrBuilder in interface NodeTemplateOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface NodeTemplateOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface NodeTemplateOrBuilderpublic boolean hasKind()
[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.
optional string kind = 3292052;hasKind in interface NodeTemplateOrBuilderpublic String getKind()
[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.
optional string kind = 3292052;getKind in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.
optional string kind = 3292052;getKindBytes in interface NodeTemplateOrBuilderpublic boolean hasName()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface NodeTemplateOrBuilderpublic String getName()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface NodeTemplateOrBuilderpublic int getNodeAffinityLabelsCount()
NodeTemplateOrBuilderLabels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;getNodeAffinityLabelsCount in interface NodeTemplateOrBuilderpublic boolean containsNodeAffinityLabels(String key)
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;containsNodeAffinityLabels in interface NodeTemplateOrBuilder@Deprecated public Map<String,String> getNodeAffinityLabels()
getNodeAffinityLabelsMap() instead.getNodeAffinityLabels in interface NodeTemplateOrBuilderpublic Map<String,String> getNodeAffinityLabelsMap()
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;getNodeAffinityLabelsMap in interface NodeTemplateOrBuilderpublic String getNodeAffinityLabelsOrDefault(String key, String defaultValue)
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;getNodeAffinityLabelsOrDefault in interface NodeTemplateOrBuilderpublic String getNodeAffinityLabelsOrThrow(String key)
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;getNodeAffinityLabelsOrThrow in interface NodeTemplateOrBuilderpublic boolean hasNodeType()
The node type to use for nodes group that are created from this template.
optional string node_type = 465832791;hasNodeType in interface NodeTemplateOrBuilderpublic String getNodeType()
The node type to use for nodes group that are created from this template.
optional string node_type = 465832791;getNodeType in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getNodeTypeBytes()
The node type to use for nodes group that are created from this template.
optional string node_type = 465832791;getNodeTypeBytes in interface NodeTemplateOrBuilderpublic boolean hasNodeTypeFlexibility()
The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.
optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;
hasNodeTypeFlexibility in interface NodeTemplateOrBuilderpublic NodeTemplateNodeTypeFlexibility getNodeTypeFlexibility()
The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.
optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;
getNodeTypeFlexibility in interface NodeTemplateOrBuilderpublic NodeTemplateNodeTypeFlexibilityOrBuilder getNodeTypeFlexibilityOrBuilder()
The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both.
optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;
getNodeTypeFlexibilityOrBuilder in interface NodeTemplateOrBuilderpublic boolean hasRegion()
[Output Only] The name of the region where the node template resides, such as us-central1.
optional string region = 138946292;hasRegion in interface NodeTemplateOrBuilderpublic String getRegion()
[Output Only] The name of the region where the node template resides, such as us-central1.
optional string region = 138946292;getRegion in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] The name of the region where the node template resides, such as us-central1.
optional string region = 138946292;getRegionBytes in interface NodeTemplateOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface NodeTemplateOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface NodeTemplateOrBuilderpublic boolean hasServerBinding()
Sets the binding properties for the physical server. Valid values include: - *[Default]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.
optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;hasServerBinding in interface NodeTemplateOrBuilderpublic ServerBinding getServerBinding()
Sets the binding properties for the physical server. Valid values include: - *[Default]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.
optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;getServerBinding in interface NodeTemplateOrBuilderpublic ServerBindingOrBuilder getServerBindingOrBuilder()
Sets the binding properties for the physical server. Valid values include: - *[Default]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.
optional .google.cloud.compute.v1.ServerBinding server_binding = 208179593;getServerBindingOrBuilder in interface NodeTemplateOrBuilderpublic boolean hasStatus()
[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface NodeTemplateOrBuilderpublic String getStatus()
[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface NodeTemplateOrBuilderpublic boolean hasStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;hasStatusMessage in interface NodeTemplateOrBuilderpublic String getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;getStatusMessage in interface NodeTemplateOrBuilderpublic com.google.protobuf.ByteString getStatusMessageBytes()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;getStatusMessageBytes in interface NodeTemplateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static NodeTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static NodeTemplate parseFrom(InputStream input) throws IOException
IOExceptionpublic static NodeTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodeTemplate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static NodeTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static NodeTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static NodeTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic NodeTemplate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static NodeTemplate.Builder newBuilder()
public static NodeTemplate.Builder newBuilder(NodeTemplate prototype)
public NodeTemplate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected NodeTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static NodeTemplate getDefaultInstance()
public static com.google.protobuf.Parser<NodeTemplate> parser()
public com.google.protobuf.Parser<NodeTemplate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public NodeTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.