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 class
NodeGroup.Builder
Represents a sole-tenant Node Group resource.static class
NodeGroup.MaintenancePolicy
Specifies how to handle instances when a node in the group undergoes maintenance.static class
NodeGroup.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 int
AUTOSCALING_POLICY_FIELD_NUMBER
static int
CREATION_TIMESTAMP_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
FINGERPRINT_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
KIND_FIELD_NUMBER
static int
LOCATION_HINT_FIELD_NUMBER
static int
MAINTENANCE_POLICY_FIELD_NUMBER
static int
MAINTENANCE_WINDOW_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NODE_TEMPLATE_FIELD_NUMBER
static int
SELF_LINK_FIELD_NUMBER
static int
SHARE_SETTINGS_FIELD_NUMBER
static int
SIZE_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
static int
ZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
NodeGroupAutoscalingPolicy
getAutoscalingPolicy()
Specifies how autoscaling should behave.NodeGroupAutoscalingPolicyOrBuilder
getAutoscalingPolicyOrBuilder()
Specifies how autoscaling should behave.String
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.com.google.protobuf.ByteString
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.static NodeGroup
getDefaultInstance()
NodeGroup
getDefaultInstanceForType()
String
getDescription()
An optional description of this resource.com.google.protobuf.ByteString
getDescriptionBytes()
An optional description of this resource.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFingerprint()
optional string fingerprint = 234678500;
com.google.protobuf.ByteString
getFingerprintBytes()
optional string fingerprint = 234678500;
long
getId()
[Output Only] The unique identifier for the resource.String
getKind()
[Output Only] The type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] The type of the resource.String
getLocationHint()
An opaque location hint used to place the Node close to other resources.com.google.protobuf.ByteString
getLocationHintBytes()
An opaque location hint used to place the Node close to other resources.String
getMaintenancePolicy()
Specifies how to handle instances when a node in the group undergoes maintenance.com.google.protobuf.ByteString
getMaintenancePolicyBytes()
Specifies how to handle instances when a node in the group undergoes maintenance.NodeGroupMaintenanceWindow
getMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
NodeGroupMaintenanceWindowOrBuilder
getMaintenanceWindowOrBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
String
getName()
The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteString
getNameBytes()
The name of the resource, provided by the client when initially creating the resource.String
getNodeTemplate()
URL of the node template to create the node group from.com.google.protobuf.ByteString
getNodeTemplateBytes()
URL of the node template to create the node group from.com.google.protobuf.Parser<NodeGroup>
getParserForType()
String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.int
getSerializedSize()
ShareSettings
getShareSettings()
Share-settings for the node groupShareSettingsOrBuilder
getShareSettingsOrBuilder()
Share-settings for the node groupint
getSize()
[Output Only] The total number of nodes in the node group.String
getStatus()
Check the Status enum for the list of possible values.com.google.protobuf.ByteString
getStatusBytes()
Check the Status enum for the list of possible values.String
getZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.com.google.protobuf.ByteString
getZoneBytes()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.boolean
hasAutoscalingPolicy()
Specifies how autoscaling should behave.boolean
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.boolean
hasDescription()
An optional description of this resource.boolean
hasFingerprint()
optional string fingerprint = 234678500;
int
hashCode()
boolean
hasId()
[Output Only] The unique identifier for the resource.boolean
hasKind()
[Output Only] The type of the resource.boolean
hasLocationHint()
An opaque location hint used to place the Node close to other resources.boolean
hasMaintenancePolicy()
Specifies how to handle instances when a node in the group undergoes maintenance.boolean
hasMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
boolean
hasName()
The name of the resource, provided by the client when initially creating the resource.boolean
hasNodeTemplate()
URL of the node template to create the node group from.boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.boolean
hasShareSettings()
Share-settings for the node groupboolean
hasSize()
[Output Only] The total number of nodes in the node group.boolean
hasStatus()
Check the Status enum for the list of possible values.boolean
hasZone()
[Output Only] The name of the zone where the node group resides, such as us-central1-a.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static NodeGroup.Builder
newBuilder()
static NodeGroup.Builder
newBuilder(NodeGroup prototype)
NodeGroup.Builder
newBuilderForType()
protected NodeGroup.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static NodeGroup
parseDelimitedFrom(InputStream input)
static NodeGroup
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroup
parseFrom(byte[] data)
static NodeGroup
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroup
parseFrom(com.google.protobuf.ByteString data)
static NodeGroup
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroup
parseFrom(com.google.protobuf.CodedInputStream input)
static NodeGroup
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroup
parseFrom(InputStream input)
static NodeGroup
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static NodeGroup
parseFrom(ByteBuffer data)
static NodeGroup
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<NodeGroup>
parser()
NodeGroup.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasAutoscalingPolicy
public boolean hasAutoscalingPolicy()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
- Specified by:
hasAutoscalingPolicy
in 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:
getAutoscalingPolicy
in interfaceNodeGroupOrBuilder
- Returns:
- The autoscalingPolicy.
-
getAutoscalingPolicyOrBuilder
public NodeGroupAutoscalingPolicyOrBuilder getAutoscalingPolicyOrBuilder()
Specifies how autoscaling should behave.
optional .google.cloud.compute.v1.NodeGroupAutoscalingPolicy autoscaling_policy = 221950041;
- Specified by:
getAutoscalingPolicyOrBuilder
in interfaceNodeGroupOrBuilder
-
hasCreationTimestamp
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Specified by:
hasCreationTimestamp
in 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:
getCreationTimestamp
in 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:
getCreationTimestampBytes
in 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:
hasDescription
in 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:
getDescription
in 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:
getDescriptionBytes
in interfaceNodeGroupOrBuilder
- Returns:
- The bytes for description.
-
hasFingerprint
public boolean hasFingerprint()
optional string fingerprint = 234678500;
- Specified by:
hasFingerprint
in interfaceNodeGroupOrBuilder
- Returns:
- Whether the fingerprint field is set.
-
getFingerprint
public String getFingerprint()
optional string fingerprint = 234678500;
- Specified by:
getFingerprint
in interfaceNodeGroupOrBuilder
- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()
optional string fingerprint = 234678500;
- Specified by:
getFingerprintBytes
in 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:
hasId
in 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:
getId
in 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:
hasKind
in 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:
getKind
in 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:
getKindBytes
in 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:
hasLocationHint
in 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:
getLocationHint
in 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:
getLocationHintBytes
in 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:
hasMaintenancePolicy
in 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:
getMaintenancePolicy
in 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:
getMaintenancePolicyBytes
in interfaceNodeGroupOrBuilder
- Returns:
- The bytes for maintenancePolicy.
-
hasMaintenanceWindow
public boolean hasMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
- Specified by:
hasMaintenanceWindow
in interfaceNodeGroupOrBuilder
- Returns:
- Whether the maintenanceWindow field is set.
-
getMaintenanceWindow
public NodeGroupMaintenanceWindow getMaintenanceWindow()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
- Specified by:
getMaintenanceWindow
in interfaceNodeGroupOrBuilder
- Returns:
- The maintenanceWindow.
-
getMaintenanceWindowOrBuilder
public NodeGroupMaintenanceWindowOrBuilder getMaintenanceWindowOrBuilder()
optional .google.cloud.compute.v1.NodeGroupMaintenanceWindow maintenance_window = 186374812;
- Specified by:
getMaintenanceWindowOrBuilder
in 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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasNodeTemplate
in 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:
getNodeTemplate
in 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:
getNodeTemplateBytes
in 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:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in 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:
hasShareSettings
in 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:
getShareSettings
in 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:
getShareSettingsOrBuilder
in interfaceNodeGroupOrBuilder
-
hasSize
public boolean hasSize()
[Output Only] The total number of nodes in the node group.
optional int32 size = 3530753;
- Specified by:
hasSize
in 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:
getSize
in interfaceNodeGroupOrBuilder
- Returns:
- The size.
-
hasStatus
public boolean hasStatus()
Check the Status enum for the list of possible values.
optional string status = 181260274;
- Specified by:
hasStatus
in 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:
getStatus
in 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:
getStatusBytes
in 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:
hasZone
in 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:
getZone
in 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:
getZoneBytes
in interfaceNodeGroupOrBuilder
- Returns:
- The bytes for zone.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NodeGroup.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NodeGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-