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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic UpdateNodePoolRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic UpdateNodePoolRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic UpdateNodePoolRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder mergeFrom(UpdateNodePoolRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public UpdateNodePoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<UpdateNodePoolRequest.Builder>java.io.IOExceptionpublic 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 UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic ByteString getClusterIdBytes()
The name of the cluster to upgrade.
string cluster_id = 3;getClusterIdBytes in interface UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic ByteString getNodePoolIdBytes()
The name of the node pool to upgrade.
string node_pool_id = 4;getNodePoolIdBytes in interface UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic 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 UpdateNodePoolRequestOrBuilderpublic ByteString getImageTypeBytes()
The desired image type for the node pool.
string image_type = 6;getImageTypeBytes in interface UpdateNodePoolRequestOrBuilderpublic 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.BuildersetUnknownFields in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>public final UpdateNodePoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<UpdateNodePoolRequest.Builder>