- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
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.v1.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.v1.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.v1.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.v1.UpgradeClusterResponse.Stage stage = 1;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Stage |
The stage. |
getStageValue()
public int getStageValue()The stage.
.google.cloud.alloydb.v1.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.v1.UpgradeClusterResponse.Status status = 2;
| Returns | |
|---|---|
| Type | Description |
UpgradeClusterResponse.Status |
The status. |
getStatusValue()
public int getStatusValue()Status of the stage.
.google.cloud.alloydb.v1.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.v1.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.v1.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.v1.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.v1.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 |
|