public static final class UpgradeClusterResponse.StageInfo.Builder extends GeneratedMessage.Builder<UpgradeClusterResponse.StageInfo.Builder> implements UpgradeClusterResponse.StageInfoOrBuilderStage information for different stages in the upgrade process.
Protobuf type google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpgradeClusterResponse.StageInfo.BuilderImplements
UpgradeClusterResponse.StageInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpgradeClusterResponse.StageInfo build()| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo |
|
buildPartial()
public UpgradeClusterResponse.StageInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo |
|
clear()
public UpgradeClusterResponse.StageInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
clearLogsUrl()
public UpgradeClusterResponse.StageInfo.Builder clearLogsUrl()logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
string logs_url = 3;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
clearStage()
public UpgradeClusterResponse.StageInfo.Builder clearStage()The stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage stage = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
clearStatus()
public UpgradeClusterResponse.StageInfo.Builder clearStatus()Status of the stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UpgradeClusterResponse.StageInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLogsUrl()
public String getLogsUrl()logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
string logs_url = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The logsUrl. |
getLogsUrlBytes()
public ByteString getLogsUrlBytes()logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
string logs_url = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for logsUrl. |
getStage()
public UpgradeClusterResponse.Stage getStage()The stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage stage = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Stage |
The stage. |
getStageValue()
public int getStageValue()The stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage stage = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for stage. |
getStatus()
public UpgradeClusterResponse.Status getStatus()Status of the stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Status |
The status. |
getStatusValue()
public int getStatusValue()Status of the stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UpgradeClusterResponse.StageInfo other)
public UpgradeClusterResponse.StageInfo.Builder mergeFrom(UpgradeClusterResponse.StageInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
UpgradeClusterResponse.StageInfo |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeClusterResponse.StageInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpgradeClusterResponse.StageInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
setLogsUrl(String value)
public UpgradeClusterResponse.StageInfo.Builder setLogsUrl(String value)logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
string logs_url = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe logsUrl to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
setLogsUrlBytes(ByteString value)
public UpgradeClusterResponse.StageInfo.Builder setLogsUrlBytes(ByteString value)logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
string logs_url = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for logsUrl to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
setStage(UpgradeClusterResponse.Stage value)
public UpgradeClusterResponse.StageInfo.Builder setStage(UpgradeClusterResponse.Stage value)The stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage stage = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
UpgradeClusterResponse.StageThe stage to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
setStageValue(int value)
public UpgradeClusterResponse.StageInfo.Builder setStageValue(int value)The stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Stage stage = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for stage to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
setStatus(UpgradeClusterResponse.Status value)
public UpgradeClusterResponse.StageInfo.Builder setStatus(UpgradeClusterResponse.Status value)Status of the stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
UpgradeClusterResponse.StatusThe status to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |
setStatusValue(int value)
public UpgradeClusterResponse.StageInfo.Builder setStatusValue(int value)Status of the stage.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
This builder for chaining. |