Package com.google.cloud.compute.v1
Class NodeGroup
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.NodeGroup
-
- All Implemented Interfaces:
NodeGroupOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class NodeGroup extends com.google.protobuf.GeneratedMessageV3 implements NodeGroupOrBuilder
Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.
Protobuf typegoogle.cloud.compute.v1.NodeGroup- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeGroup.BuilderRepresents a sole-tenant Node Group resource.static classNodeGroup.MaintenancePolicySpecifies how to handle instances when a node in the group undergoes maintenance.static classNodeGroup.Status-
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 intAUTOSCALING_POLICY_FIELD_NUMBERstatic intCREATION_TIMESTAMP_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intFINGERPRINT_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intLOCATION_HINT_FIELD_NUMBERstatic intMAINTENANCE_POLICY_FIELD_NUMBERstatic intMAINTENANCE_WINDOW_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNODE_TEMPLATE_FIELD_NUMBERstatic intSELF_LINK_FIELD_NUMBERstatic intSHARE_SETTINGS_FIELD_NUMBERstatic intSIZE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)NodeGroupAutoscalingPolicygetAutoscalingPolicy()Specifies how autoscaling should behave.NodeGroupAutoscalingPolicyOrBuildergetAutoscalingPolicyOrBuilder()Specifies how autoscaling should behave.StringgetCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteStringgetCreationTimestampBytes()[Output Only] Creation timestamp in RFC3339 text format.static NodeGroupgetDefaultInstance()NodeGroupgetDefaultInstanceForType()StringgetDescription()An optional description of this resource.com.google.protobuf.ByteStringgetDescriptionBytes()An optional description of this resource.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFingerprint()optional string fingerprint = 234678500;com.google.protobuf.ByteStringgetFingerprintBytes()optional string fingerprint = 234678500;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.StringgetLocationHint()An opaque location hint used to place the Node close to other resources.com.google.protobuf.ByteStringgetLocationHintBytes()An opaque location hint used to place the Node close to other resources.StringgetMaintenancePolicy()Specifies how to handle instances when a node in the group undergoes maintenance.com.google.protobuf.ByteStringgetMaintenancePolicyBytes()Specifies how to handle instances when a node in the group undergoes maintenance.NodeGroupMaintenanceWindowgetMaintenanceWindow()optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;NodeGroupMaintenanceWindowOrBuildergetMaintenanceWindowOrBuilder()optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;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.StringgetNodeTemplate()URL of the node template to create the node group from.com.google.protobuf.ByteStringgetNodeTemplateBytes()URL of the node template to create the node group from.com.google.protobuf.Parser<NodeGroup>getParserForType()StringgetSelfLink()[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for the resource.intgetSerializedSize()ShareSettingsgetShareSettings()Share-settings for the node groupShareSettingsOrBuildergetShareSettingsOrBuilder()Share-settings for the node groupintgetSize()[Output Only] The total number of nodes in the node group.StringgetStatus()Check the Status enum for the list of possible values.com.google.protobuf.ByteStringgetStatusBytes()Check the Status enum for the list of possible values.StringgetZone()[Output Only] The name of the zone where the node group resides, such as us-central1-a.com.google.protobuf.ByteStringgetZoneBytes()[Output Only] The name of the zone where the node group resides, such as us-central1-a.booleanhasAutoscalingPolicy()Specifies how autoscaling should behave.booleanhasCreationTimestamp()[Output Only] Creation timestamp in RFC3339 text format.booleanhasDescription()An optional description of this resource.booleanhasFingerprint()optional string fingerprint = 234678500;inthashCode()booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()[Output Only] The type of the resource.booleanhasLocationHint()An opaque location hint used to place the Node close to other resources.booleanhasMaintenancePolicy()Specifies how to handle instances when a node in the group undergoes maintenance.booleanhasMaintenanceWindow()optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanhasNodeTemplate()URL of the node template to create the node group from.booleanhasSelfLink()[Output Only] Server-defined URL for the resource.booleanhasShareSettings()Share-settings for the node groupbooleanhasSize()[Output Only] The total number of nodes in the node group.booleanhasStatus()Check the Status enum for the list of possible values.booleanhasZone()[Output Only] The name of the zone where the node group resides, such as us-central1-a.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static NodeGroup.BuildernewBuilder()static NodeGroup.BuildernewBuilder(NodeGroup prototype)NodeGroup.BuildernewBuilderForType()protected NodeGroup.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NodeGroupparseDelimitedFrom(InputStream input)static NodeGroupparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupparseFrom(byte[] data)static NodeGroupparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupparseFrom(com.google.protobuf.ByteString data)static NodeGroupparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupparseFrom(com.google.protobuf.CodedInputStream input)static NodeGroupparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupparseFrom(InputStream input)static NodeGroupparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NodeGroupparseFrom(ByteBuffer data)static NodeGroupparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NodeGroup>parser()NodeGroup.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, internalGetMapField, 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
-
AUTOSCALING_POLICY_FIELD_NUMBER
public static final int AUTOSCALING_POLICY_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
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_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
-
LOCATION_HINT_FIELD_NUMBER
public static final int LOCATION_HINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAINTENANCE_POLICY_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAINTENANCE_WINDOW_FIELD_NUMBER
public static final int MAINTENANCE_WINDOW_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_TEMPLATE_FIELD_NUMBER
public static final int NODE_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHARE_SETTINGS_FIELD_NUMBER
public static final int SHARE_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_FIELD_NUMBER
public static final int ZONE_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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasAutoscalingPolicy
public boolean hasAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;- Specified by:
hasAutoscalingPolicyin interfaceNodeGroupOrBuilder- Returns:
- Whether the autoscalingPolicy field is set.
-
getAutoscalingPolicy
public NodeGroupAutoscalingPolicy getAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;- Specified by:
getAutoscalingPolicyin interfaceNodeGroupOrBuilder- Returns:
- The autoscalingPolicy.
-
getAutoscalingPolicyOrBuilder
public NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;- Specified by:
getAutoscalingPolicyOrBuilderin interfaceNodeGroupOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- Returns:
- The bytes for description.
-
hasFingerprint
public boolean hasFingerprint()
optional string fingerprint = 234678500;- Specified by:
hasFingerprintin interfaceNodeGroupOrBuilder- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String getFingerprint()
optional string fingerprint = 234678500;- Specified by:
getFingerprintin interfaceNodeGroupOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
optional string fingerprint = 234678500;- Specified by:
getFingerprintBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for fingerprint.
-
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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- Returns:
- The id.
-
hasKind
public boolean hasKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Specified by:
hasKindin interfaceNodeGroupOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Specified by:
getKindin interfaceNodeGroupOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
[Output Only] The type of the resource. Always compute#nodeGroup for node group.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for kind.
-
hasLocationHint
public boolean hasLocationHint()
An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
optional string location_hint = 350519505;- Specified by:
hasLocationHintin interfaceNodeGroupOrBuilder- Returns:
- Whether the locationHint field is set.
-
getLocationHint
public String getLocationHint()
An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
optional string location_hint = 350519505;- Specified by:
getLocationHintin interfaceNodeGroupOrBuilder- Returns:
- The locationHint.
-
getLocationHintBytes
public com.google.protobuf.ByteString getLocationHintBytes()
An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
optional string location_hint = 350519505;- Specified by:
getLocationHintBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for locationHint.
-
hasMaintenancePolicy
public boolean hasMaintenancePolicy()
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Check the MaintenancePolicy enum for the list of possible values.
optional string maintenance_policy = 528327646;- Specified by:
hasMaintenancePolicyin interfaceNodeGroupOrBuilder- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
public String getMaintenancePolicy()
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Check the MaintenancePolicy enum for the list of possible values.
optional string maintenance_policy = 528327646;- Specified by:
getMaintenancePolicyin interfaceNodeGroupOrBuilder- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyBytes
public com.google.protobuf.ByteString getMaintenancePolicyBytes()
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Check the MaintenancePolicy enum for the list of possible values.
optional string maintenance_policy = 528327646;- Specified by:
getMaintenancePolicyBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for maintenancePolicy.
-
hasMaintenanceWindow
public boolean hasMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;- Specified by:
hasMaintenanceWindowin interfaceNodeGroupOrBuilder- Returns:
- Whether the maintenanceWindow field is set.
-
getMaintenanceWindow
public NodeGroupMaintenanceWindow getMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;- Specified by:
getMaintenanceWindowin interfaceNodeGroupOrBuilder- Returns:
- The maintenanceWindow.
-
getMaintenanceWindowOrBuilder
public NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;- Specified by:
getMaintenanceWindowOrBuilderin interfaceNodeGroupOrBuilder
-
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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- Returns:
- The bytes for name.
-
hasNodeTemplate
public boolean hasNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;- Specified by:
hasNodeTemplatein interfaceNodeGroupOrBuilder- Returns:
- Whether the nodeTemplate field is set.
-
getNodeTemplate
public String getNodeTemplate()
URL of the node template to create the node group from.
optional string node_template = 323154455;- Specified by:
getNodeTemplatein interfaceNodeGroupOrBuilder- Returns:
- The nodeTemplate.
-
getNodeTemplateBytes
public com.google.protobuf.ByteString getNodeTemplateBytes()
URL of the node template to create the node group from.
optional string node_template = 323154455;- Specified by:
getNodeTemplateBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for nodeTemplate.
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- 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 interfaceNodeGroupOrBuilder- Returns:
- The bytes for selfLink.
-
hasShareSettings
public boolean hasShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;- Specified by:
hasShareSettingsin interfaceNodeGroupOrBuilder- Returns:
- Whether the shareSettings field is set.
-
getShareSettings
public ShareSettings getShareSettings()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;- Specified by:
getShareSettingsin interfaceNodeGroupOrBuilder- Returns:
- The shareSettings.
-
getShareSettingsOrBuilder
public ShareSettingsOrBuilder getShareSettingsOrBuilder()
Share-settings for the node group
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;- Specified by:
getShareSettingsOrBuilderin interfaceNodeGroupOrBuilder
-
hasSize
public boolean hasSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;- Specified by:
hasSizein interfaceNodeGroupOrBuilder- Returns:
- Whether the size field is set.
-
getSize
public int getSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;- Specified by:
getSizein interfaceNodeGroupOrBuilder- Returns:
- The size.
-
hasStatus
public boolean hasStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
hasStatusin interfaceNodeGroupOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public String getStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceNodeGroupOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for status.
-
hasZone
public boolean hasZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;- Specified by:
hasZonein interfaceNodeGroupOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
public String getZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;- Specified by:
getZonein interfaceNodeGroupOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceNodeGroupOrBuilder- Returns:
- The bytes for zone.
-
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 NodeGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NodeGroup parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeGroup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeGroup parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static NodeGroup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeGroup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static NodeGroup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public NodeGroup.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NodeGroup.Builder newBuilder()
-
newBuilder
public static NodeGroup.Builder newBuilder(NodeGroup prototype)
-
toBuilder
public NodeGroup.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static NodeGroup getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NodeGroup> parser()
-
getParserForType
public com.google.protobuf.Parser<NodeGroup> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-