Send feedback
Class FetchDatabasePropertiesResponse.Builder (1.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.45.0 keyboard_arrow_down
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]