Class FetchDatabasePropertiesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<FetchDatabasePropertiesResponse.Builder> implements FetchDatabasePropertiesResponseOrBuilder
 Response for FetchDatabasePropertiesRequest.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.FetchDatabasePropertiesResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FetchDatabasePropertiesResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FetchDatabasePropertiesResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FetchDatabasePropertiesResponse.Builder>
    • getDefaultInstanceForType

      public FetchDatabasePropertiesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FetchDatabasePropertiesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FetchDatabasePropertiesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FetchDatabasePropertiesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FetchDatabasePropertiesResponse.Builder>
    • mergeFrom

      public FetchDatabasePropertiesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface FetchDatabasePropertiesResponseOrBuilder
      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 interface FetchDatabasePropertiesResponseOrBuilder
      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 interface FetchDatabasePropertiesResponseOrBuilder
      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 interface FetchDatabasePropertiesResponseOrBuilder
      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 interface FetchDatabasePropertiesResponseOrBuilder
      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.