public static final class FetchDatabasePropertiesResponse.Builder extends GeneratedMessage.Builder<FetchDatabasePropertiesResponse.Builder> implements FetchDatabasePropertiesResponseOrBuilderResponse for FetchDatabasePropertiesRequest.
Protobuf type
google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchDatabasePropertiesResponse.BuilderImplements
FetchDatabasePropertiesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public FetchDatabasePropertiesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchDatabasePropertiesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchDatabasePropertiesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchDatabasePropertiesResponse.Builder |
|
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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for primaryGceZone to set. |
| Returns | |
|---|---|
| Type | Description |
FetchDatabasePropertiesResponse.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for secondaryGceZone to set. |
| Returns | |
|---|---|
| Type | Description |
FetchDatabasePropertiesResponse.Builder |
This builder for chaining. |