Class UpgradeClusterResponse.StageInfo (0.43.0)

public static final class UpgradeClusterResponse.StageInfo extends GeneratedMessageV3 implements UpgradeClusterResponse.StageInfoOrBuilder

Stage information for different stages in the upgrade process.

Protobuf type google.cloud.alloydb.v1alpha.UpgradeClusterResponse.StageInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UpgradeClusterResponse.StageInfo

Static Fields

LOGS_URL_FIELD_NUMBER

public static final int LOGS_URL_FIELD_NUMBER
Field Value
Type Description
int

STAGE_FIELD_NUMBER

public static final int STAGE_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpgradeClusterResponse.StageInfo getDefaultInstance()
Returns
Type Description
UpgradeClusterResponse.StageInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static UpgradeClusterResponse.StageInfo.Builder newBuilder()
Returns
Type Description
UpgradeClusterResponse.StageInfo.Builder

newBuilder(UpgradeClusterResponse.StageInfo prototype)

public static UpgradeClusterResponse.StageInfo.Builder newBuilder(UpgradeClusterResponse.StageInfo prototype)
Parameter
Name Description
prototype UpgradeClusterResponse.StageInfo
Returns
Type Description
UpgradeClusterResponse.StageInfo.Builder

parseDelimitedFrom(InputStream input)

public static UpgradeClusterResponse.StageInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.StageInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpgradeClusterResponse.StageInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.StageInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpgradeClusterResponse.StageInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.StageInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpgradeClusterResponse.StageInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.StageInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpgradeClusterResponse.StageInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.StageInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpgradeClusterResponse.StageInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpgradeClusterResponse.StageInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpgradeClusterResponse.StageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpgradeClusterResponse.StageInfo> parser()
Returns
Type Description
Parser<StageInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpgradeClusterResponse.StageInfo getDefaultInstanceForType()
Returns
Type Description
UpgradeClusterResponse.StageInfo

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.

getParserForType()

public Parser<UpgradeClusterResponse.StageInfo> getParserForType()
Returns
Type Description
Parser<StageInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpgradeClusterResponse.StageInfo.Builder newBuilderForType()
Returns
Type Description
UpgradeClusterResponse.StageInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpgradeClusterResponse.StageInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpgradeClusterResponse.StageInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpgradeClusterResponse.StageInfo.Builder toBuilder()
Returns
Type Description
UpgradeClusterResponse.StageInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException