public static final class UpdateNodePoolRequest.Builder extends GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder> implements UpdateNodePoolRequestOrBuilder
UpdateNodePoolRequests update a node pool's image and/or version.Protobuf type
google.container.v1.UpdateNodePoolRequest
Modifier and Type | Method and Description |
---|---|
UpdateNodePoolRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
UpdateNodePoolRequest |
build() |
UpdateNodePoolRequest |
buildPartial() |
UpdateNodePoolRequest.Builder |
clear() |
UpdateNodePoolRequest.Builder |
clearClusterId()
The name of the cluster to upgrade.
|
UpdateNodePoolRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
UpdateNodePoolRequest.Builder |
clearImageType()
The desired image type for the node pool.
|
UpdateNodePoolRequest.Builder |
clearNodePoolId()
The name of the node pool to upgrade.
|
UpdateNodePoolRequest.Builder |
clearNodeVersion()
The Kubernetes version to change the nodes to (typically an
upgrade).
|
UpdateNodePoolRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
UpdateNodePoolRequest.Builder |
clearProjectId()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
UpdateNodePoolRequest.Builder |
clearZone()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
UpdateNodePoolRequest.Builder |
clone() |
java.lang.String |
getClusterId()
The name of the cluster to upgrade.
|
ByteString |
getClusterIdBytes()
The name of the cluster to upgrade.
|
UpdateNodePoolRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getImageType()
The desired image type for the node pool.
|
ByteString |
getImageTypeBytes()
The desired image type for the node pool.
|
java.lang.String |
getNodePoolId()
The name of the node pool to upgrade.
|
ByteString |
getNodePoolIdBytes()
The name of the node pool to upgrade.
|
java.lang.String |
getNodeVersion()
The Kubernetes version to change the nodes to (typically an
upgrade).
|
ByteString |
getNodeVersionBytes()
The Kubernetes version to change the nodes to (typically an
upgrade).
|
java.lang.String |
getProjectId()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
ByteString |
getProjectIdBytes()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
java.lang.String |
getZone()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
ByteString |
getZoneBytes()
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateNodePoolRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
UpdateNodePoolRequest.Builder |
mergeFrom(Message other) |
UpdateNodePoolRequest.Builder |
mergeFrom(UpdateNodePoolRequest other) |
UpdateNodePoolRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
UpdateNodePoolRequest.Builder |
setClusterId(java.lang.String value)
The name of the cluster to upgrade.
|
UpdateNodePoolRequest.Builder |
setClusterIdBytes(ByteString value)
The name of the cluster to upgrade.
|
UpdateNodePoolRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
UpdateNodePoolRequest.Builder |
setImageType(java.lang.String value)
The desired image type for the node pool.
|
UpdateNodePoolRequest.Builder |
setImageTypeBytes(ByteString value)
The desired image type for the node pool.
|
UpdateNodePoolRequest.Builder |
setNodePoolId(java.lang.String value)
The name of the node pool to upgrade.
|
UpdateNodePoolRequest.Builder |
setNodePoolIdBytes(ByteString value)
The name of the node pool to upgrade.
|
UpdateNodePoolRequest.Builder |
setNodeVersion(java.lang.String value)
The Kubernetes version to change the nodes to (typically an
upgrade).
|
UpdateNodePoolRequest.Builder |
setNodeVersionBytes(ByteString value)
The Kubernetes version to change the nodes to (typically an
upgrade).
|
UpdateNodePoolRequest.Builder |
setProjectId(java.lang.String value)
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
UpdateNodePoolRequest.Builder |
setProjectIdBytes(ByteString value)
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
UpdateNodePoolRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
UpdateNodePoolRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
UpdateNodePoolRequest.Builder |
setZone(java.lang.String value)
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
UpdateNodePoolRequest.Builder |
setZoneBytes(ByteString value)
The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public UpdateNodePoolRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public UpdateNodePoolRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public UpdateNodePoolRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder mergeFrom(UpdateNodePoolRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public UpdateNodePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<UpdateNodePoolRequest.Builder>
java.io.IOException
public java.lang.String getProjectId()
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;
getProjectId
in interface UpdateNodePoolRequestOrBuilder
public ByteString getProjectIdBytes()
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;
getProjectIdBytes
in interface UpdateNodePoolRequestOrBuilder
public UpdateNodePoolRequest.Builder setProjectId(java.lang.String value)
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;
public UpdateNodePoolRequest.Builder clearProjectId()
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;
public UpdateNodePoolRequest.Builder setProjectIdBytes(ByteString value)
The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
string project_id = 1;
public java.lang.String getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 2;
getZone
in interface UpdateNodePoolRequestOrBuilder
public ByteString getZoneBytes()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 2;
getZoneBytes
in interface UpdateNodePoolRequestOrBuilder
public UpdateNodePoolRequest.Builder setZone(java.lang.String value)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 2;
public UpdateNodePoolRequest.Builder clearZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 2;
public UpdateNodePoolRequest.Builder setZoneBytes(ByteString value)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.
string zone = 2;
public java.lang.String getClusterId()
The name of the cluster to upgrade.
string cluster_id = 3;
getClusterId
in interface UpdateNodePoolRequestOrBuilder
public ByteString getClusterIdBytes()
The name of the cluster to upgrade.
string cluster_id = 3;
getClusterIdBytes
in interface UpdateNodePoolRequestOrBuilder
public UpdateNodePoolRequest.Builder setClusterId(java.lang.String value)
The name of the cluster to upgrade.
string cluster_id = 3;
public UpdateNodePoolRequest.Builder clearClusterId()
The name of the cluster to upgrade.
string cluster_id = 3;
public UpdateNodePoolRequest.Builder setClusterIdBytes(ByteString value)
The name of the cluster to upgrade.
string cluster_id = 3;
public java.lang.String getNodePoolId()
The name of the node pool to upgrade.
string node_pool_id = 4;
getNodePoolId
in interface UpdateNodePoolRequestOrBuilder
public ByteString getNodePoolIdBytes()
The name of the node pool to upgrade.
string node_pool_id = 4;
getNodePoolIdBytes
in interface UpdateNodePoolRequestOrBuilder
public UpdateNodePoolRequest.Builder setNodePoolId(java.lang.String value)
The name of the node pool to upgrade.
string node_pool_id = 4;
public UpdateNodePoolRequest.Builder clearNodePoolId()
The name of the node pool to upgrade.
string node_pool_id = 4;
public UpdateNodePoolRequest.Builder setNodePoolIdBytes(ByteString value)
The name of the node pool to upgrade.
string node_pool_id = 4;
public java.lang.String getNodeVersion()
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
string node_version = 5;
getNodeVersion
in interface UpdateNodePoolRequestOrBuilder
public ByteString getNodeVersionBytes()
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
string node_version = 5;
getNodeVersionBytes
in interface UpdateNodePoolRequestOrBuilder
public UpdateNodePoolRequest.Builder setNodeVersion(java.lang.String value)
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
string node_version = 5;
public UpdateNodePoolRequest.Builder clearNodeVersion()
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
string node_version = 5;
public UpdateNodePoolRequest.Builder setNodeVersionBytes(ByteString value)
The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.
string node_version = 5;
public java.lang.String getImageType()
The desired image type for the node pool.
string image_type = 6;
getImageType
in interface UpdateNodePoolRequestOrBuilder
public ByteString getImageTypeBytes()
The desired image type for the node pool.
string image_type = 6;
getImageTypeBytes
in interface UpdateNodePoolRequestOrBuilder
public UpdateNodePoolRequest.Builder setImageType(java.lang.String value)
The desired image type for the node pool.
string image_type = 6;
public UpdateNodePoolRequest.Builder clearImageType()
The desired image type for the node pool.
string image_type = 6;
public UpdateNodePoolRequest.Builder setImageTypeBytes(ByteString value)
The desired image type for the node pool.
string image_type = 6;
public final UpdateNodePoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>
public final UpdateNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>