Class FetchDatabasePropertiesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
- com.google.cloud.orchestration.airflow.service.v1beta1.FetchDatabasePropertiesResponse.Builder
-
- All Implemented Interfaces:
FetchDatabasePropertiesResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- FetchDatabasePropertiesResponse
public static final class FetchDatabasePropertiesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder> implements FetchDatabasePropertiesResponseOrBuilder
Response for FetchDatabasePropertiesRequest.
Protobuf typegoogle.cloud.orchestration.airflow.service.v1beta1.FetchDatabasePropertiesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FetchDatabasePropertiesResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FetchDatabasePropertiesResponse
build()
FetchDatabasePropertiesResponse
buildPartial()
FetchDatabasePropertiesResponse.Builder
clear()
FetchDatabasePropertiesResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FetchDatabasePropertiesResponse.Builder
clearIsFailoverReplicaAvailable()
The availability status of the failover replica.FetchDatabasePropertiesResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FetchDatabasePropertiesResponse.Builder
clearPrimaryGceZone()
The Compute Engine zone that the instance is currently serving from.FetchDatabasePropertiesResponse.Builder
clearSecondaryGceZone()
The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.FetchDatabasePropertiesResponse.Builder
clone()
FetchDatabasePropertiesResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIsFailoverReplicaAvailable()
The availability status of the failover replica.String
getPrimaryGceZone()
The Compute Engine zone that the instance is currently serving from.com.google.protobuf.ByteString
getPrimaryGceZoneBytes()
The Compute Engine zone that the instance is currently serving from.String
getSecondaryGceZone()
The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.com.google.protobuf.ByteString
getSecondaryGceZoneBytes()
The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FetchDatabasePropertiesResponse.Builder
mergeFrom(FetchDatabasePropertiesResponse other)
FetchDatabasePropertiesResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FetchDatabasePropertiesResponse.Builder
mergeFrom(com.google.protobuf.Message other)
FetchDatabasePropertiesResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FetchDatabasePropertiesResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FetchDatabasePropertiesResponse.Builder
setIsFailoverReplicaAvailable(boolean value)
The availability status of the failover replica.FetchDatabasePropertiesResponse.Builder
setPrimaryGceZone(String value)
The Compute Engine zone that the instance is currently serving from.FetchDatabasePropertiesResponse.Builder
setPrimaryGceZoneBytes(com.google.protobuf.ByteString value)
The Compute Engine zone that the instance is currently serving from.FetchDatabasePropertiesResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FetchDatabasePropertiesResponse.Builder
setSecondaryGceZone(String value)
The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.FetchDatabasePropertiesResponse.Builder
setSecondaryGceZoneBytes(com.google.protobuf.ByteString value)
The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance.FetchDatabasePropertiesResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
clear
public FetchDatabasePropertiesResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
getDefaultInstanceForType
public FetchDatabasePropertiesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FetchDatabasePropertiesResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FetchDatabasePropertiesResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FetchDatabasePropertiesResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
setField
public FetchDatabasePropertiesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
clearField
public FetchDatabasePropertiesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
clearOneof
public FetchDatabasePropertiesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
setRepeatedField
public FetchDatabasePropertiesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
addRepeatedField
public FetchDatabasePropertiesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
mergeFrom
public FetchDatabasePropertiesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FetchDatabasePropertiesResponse.Builder>
-
mergeFrom
public FetchDatabasePropertiesResponse.Builder mergeFrom(FetchDatabasePropertiesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
mergeFrom
public FetchDatabasePropertiesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FetchDatabasePropertiesResponse.Builder>
- Throws:
IOException
-
getPrimaryGceZone
public String getPrimaryGceZone()
The Compute Engine zone that the instance is currently serving from.
string primary_gce_zone = 1;
- Specified by:
getPrimaryGceZone
in interfaceFetchDatabasePropertiesResponseOrBuilder
- Returns:
- The primaryGceZone.
-
getPrimaryGceZoneBytes
public com.google.protobuf.ByteString getPrimaryGceZoneBytes()
The Compute Engine zone that the instance is currently serving from.
string primary_gce_zone = 1;
- Specified by:
getPrimaryGceZoneBytes
in interfaceFetchDatabasePropertiesResponseOrBuilder
- Returns:
- The bytes for primaryGceZone.
-
setPrimaryGceZone
public FetchDatabasePropertiesResponse.Builder setPrimaryGceZone(String value)
The Compute Engine zone that the instance is currently serving from.
string primary_gce_zone = 1;
- Parameters:
value
- The primaryGceZone to set.- Returns:
- 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:
- This builder for chaining.
-
setPrimaryGceZoneBytes
public FetchDatabasePropertiesResponse.Builder setPrimaryGceZoneBytes(com.google.protobuf.ByteString value)
The Compute Engine zone that the instance is currently serving from.
string primary_gce_zone = 1;
- Parameters:
value
- The bytes for primaryGceZone to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getSecondaryGceZone
in interfaceFetchDatabasePropertiesResponseOrBuilder
- Returns:
- The secondaryGceZone.
-
getSecondaryGceZoneBytes
public com.google.protobuf.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;
- Specified by:
getSecondaryGceZoneBytes
in interfaceFetchDatabasePropertiesResponseOrBuilder
- Returns:
- The bytes for secondaryGceZone.
-
setSecondaryGceZone
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;
- Parameters:
value
- The secondaryGceZone to set.- Returns:
- 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:
- This builder for chaining.
-
setSecondaryGceZoneBytes
public FetchDatabasePropertiesResponse.Builder setSecondaryGceZoneBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for secondaryGceZone to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getIsFailoverReplicaAvailable
in interfaceFetchDatabasePropertiesResponseOrBuilder
- Returns:
- The isFailoverReplicaAvailable.
-
setIsFailoverReplicaAvailable
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;
- Parameters:
value
- The isFailoverReplicaAvailable to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final FetchDatabasePropertiesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
mergeUnknownFields
public final FetchDatabasePropertiesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
-
-