public static final class FetchClusterUpgradeInfoRequest.Builder extends GeneratedMessage.Builder<FetchClusterUpgradeInfoRequest.Builder> implements FetchClusterUpgradeInfoRequestOrBuilderFetchClusterUpgradeInfoRequest fetches the upgrade information of a cluster.
Protobuf type google.container.v1.FetchClusterUpgradeInfoRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchClusterUpgradeInfoRequest.BuilderImplements
FetchClusterUpgradeInfoRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FetchClusterUpgradeInfoRequest build()| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest |
|
buildPartial()
public FetchClusterUpgradeInfoRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest |
|
clear()
public FetchClusterUpgradeInfoRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
|
clearName()
public FetchClusterUpgradeInfoRequest.Builder clearName() Required. The name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
This builder for chaining. |
clearVersion()
public FetchClusterUpgradeInfoRequest.Builder clearVersion()API request version that initiates this operation.
string version = 100;
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FetchClusterUpgradeInfoRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getVersion()
public String getVersion()API request version that initiates this operation.
string version = 100;
| Returns | |
|---|---|
| Type | Description |
String |
The version. |
getVersionBytes()
public ByteString getVersionBytes()API request version that initiates this operation.
string version = 100;
| 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(FetchClusterUpgradeInfoRequest other)
public FetchClusterUpgradeInfoRequest.Builder mergeFrom(FetchClusterUpgradeInfoRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchClusterUpgradeInfoRequest |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchClusterUpgradeInfoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchClusterUpgradeInfoRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
|
setName(String value)
public FetchClusterUpgradeInfoRequest.Builder setName(String value) Required. The name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FetchClusterUpgradeInfoRequest.Builder setNameBytes(ByteString value) Required. The name (project, location, cluster) of the cluster to get.
Specified in the format projects/*/locations/*/clusters/* or
projects/*/zones/*/clusters/*.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
This builder for chaining. |
setVersion(String value)
public FetchClusterUpgradeInfoRequest.Builder setVersion(String value)API request version that initiates this operation.
string version = 100;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe version to set. |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
This builder for chaining. |
setVersionBytes(ByteString value)
public FetchClusterUpgradeInfoRequest.Builder setVersionBytes(ByteString value)API request version that initiates this operation.
string version = 100;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for version to set. |
| Returns | |
|---|---|
| Type | Description |
FetchClusterUpgradeInfoRequest.Builder |
This builder for chaining. |