Package com.google.cloud.compute.v1
Class NodeTemplate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
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 typegoogle.cloud.compute.v1.NodeTemplate- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeTemplate.BuilderRepresent a sole-tenant Node Template resource.static classNodeTemplate.CpuOvercommitTypeCPU overcommit.static classNodeTemplate.Status[Output Only] The status of the node template.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCELERATORS_FIELD_NUMBERstatic intCPU_OVERCOMMIT_TYPE_FIELD_NUMBERstatic intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDISKS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNODE_AFFINITY_LABELS_FIELD_NUMBERstatic intNODE_TYPE_FIELD_NUMBERstatic intNODE_TYPE_FLEXIBILITY_FIELD_NUMBERstatic intREGION_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSERVER_BINDING_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intSTATUS_MESSAGE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsNodeAffinityLabels(String key)Labels to use for node affinity, which will be used in instance scheduling.booleanequals(Object obj)AcceleratorConfiggetAccelerators(int index)repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;intgetAcceleratorsCount()repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;List<AcceleratorConfig>getAcceleratorsList()repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;AcceleratorConfigOrBuildergetAcceleratorsOrBuilder(int index)repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;List<? extends AcceleratorConfigOrBuilder>getAcceleratorsOrBuilderList()repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;StringgetCpuOvercommitType()CPU overcommit.com.google.protobuf.ByteStringgetCpuOvercommitTypeBytes()CPU overcommit.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.static NodeTemplategetDefaultInstance()NodeTemplategetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()LocalDiskgetDisks(int index)repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;intgetDisksCount()repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;List<LocalDisk>getDisksList()repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;LocalDiskOrBuildergetDisksOrBuilder(int index)repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;List<? extends LocalDiskOrBuilder>getDisksOrBuilderList()repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;longgetId()[Output Only] The unique identifier for the resource.StringgetKind()[Output Only] The type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] The type of the resource.StringgetName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringgetNameBytes()The name of the resource, provided by the client when initially creating the resource.Map<String,String>getNodeAffinityLabels()Deprecated.intgetNodeAffinityLabelsCount()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.StringgetNodeAffinityLabelsOrDefault(String key, String defaultValue)Labels to use for node affinity, which will be used in instance scheduling.StringgetNodeAffinityLabelsOrThrow(String key)Labels to use for node affinity, which will be used in instance scheduling.StringgetNodeType()The node type to use for nodes group that are created from this template.com.google.protobuf.ByteStringgetNodeTypeBytes()The node type to use for nodes group that are created from this template.NodeTemplateNodeTypeFlexibilitygetNodeTypeFlexibility()Do not use.NodeTemplateNodeTypeFlexibilityOrBuildergetNodeTypeFlexibilityOrBuilder()Do not use.com.google.protobuf.Parser<NodeTemplate>getParserForType()StringgetRegion()[Output Only] The name of the region where the node template resides, such as us-central1.com.google.protobuf.ByteStringgetRegionBytes()[Output Only] The name of the region where the node template resides, such as us-central1.StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.intgetSerializedSize()ServerBindinggetServerBinding()Sets the binding properties for the physical server.ServerBindingOrBuildergetServerBindingOrBuilder()Sets the binding properties for the physical server.StringgetStatus()[Output Only] The status of the node template.com.google.protobuf.ByteStringgetStatusBytes()[Output Only] The status of the node template.StringgetStatusMessage()[Output Only] An optional, human-readable explanation of the status.com.google.protobuf.ByteStringgetStatusMessageBytes()[Output Only] An optional, human-readable explanation of the status.booleanhasCpuOvercommitType()CPU overcommit.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] The type of the resource.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanhasNodeType()The node type to use for nodes group that are created from this template.booleanhasNodeTypeFlexibility()Do not use.booleanhasRegion()[Output Only] The name of the region where the node template resides, such as us-central1.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasServerBinding()Sets the binding properties for the physical server.booleanhasStatus()[Output Only] The status of the node template.booleanhasStatusMessage()[Output Only] An optional, human-readable explanation of the status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static NodeTemplate.BuildernewBuilder()static NodeTemplate.BuildernewBuilder(NodeTemplate prototype)NodeTemplate.BuildernewBuilderForType()protected NodeTemplate.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()NodeTemplate.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACCELERATORS_FIELD_NUMBER
public static final int ACCELERATORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
public static final int CPU_OVERCOMMIT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_AFFINITY_LABELS_FIELD_NUMBER
public static final int NODE_AFFINITY_LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_TYPE_FIELD_NUMBER
public static final int NODE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_TYPE_FLEXIBILITY_FIELD_NUMBER
public static final int NODE_TYPE_FLEXIBILITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVER_BINDING_FIELD_NUMBER
public static final int SERVER_BINDING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getAcceleratorsList
public List<AcceleratorConfig> getAcceleratorsList()
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;- Specified by:
getAcceleratorsListin interfaceNodeTemplateOrBuilder
-
getAcceleratorsOrBuilderList
public List<? extends AcceleratorConfigOrBuilder> 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
public AcceleratorConfig getAccelerators(int index)
repeated .google.cloud.compute.v1.AcceleratorConfig accelerators = 269577064;- Specified by:
getAcceleratorsin interfaceNodeTemplateOrBuilder
-
getAcceleratorsOrBuilder
public AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index)
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
public String 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] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNodeTemplateOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceNodeTemplateOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 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
public String 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
public List<LocalDisk> getDisksList()
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksListin interfaceNodeTemplateOrBuilder
-
getDisksOrBuilderList
public List<? extends LocalDiskOrBuilder> 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
public LocalDisk getDisks(int index)
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksin interfaceNodeTemplateOrBuilder
-
getDisksOrBuilder
public LocalDiskOrBuilder getDisksOrBuilder(int index)
repeated .google.cloud.compute.v1.LocalDisk disks = 95594102;- Specified by:
getDisksOrBuilderin interfaceNodeTemplateOrBuilder
-
hasId
public boolean hasId()
[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] 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] The type of the resource. Always compute#nodeTemplate for node templates.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNodeTemplateOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] The type of the resource. Always compute#nodeTemplate for node templates.
optional string kind = 3292052;- Specified by:
getKindin interfaceNodeTemplateOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#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 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;- Specified by:
hasNamein interfaceNodeTemplateOrBuilder- Returns:
- Whether the name field is set.
-
getName
public 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;- 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 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;- 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
public boolean containsNodeAffinityLabels(String key)
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 public Map<String,String> getNodeAffinityLabels()
Deprecated.UsegetNodeAffinityLabelsMap()instead.- Specified by:
getNodeAffinityLabelsin interfaceNodeTemplateOrBuilder
-
getNodeAffinityLabelsMap
public Map<String,String> 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
public 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;- Specified by:
getNodeAffinityLabelsOrDefaultin interfaceNodeTemplateOrBuilder
-
getNodeAffinityLabelsOrThrow
public String getNodeAffinityLabelsOrThrow(String key)
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
public String 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
public NodeTemplateNodeTypeFlexibility 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
public NodeTemplateNodeTypeFlexibilityOrBuilder 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] 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
public String getRegion()
[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] 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] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNodeTemplateOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[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] 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
public 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;- Specified by:
getServerBindingin interfaceNodeTemplateOrBuilder- Returns:
- The serverBinding.
-
getServerBindingOrBuilder
public 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;- Specified by:
getServerBindingOrBuilderin interfaceNodeTemplateOrBuilder
-
hasStatus
public 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;- Specified by:
hasStatusin interfaceNodeTemplateOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public 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;- Specified by:
getStatusin interfaceNodeTemplateOrBuilder- Returns:
- The status.
-
getStatusBytes
public 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;- Specified by:
getStatusBytesin interfaceNodeTemplateOrBuilder- Returns:
- The bytes for status.
-
hasStatusMessage
public boolean hasStatusMessage()
[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
public String getStatusMessage()
[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] 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static NodeTemplate parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeTemplate parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NodeTemplate.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NodeTemplate.Builder newBuilder()
-
newBuilder
public static NodeTemplate.Builder newBuilder(NodeTemplate prototype)
-
toBuilder
public NodeTemplate.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NodeTemplate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NodeTemplate> parser()
-
getParserForType
public com.google.protobuf.Parser<NodeTemplate> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeTemplate getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-