public static final class UpgradeClusterResponse.StageInfo.Builder extends GeneratedMessageV3.Builder<UpgradeClusterResponse.StageInfo.Builder> implements UpgradeClusterResponse.StageInfoOrBuilderStage information for different stages in the upgrade process.
Protobuf type google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeClusterResponse.StageInfo.BuilderImplements
UpgradeClusterResponse.StageInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterResponse.StageInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
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 |
|
clearField(Descriptors.FieldDescriptor field)
public UpgradeClusterResponse.StageInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| 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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeClusterResponse.StageInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
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. |
clone()
public UpgradeClusterResponse.StageInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
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 GeneratedMessageV3.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 |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterResponse.StageInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterResponse.StageInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| 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. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeClusterResponse.StageInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|
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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterResponse.StageInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.StageInfo.Builder |
|