Package com.google.cloud.compute.v1
Class NodeTemplate
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.NodeTemplate
- All Implemented Interfaces:
NodeTemplateOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class NodeTemplate
extends com.google.protobuf.GeneratedMessage
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, readCreating node groups and instances.Protobuf type
google.cloud.compute.v1.NodeTemplate- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresent a sole-tenant Node Template resource.static enumCPU overcommit.static enumOutput only.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanLabels to use for node affinity, which will be used in instance scheduling.booleangetAccelerators(int index) repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;intrepeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;getAcceleratorsOrBuilder(int index) repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;List<? extends AcceleratorConfigOrBuilder>repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;CPU overcommit.com.google.protobuf.ByteStringCPU overcommit.Output only.com.google.protobuf.ByteStringOutput only.static NodeTemplateAn optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.DescriptorgetDisks(int index) repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;intrepeated .google.cloud.compute.v1.LocalDisk disks = 95594102;repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;getDisksOrBuilder(int index) repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;List<? extends LocalDiskOrBuilder>repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringThe name of the resource, provided by the client when initially creating the resource.Deprecated.intLabels to use for node affinity, which will be used in instance scheduling.Labels to use for node affinity, which will be used in instance scheduling.getNodeAffinityLabelsOrDefault(String key, String defaultValue) Labels to use for node affinity, which will be used in instance scheduling.Labels to use for node affinity, which will be used in instance scheduling.The node type to use for nodes group that are created from this template.com.google.protobuf.ByteStringThe node type to use for nodes group that are created from this template.Do not use.Do not use.com.google.protobuf.Parser<NodeTemplate>Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.intSets the binding properties for the physical server.Sets the binding properties for the physical server.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanCPU overcommit.booleanOutput only.booleanAn optional description of this resource.inthashCode()booleanhasId()Output only.booleanhasKind()Output only.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanThe node type to use for nodes group that are created from this template.booleanDo not use.booleanOutput only.booleanOutput only.booleanSets the binding properties for the physical server.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic NodeTemplate.Builderstatic NodeTemplate.BuildernewBuilder(NodeTemplate prototype) protected NodeTemplate.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static NodeTemplateparseDelimitedFrom(InputStream input) static NodeTemplateparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTemplateparseFrom(byte[] data) static NodeTemplateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTemplateparseFrom(com.google.protobuf.ByteString data) static NodeTemplateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTemplateparseFrom(com.google.protobuf.CodedInputStream input) static NodeTemplateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTemplateparseFrom(InputStream input) static NodeTemplateparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NodeTemplateparseFrom(ByteBuffer data) static NodeTemplateparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NodeTemplate>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER- See Also:
-
CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NODE_AFFINITY_LABELS_FIELD_NUMBER
public static final int NODE_AFFINITY_LABELS_FIELD_NUMBER- See Also:
-
NODE_TYPE_FIELD_NUMBER
public static final int NODE_TYPE_FIELD_NUMBER- See Also:
-
NODE_TYPE_FLEXIBILITY_FIELD_NUMBER
public static final int NODE_TYPE_FLEXIBILITY_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
SERVER_BINDING_FIELD_NUMBER
public static final int SERVER_BINDING_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAcceleratorsList
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;- Specified by:
getAcceleratorsListin interfaceNodeTemplateOrBuilder
-
getAcceleratorsOrBuilderList
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;- Specified by:
getAcceleratorsOrBuilderListin interfaceNodeTemplateOrBuilder
-
getAcceleratorsCount
public int getAcceleratorsCount()repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;- Specified by:
getAcceleratorsCountin interfaceNodeTemplateOrBuilder
-
getAccelerators
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;- Specified by:
getAcceleratorsin interfaceNodeTemplateOrBuilder
-
getAcceleratorsOrBuilder
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;- Specified by:
getAcceleratorsOrBuilderin interfaceNodeTemplateOrBuilder
-
hasCpuOvercommitType
public boolean hasCpuOvercommitType()CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
optional string cpu_overcommit_type = 247727959;- Specified by:
hasCpuOvercommitTypein interfaceNodeTemplateOrBuilder- Returns:
- Whether the cpuOvercommitType field is set.
-
getCpuOvercommitType
CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
optional string cpu_overcommit_type = 247727959;- Specified by:
getCpuOvercommitTypein interfaceNodeTemplateOrBuilder- Returns:
- The cpuOvercommitType.
-
getCpuOvercommitTypeBytes
public com.google.protobuf.ByteString getCpuOvercommitTypeBytes()CPU overcommit. Check the CpuOvercommitType enum for the list of possible values.
optional string cpu_overcommit_type = 247727959;- Specified by:
getCpuOvercommitTypeBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for cpuOvercommitType.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNodeTemplateOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNodeTemplateOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceNodeTemplateOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceNodeTemplateOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for description.
-
getDisksList
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksListin interfaceNodeTemplateOrBuilder
-
getDisksOrBuilderList
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksOrBuilderListin interfaceNodeTemplateOrBuilder
-
getDisksCount
public int getDisksCount()repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksCountin interfaceNodeTemplateOrBuilder
-
getDisks
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksin interfaceNodeTemplateOrBuilder
-
getDisksOrBuilder
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksOrBuilderin interfaceNodeTemplateOrBuilder
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceNodeTemplateOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceNodeTemplateOrBuilder- Returns:
- The id.
-
hasKind
public boolean hasKind()Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNodeTemplateOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates.
optional string kind = 3292052;- Specified by:
getKindin interfaceNodeTemplateOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] The type of the resource. Alwayscompute#nodeTemplate for node templates.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for kind.
-
hasName
public 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 withRFC1035. 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;- Specified by:
hasNamein interfaceNodeTemplateOrBuilder- Returns:
- Whether the name field is set.
-
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 withRFC1035. 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;- Specified by:
getNamein interfaceNodeTemplateOrBuilder- Returns:
- The name.
-
getNameBytes
public 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 withRFC1035. 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;- Specified by:
getNameBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for name.
-
getNodeAffinityLabelsCount
public int getNodeAffinityLabelsCount()Description copied from interface:NodeTemplateOrBuilderLabels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;- Specified by:
getNodeAffinityLabelsCountin interfaceNodeTemplateOrBuilder
-
containsNodeAffinityLabels
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;- Specified by:
containsNodeAffinityLabelsin interfaceNodeTemplateOrBuilder
-
getNodeAffinityLabels
Deprecated.UsegetNodeAffinityLabelsMap()instead.- Specified by:
getNodeAffinityLabelsin interfaceNodeTemplateOrBuilder
-
getNodeAffinityLabelsMap
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;- Specified by:
getNodeAffinityLabelsMapin interfaceNodeTemplateOrBuilder
-
getNodeAffinityLabelsOrDefault
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;- Specified by:
getNodeAffinityLabelsOrDefaultin interfaceNodeTemplateOrBuilder
-
getNodeAffinityLabelsOrThrow
Labels to use for node affinity, which will be used in instance scheduling.
map<string, string> node_affinity_labels = 339007161;- Specified by:
getNodeAffinityLabelsOrThrowin interfaceNodeTemplateOrBuilder
-
hasNodeType
public boolean hasNodeType()The node type to use for nodes group that are created from this template.
optional string node_type = 465832791;- Specified by:
hasNodeTypein interfaceNodeTemplateOrBuilder- Returns:
- Whether the nodeType field is set.
-
getNodeType
The node type to use for nodes group that are created from this template.
optional string node_type = 465832791;- Specified by:
getNodeTypein interfaceNodeTemplateOrBuilder- Returns:
- The nodeType.
-
getNodeTypeBytes
public com.google.protobuf.ByteString getNodeTypeBytes()The node type to use for nodes group that are created from this template.
optional string node_type = 465832791;- Specified by:
getNodeTypeBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for nodeType.
-
hasNodeTypeFlexibility
public boolean hasNodeTypeFlexibility()Do not use. Instead, use the node_type property.
optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;- Specified by:
hasNodeTypeFlexibilityin interfaceNodeTemplateOrBuilder- Returns:
- Whether the nodeTypeFlexibility field is set.
-
getNodeTypeFlexibility
Do not use. Instead, use the node_type property.
optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;- Specified by:
getNodeTypeFlexibilityin interfaceNodeTemplateOrBuilder- Returns:
- The nodeTypeFlexibility.
-
getNodeTypeFlexibilityOrBuilder
Do not use. Instead, use the node_type property.
optional .google.cloud.compute.v1.NodeTemplateNodeTypeFlexibility node_type_flexibility = 315257905;- Specified by:
getNodeTypeFlexibilityOrBuilderin interfaceNodeTemplateOrBuilder
-
hasRegion
public boolean hasRegion()Output only. [Output Only] The name of the region where the node template resides, such as us-central1.
optional string region = 138946292;- Specified by:
hasRegionin interfaceNodeTemplateOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
Output only. [Output Only] The name of the region where the node template resides, such as us-central1.
optional string region = 138946292;- Specified by:
getRegionin interfaceNodeTemplateOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Output only. [Output Only] The name of the region where the node template resides, such as us-central1.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for region.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNodeTemplateOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceNodeTemplateOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for selfLink.
-
hasServerBinding
public 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;- Specified by:
hasServerBindingin interfaceNodeTemplateOrBuilder- Returns:
- Whether the serverBinding field is set.
-
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;- Specified by:
getServerBindingin interfaceNodeTemplateOrBuilder- Returns:
- The serverBinding.
-
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;- Specified by:
getServerBindingOrBuilderin interfaceNodeTemplateOrBuilder
-
hasStatus
public boolean hasStatus()Output only. [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;- Specified by:
hasStatusin interfaceNodeTemplateOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [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;- Specified by:
getStatusin interfaceNodeTemplateOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Output only. [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;- Specified by:
getStatusBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for status.
-
hasStatusMessage
public boolean hasStatusMessage()Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Specified by:
hasStatusMessagein interfaceNodeTemplateOrBuilder- Returns:
- Whether the statusMessage field is set.
-
getStatusMessage
Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Specified by:
getStatusMessagein interfaceNodeTemplateOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Specified by:
getStatusMessageBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for statusMessage.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NodeTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NodeTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NodeTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeTemplate.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-