public static final class FetchDatabasePropertiesResponse.Builder extends GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder> implements FetchDatabasePropertiesResponseOrBuilder
Response for FetchDatabasePropertiesRequest.
Protobuf type
google.cloud.orchestration.airflow.service.v1.FetchDatabasePropertiesResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FetchDatabasePropertiesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FetchDatabasePropertiesResponse build()
buildPartial()
public FetchDatabasePropertiesResponse buildPartial()
clear()
public FetchDatabasePropertiesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FetchDatabasePropertiesResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public FetchDatabasePropertiesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPrimaryGceZone()
public FetchDatabasePropertiesResponse.Builder clearPrimaryGceZone()
The Compute Engine zone that the instance is currently serving from.
string primary_gce_zone = 1;
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;
clone()
public FetchDatabasePropertiesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public FetchDatabasePropertiesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FetchDatabasePropertiesResponse other)
public FetchDatabasePropertiesResponse.Builder mergeFrom(FetchDatabasePropertiesResponse other)
public FetchDatabasePropertiesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FetchDatabasePropertiesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FetchDatabasePropertiesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FetchDatabasePropertiesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FetchDatabasePropertiesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FetchDatabasePropertiesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides