Class FetchDatabasePropertiesResponse (1.53.0)

public final class FetchDatabasePropertiesResponse extends GeneratedMessageV3 implements FetchDatabasePropertiesResponseOrBuilder

Response for FetchDatabasePropertiesRequest.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FetchDatabasePropertiesResponse

Static Fields

IS_FAILOVER_REPLICA_AVAILABLE_FIELD_NUMBER

public static final int IS_FAILOVER_REPLICA_AVAILABLE_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_GCE_ZONE_FIELD_NUMBER

public static final int PRIMARY_GCE_ZONE_FIELD_NUMBER
Field Value
Type Description
int

SECONDARY_GCE_ZONE_FIELD_NUMBER

public static final int SECONDARY_GCE_ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FetchDatabasePropertiesResponse getDefaultInstance()
Returns
Type Description
FetchDatabasePropertiesResponse

getDescriptor()

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

newBuilder()

public static FetchDatabasePropertiesResponse.Builder newBuilder()
Returns
Type Description
FetchDatabasePropertiesResponse.Builder

newBuilder(FetchDatabasePropertiesResponse prototype)

public static FetchDatabasePropertiesResponse.Builder newBuilder(FetchDatabasePropertiesResponse prototype)
Parameter
Name Description
prototype FetchDatabasePropertiesResponse
Returns
Type Description
FetchDatabasePropertiesResponse.Builder

parseDelimitedFrom(InputStream input)

public static FetchDatabasePropertiesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchDatabasePropertiesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FetchDatabasePropertiesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FetchDatabasePropertiesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FetchDatabasePropertiesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FetchDatabasePropertiesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FetchDatabasePropertiesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchDatabasePropertiesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FetchDatabasePropertiesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FetchDatabasePropertiesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FetchDatabasePropertiesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FetchDatabasePropertiesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FetchDatabasePropertiesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FetchDatabasePropertiesResponse> parser()
Returns
Type Description
Parser<FetchDatabasePropertiesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FetchDatabasePropertiesResponse getDefaultInstanceForType()
Returns
Type Description
FetchDatabasePropertiesResponse

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.

getParserForType()

public Parser<FetchDatabasePropertiesResponse> getParserForType()
Returns
Type Description
Parser<FetchDatabasePropertiesResponse>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FetchDatabasePropertiesResponse.Builder newBuilderForType()
Returns
Type Description
FetchDatabasePropertiesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FetchDatabasePropertiesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FetchDatabasePropertiesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FetchDatabasePropertiesResponse.Builder toBuilder()
Returns
Type Description
FetchDatabasePropertiesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException