public static final class UpgradeClusterResponse.InstanceUpgradeDetails.Builder extends GeneratedMessageV3.Builder<UpgradeClusterResponse.InstanceUpgradeDetails.Builder> implements UpgradeClusterResponse.InstanceUpgradeDetailsOrBuilder
Details regarding the upgrade of instaces associated with a cluster.
Protobuf type
google.cloud.alloydb.v1alpha.UpgradeClusterResponse.InstanceUpgradeDetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpgradeClusterResponse.InstanceUpgradeDetails.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
build()
public UpgradeClusterResponse.InstanceUpgradeDetails build()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
buildPartial()
public UpgradeClusterResponse.InstanceUpgradeDetails buildPartial()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
clear()
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clear()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
clearInstanceType()
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearInstanceType()
Instance type.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 3;
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
clearName()
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearName()
Normalized name of the instance.
string name = 1;
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
clearUpgradeStatus()
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearUpgradeStatus()
Upgrade status of the instance.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
clone()
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clone()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
getDefaultInstanceForType()
public UpgradeClusterResponse.InstanceUpgradeDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInstanceType()
public Instance.InstanceType getInstanceType()
Instance type.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 3;
Returns | |
---|---|
Type | Description |
Instance.InstanceType |
The instanceType. |
getInstanceTypeValue()
public int getInstanceTypeValue()
Instance type.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for instanceType. |
getName()
public String getName()
Normalized name of the instance.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Normalized name of the instance.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getUpgradeStatus()
public UpgradeClusterResponse.Status getUpgradeStatus()
Upgrade status of the instance.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.Status |
The upgradeStatus. |
getUpgradeStatusValue()
public int getUpgradeStatusValue()
Upgrade status of the instance.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for upgradeStatus. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UpgradeClusterResponse.InstanceUpgradeDetails other)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder mergeFrom(UpgradeClusterResponse.InstanceUpgradeDetails other)
Parameter | |
---|---|
Name | Description |
other |
UpgradeClusterResponse.InstanceUpgradeDetails |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterResponse.InstanceUpgradeDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
setInstanceType(Instance.InstanceType value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setInstanceType(Instance.InstanceType value)
Instance type.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 3;
Parameter | |
---|---|
Name | Description |
value |
Instance.InstanceType The instanceType to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
setInstanceTypeValue(int value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setInstanceTypeValue(int value)
Instance type.
.google.cloud.alloydb.v1alpha.Instance.InstanceType instance_type = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for instanceType to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
setName(String value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setName(String value)
Normalized name of the instance.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setNameBytes(ByteString value)
Normalized name of the instance.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpgradeClusterResponse.InstanceUpgradeDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
setUpgradeStatus(UpgradeClusterResponse.Status value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setUpgradeStatus(UpgradeClusterResponse.Status value)
Upgrade status of the instance.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;
Parameter | |
---|---|
Name | Description |
value |
UpgradeClusterResponse.Status The upgradeStatus to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |
setUpgradeStatusValue(int value)
public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setUpgradeStatusValue(int value)
Upgrade status of the instance.
.google.cloud.alloydb.v1alpha.UpgradeClusterResponse.Status upgrade_status = 2;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for upgradeStatus to set. |
Returns | |
---|---|
Type | Description |
UpgradeClusterResponse.InstanceUpgradeDetails.Builder |
This builder for chaining. |