Package com.google.cloud.alloydb.v1beta
Class UpgradeClusterResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpgradeClusterResponse.Builder>
com.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Builder
- All Implemented Interfaces:
UpgradeClusterResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UpgradeClusterResponse
public static final class UpgradeClusterResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UpgradeClusterResponse.Builder>
implements UpgradeClusterResponseOrBuilder
UpgradeClusterResponse contains the response for upgrade cluster operation.Protobuf type
google.cloud.alloydb.v1beta.UpgradeClusterResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllClusterUpgradeDetails(Iterable<? extends UpgradeClusterResponse.ClusterUpgradeDetails> values) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.addClusterUpgradeDetailsBuilder(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.build()clear()Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.Status of upgrade operation.getClusterUpgradeDetails(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.getClusterUpgradeDetailsBuilder(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.intArray of upgrade details for the current cluster and all the secondary clusters associated with this cluster.Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.getClusterUpgradeDetailsOrBuilder(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA user friendly message summarising the upgrade operation details and the next steps for the user if there is any.com.google.protobuf.ByteStringA user friendly message summarising the upgrade operation details and the next steps for the user if there is any.Status of upgrade operation.intStatus of upgrade operation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UpgradeClusterResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeClusterUpgradeDetails(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.setMessage(String value) A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.setMessageBytes(com.google.protobuf.ByteString value) A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.Status of upgrade operation.setStatusValue(int value) Status of upgrade operation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<UpgradeClusterResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UpgradeClusterResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UpgradeClusterResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpgradeClusterResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UpgradeClusterResponse.Builder>
-
mergeFrom
public UpgradeClusterResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpgradeClusterResponse.Builder>- Throws:
IOException
-
getStatusValue
public int getStatusValue()Status of upgrade operation.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;- Specified by:
getStatusValuein interfaceUpgradeClusterResponseOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Status of upgrade operation.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Status of upgrade operation.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;- Specified by:
getStatusin interfaceUpgradeClusterResponseOrBuilder- Returns:
- The status.
-
setStatus
Status of upgrade operation.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Status of upgrade operation.
.google.cloud.alloydb.v1beta.UpgradeClusterResponse.Status status = 1;- Returns:
- This builder for chaining.
-
getMessage
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
string message = 2;- Specified by:
getMessagein interfaceUpgradeClusterResponseOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
string message = 2;- Specified by:
getMessageBytesin interfaceUpgradeClusterResponseOrBuilder- Returns:
- The bytes for message.
-
setMessage
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
string message = 2;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
string message = 2;- Returns:
- This builder for chaining.
-
setMessageBytes
A user friendly message summarising the upgrade operation details and the next steps for the user if there is any.
string message = 2;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getClusterUpgradeDetailsList
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;- Specified by:
getClusterUpgradeDetailsListin interfaceUpgradeClusterResponseOrBuilder
-
getClusterUpgradeDetailsCount
public int getClusterUpgradeDetailsCount()Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;- Specified by:
getClusterUpgradeDetailsCountin interfaceUpgradeClusterResponseOrBuilder
-
getClusterUpgradeDetails
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;- Specified by:
getClusterUpgradeDetailsin interfaceUpgradeClusterResponseOrBuilder
-
setClusterUpgradeDetails
public UpgradeClusterResponse.Builder setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
setClusterUpgradeDetails
public UpgradeClusterResponse.Builder setClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
addClusterUpgradeDetails
public UpgradeClusterResponse.Builder addClusterUpgradeDetails(UpgradeClusterResponse.ClusterUpgradeDetails value) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
addClusterUpgradeDetails
public UpgradeClusterResponse.Builder addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails value) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
addClusterUpgradeDetails
public UpgradeClusterResponse.Builder addClusterUpgradeDetails(UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
addClusterUpgradeDetails
public UpgradeClusterResponse.Builder addClusterUpgradeDetails(int index, UpgradeClusterResponse.ClusterUpgradeDetails.Builder builderForValue) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
addAllClusterUpgradeDetails
public UpgradeClusterResponse.Builder addAllClusterUpgradeDetails(Iterable<? extends UpgradeClusterResponse.ClusterUpgradeDetails> values) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
clearClusterUpgradeDetails
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
removeClusterUpgradeDetails
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
getClusterUpgradeDetailsBuilder
public UpgradeClusterResponse.ClusterUpgradeDetails.Builder getClusterUpgradeDetailsBuilder(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
getClusterUpgradeDetailsOrBuilder
public UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder getClusterUpgradeDetailsOrBuilder(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;- Specified by:
getClusterUpgradeDetailsOrBuilderin interfaceUpgradeClusterResponseOrBuilder
-
getClusterUpgradeDetailsOrBuilderList
public List<? extends UpgradeClusterResponse.ClusterUpgradeDetailsOrBuilder> getClusterUpgradeDetailsOrBuilderList()Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;- Specified by:
getClusterUpgradeDetailsOrBuilderListin interfaceUpgradeClusterResponseOrBuilder
-
addClusterUpgradeDetailsBuilder
Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
addClusterUpgradeDetailsBuilder
public UpgradeClusterResponse.ClusterUpgradeDetails.Builder addClusterUpgradeDetailsBuilder(int index) Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3; -
getClusterUpgradeDetailsBuilderList
public List<UpgradeClusterResponse.ClusterUpgradeDetails.Builder> getClusterUpgradeDetailsBuilderList()Array of upgrade details for the current cluster and all the secondary clusters associated with this cluster.
repeated .google.cloud.alloydb.v1beta.UpgradeClusterResponse.ClusterUpgradeDetails cluster_upgrade_details = 3;
-