Class FetchDatabasePropertiesResponse.Builder (1.42.0)

public static final class FetchDatabasePropertiesResponse.Builder extends GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder> implements FetchDatabasePropertiesResponseOrBuilder

Response for FetchDatabasePropertiesRequest.

Protobuf type google.cloud.orchestration.airflow.service.v1beta1.FetchDatabasePropertiesResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchDatabasePropertiesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

build()

public FetchDatabasePropertiesResponse build()
Returns
Type Description
FetchDatabasePropertiesResponse

buildPartial()

public FetchDatabasePropertiesResponse buildPartial()
Returns
Type Description
FetchDatabasePropertiesResponse

clear()

public FetchDatabasePropertiesResponse.Builder clear()
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIsFailoverReplicaAvailable()

public FetchDatabasePropertiesResponse.Builder clearIsFailoverReplicaAvailable()

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.

bool is_failover_replica_available = 3;

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchDatabasePropertiesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

clearPrimaryGceZone()

public FetchDatabasePropertiesResponse.Builder clearPrimaryGceZone()

The Compute Engine zone that the instance is currently serving from.

string primary_gce_zone = 1;

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

clearSecondaryGceZone()

public FetchDatabasePropertiesResponse.Builder clearSecondaryGceZone()

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

string secondary_gce_zone = 2;

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

clone()

public FetchDatabasePropertiesResponse.Builder clone()
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

getDefaultInstanceForType()

public FetchDatabasePropertiesResponse getDefaultInstanceForType()
Returns
Type Description
FetchDatabasePropertiesResponse

getDescriptorForType()

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

getIsFailoverReplicaAvailable()

public boolean getIsFailoverReplicaAvailable()

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.

bool is_failover_replica_available = 3;

Returns
Type Description
boolean

The isFailoverReplicaAvailable.

getPrimaryGceZone()

public String getPrimaryGceZone()

The Compute Engine zone that the instance is currently serving from.

string primary_gce_zone = 1;

Returns
Type Description
String

The primaryGceZone.

getPrimaryGceZoneBytes()

public ByteString getPrimaryGceZoneBytes()

The Compute Engine zone that the instance is currently serving from.

string primary_gce_zone = 1;

Returns
Type Description
ByteString

The bytes for primaryGceZone.

getSecondaryGceZone()

public String getSecondaryGceZone()

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

string secondary_gce_zone = 2;

Returns
Type Description
String

The secondaryGceZone.

getSecondaryGceZoneBytes()

public ByteString getSecondaryGceZoneBytes()

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

string secondary_gce_zone = 2;

Returns
Type Description
ByteString

The bytes for secondaryGceZone.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchDatabasePropertiesResponse other)

public FetchDatabasePropertiesResponse.Builder mergeFrom(FetchDatabasePropertiesResponse other)
Parameter
Name Description
other FetchDatabasePropertiesResponse
Returns
Type Description
FetchDatabasePropertiesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FetchDatabasePropertiesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FetchDatabasePropertiesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FetchDatabasePropertiesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

setIsFailoverReplicaAvailable(boolean value)

public FetchDatabasePropertiesResponse.Builder setIsFailoverReplicaAvailable(boolean value)

The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true.

bool is_failover_replica_available = 3;

Parameter
Name Description
value boolean

The isFailoverReplicaAvailable to set.

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

setPrimaryGceZone(String value)

public FetchDatabasePropertiesResponse.Builder setPrimaryGceZone(String value)

The Compute Engine zone that the instance is currently serving from.

string primary_gce_zone = 1;

Parameter
Name Description
value String

The primaryGceZone to set.

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

setPrimaryGceZoneBytes(ByteString value)

public FetchDatabasePropertiesResponse.Builder setPrimaryGceZoneBytes(ByteString value)

The Compute Engine zone that the instance is currently serving from.

string primary_gce_zone = 1;

Parameter
Name Description
value ByteString

The bytes for primaryGceZone to set.

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FetchDatabasePropertiesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

setSecondaryGceZone(String value)

public FetchDatabasePropertiesResponse.Builder setSecondaryGceZone(String value)

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

string secondary_gce_zone = 2;

Parameter
Name Description
value String

The secondaryGceZone to set.

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

setSecondaryGceZoneBytes(ByteString value)

public FetchDatabasePropertiesResponse.Builder setSecondaryGceZoneBytes(ByteString value)

The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.

string secondary_gce_zone = 2;

Parameter
Name Description
value ByteString

The bytes for secondaryGceZone to set.

Returns
Type Description
FetchDatabasePropertiesResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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