Class FetchDatabasePropertiesResponse.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public FetchDatabasePropertiesResponse 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FetchDatabasePropertiesResponse.Builder>
      • 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.
      • 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.