public static final class CompleteControlPlaneUpgradeRequest.Builder extends GeneratedMessage.Builder<CompleteControlPlaneUpgradeRequest.Builder> implements CompleteControlPlaneUpgradeRequestOrBuilderCompleteControlPlaneUpgradeRequest sets the name of target cluster to complete upgrade.
Protobuf type google.container.v1beta1.CompleteControlPlaneUpgradeRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CompleteControlPlaneUpgradeRequest.BuilderImplements
CompleteControlPlaneUpgradeRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CompleteControlPlaneUpgradeRequest build()| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest |
|
buildPartial()
public CompleteControlPlaneUpgradeRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest |
|
clear()
public CompleteControlPlaneUpgradeRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
|
clearName()
public CompleteControlPlaneUpgradeRequest.Builder clearName() The name (project, location, cluster) of the cluster to complete upgrade.
Specified in the format projects/*/locations/*/clusters/*.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
This builder for chaining. |
clearVersion()
public CompleteControlPlaneUpgradeRequest.Builder clearVersion()API request version that initiates this operation.
string version = 2;
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CompleteControlPlaneUpgradeRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() The name (project, location, cluster) of the cluster to complete upgrade.
Specified in the format projects/*/locations/*/clusters/*.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() The name (project, location, cluster) of the cluster to complete upgrade.
Specified in the format projects/*/locations/*/clusters/*.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getVersion()
public String getVersion()API request version that initiates this operation.
string version = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()API request version that initiates this operation.
string version = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CompleteControlPlaneUpgradeRequest other)
public CompleteControlPlaneUpgradeRequest.Builder mergeFrom(CompleteControlPlaneUpgradeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CompleteControlPlaneUpgradeRequest |
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CompleteControlPlaneUpgradeRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CompleteControlPlaneUpgradeRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
|
setName(String value)
public CompleteControlPlaneUpgradeRequest.Builder setName(String value) The name (project, location, cluster) of the cluster to complete upgrade.
Specified in the format projects/*/locations/*/clusters/*.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public CompleteControlPlaneUpgradeRequest.Builder setNameBytes(ByteString value) The name (project, location, cluster) of the cluster to complete upgrade.
Specified in the format projects/*/locations/*/clusters/*.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
This builder for chaining. |
setVersion(String value)
public CompleteControlPlaneUpgradeRequest.Builder setVersion(String value)API request version that initiates this operation.
string version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public CompleteControlPlaneUpgradeRequest.Builder setVersionBytes(ByteString value)API request version that initiates this operation.
string version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
CompleteControlPlaneUpgradeRequest.Builder |
This builder for chaining. |