Package com.google.cloud.alloydb.v1beta
Class UpgradeClusterResponse.ClusterUpgradeDetails
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails
- All Implemented Interfaces:
UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- UpgradeClusterResponse
public static final class UpgradeClusterResponse.ClusterUpgradeDetails
extends com.google.protobuf.GeneratedMessage
implements UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
Upgrade details of a cluster. This cluster can be primary or secondary.Protobuf type
google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUpgrade details of a cluster.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanCluster type which can either be primary or secondary.intCluster type which can either be primary or secondary.Database version of the cluster after the upgrade operation.intDatabase version of the cluster after the upgrade operation.static final com.google.protobuf.Descriptors.DescriptorgetInstanceUpgradeDetails(int index) Upgrade details of the instances directly associated with this cluster.intUpgrade details of the instances directly associated with this cluster.Upgrade details of the instances directly associated with this cluster.getInstanceUpgradeDetailsOrBuilder(int index) Upgrade details of the instances directly associated with this cluster.Upgrade details of the instances directly associated with this cluster.getName()Normalized name of the clustercom.google.protobuf.ByteStringNormalized name of the clustercom.google.protobuf.Parser<UpgradeClusterResponse.ClusterUpgradeDetails>intgetStageInfo(int index) Array containing stage info associated with this cluster.intArray containing stage info associated with this cluster.Array containing stage info associated with this cluster.getStageInfoOrBuilder(int index) Array containing stage info associated with this cluster.List<? extends UpgradeClusterResponse.StageInfoOrBuilder>Array containing stage info associated with this cluster.Upgrade status of the cluster.intUpgrade status of the cluster.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<UpgradeClusterResponse.ClusterUpgradeDetails>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
UPGRADE_STATUS_FIELD_NUMBER
public static final int UPGRADE_STATUS_FIELD_NUMBER- See Also:
-
CLUSTER_TYPE_FIELD_NUMBER
public static final int CLUSTER_TYPE_FIELD_NUMBER- See Also:
-
DATABASE_VERSION_FIELD_NUMBER
public static final int DATABASE_VERSION_FIELD_NUMBER- See Also:
-
STAGE_INFO_FIELD_NUMBER
public static final int STAGE_INFO_FIELD_NUMBER- See Also:
-
INSTANCE_UPGRADE_DETAILS_FIELD_NUMBER
public static final int INSTANCE_UPGRADE_DETAILS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Normalized name of the cluster
string name = 1;- Specified by:
getNamein interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Normalized name of the cluster
string name = 1;- Specified by:
getNameBytesin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The bytes for name.
-
getUpgradeStatusValue
public int getUpgradeStatusValue()Upgrade status of the cluster.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status upgrade_status = 2;- Specified by:
getUpgradeStatusValuein interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The enum numeric value on the wire for upgradeStatus.
-
getUpgradeStatus
Upgrade status of the cluster.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status upgrade_status = 2;- Specified by:
getUpgradeStatusin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The upgradeStatus.
-
getClusterTypeValue
public int getClusterTypeValue()Cluster type which can either be primary or secondary.
.google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 3;- Specified by:
getClusterTypeValuein interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The enum numeric value on the wire for clusterType.
-
getClusterType
Cluster type which can either be primary or secondary.
.google.cloud.alloydb.v1beta.Cluster.ClusterType cluster_type = 3;- Specified by:
getClusterTypein interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The clusterType.
-
getDatabaseVersionValue
public int getDatabaseVersionValue()Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.
.google.cloud.alloydb.v1beta.DatabaseVersion database_version = 4;- Specified by:
getDatabaseVersionValuein interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The enum numeric value on the wire for databaseVersion.
-
getDatabaseVersion
Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.
.google.cloud.alloydb.v1beta.DatabaseVersion database_version = 4;- Specified by:
getDatabaseVersionin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder- Returns:
- The databaseVersion.
-
getStageInfoList
Array containing stage info associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo stage_info = 5;- Specified by:
getStageInfoListin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getStageInfoOrBuilderList
Array containing stage info associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo stage_info = 5;- Specified by:
getStageInfoOrBuilderListin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getStageInfoCount
public int getStageInfoCount()Array containing stage info associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo stage_info = 5;- Specified by:
getStageInfoCountin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getStageInfo
Array containing stage info associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo stage_info = 5;- Specified by:
getStageInfoin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getStageInfoOrBuilder
Array containing stage info associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.StageInfo stage_info = 5;- Specified by:
getStageInfoOrBuilderin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getInstanceUpgradeDetailsList
Upgrade details of the instances directly associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;- Specified by:
getInstanceUpgradeDetailsListin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getInstanceUpgradeDetailsOrBuilderList
public List<? extends UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder> getInstanceUpgradeDetailsOrBuilderList()Upgrade details of the instances directly associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;- Specified by:
getInstanceUpgradeDetailsOrBuilderListin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getInstanceUpgradeDetailsCount
public int getInstanceUpgradeDetailsCount()Upgrade details of the instances directly associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;- Specified by:
getInstanceUpgradeDetailsCountin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getInstanceUpgradeDetails
Upgrade details of the instances directly associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;- Specified by:
getInstanceUpgradeDetailsin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
getInstanceUpgradeDetailsOrBuilder
public UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder getInstanceUpgradeDetailsOrBuilder(int index) Upgrade details of the instances directly associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails instance_upgrade_details = 6;- Specified by:
getInstanceUpgradeDetailsOrBuilderin interfaceUpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UpgradeClusterResponse.ClusterUpgradeDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilder(UpgradeClusterResponse.ClusterUpgradeDetails prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UpgradeClusterResponse.ClusterUpgradeDetails.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-