Class UpgradeClusterResponse.InstanceUpgradeDetails.Builder (0.44.0)

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.v1beta.UpgradeClusterResponse.InstanceUpgradeDetails

Static 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
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpgradeClusterResponse.InstanceUpgradeDetails.Builder
Overrides

clearInstanceType()

public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearInstanceType()

Instance type.

.google.cloud.alloydb.v1beta.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
Overrides

clearUpgradeStatus()

public UpgradeClusterResponse.InstanceUpgradeDetails.Builder clearUpgradeStatus()

Upgrade status of the instance.

.google.cloud.alloydb.v1beta.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
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstanceType()

public Instance.InstanceType getInstanceType()

Instance type.

.google.cloud.alloydb.v1beta.Instance.InstanceType instance_type = 3;

Returns
Type Description
Instance.InstanceType

The instanceType.

getInstanceTypeValue()

public int getInstanceTypeValue()

Instance type.

.google.cloud.alloydb.v1beta.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.v1beta.UpgradeClusterResponse.Status upgrade_status = 2;

Returns
Type Description
UpgradeClusterResponse.Status

The upgradeStatus.

getUpgradeStatusValue()

public int getUpgradeStatusValue()

Upgrade status of the instance.

.google.cloud.alloydb.v1beta.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
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
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpgradeClusterResponse.InstanceUpgradeDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpgradeClusterResponse.InstanceUpgradeDetails.Builder
Overrides

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
Overrides

setInstanceType(Instance.InstanceType value)

public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setInstanceType(Instance.InstanceType value)

Instance type.

.google.cloud.alloydb.v1beta.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.v1beta.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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpgradeClusterResponse.InstanceUpgradeDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpgradeClusterResponse.InstanceUpgradeDetails.Builder
Overrides

setUpgradeStatus(UpgradeClusterResponse.Status value)

public UpgradeClusterResponse.InstanceUpgradeDetails.Builder setUpgradeStatus(UpgradeClusterResponse.Status value)

Upgrade status of the instance.

.google.cloud.alloydb.v1beta.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.v1beta.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.