Class SourceConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SourceConfig.Builder>
com.google.cloud.oracledatabase.v1.SourceConfig.Builder
All Implemented Interfaces:
SourceConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SourceConfig

public static final class SourceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<SourceConfig.Builder> implements SourceConfigOrBuilder
 The source configuration for the standby Autonomous Database.
 
Protobuf type google.cloud.oracledatabase.v1.SourceConfig
  • 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<SourceConfig.Builder>
    • clear

      public SourceConfig.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<SourceConfig.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<SourceConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public SourceConfig.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<SourceConfig.Builder>
    • mergeFrom

      public SourceConfig.Builder mergeFrom(SourceConfig other)
    • isInitialized

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

      public SourceConfig.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<SourceConfig.Builder>
      Throws:
      IOException
    • getAutonomousDatabase

      public String getAutonomousDatabase()
       Optional. The name of the primary Autonomous Database that is used to
       create a Peer Autonomous Database from a source.
       
      string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAutonomousDatabase in interface SourceConfigOrBuilder
      Returns:
      The autonomousDatabase.
    • getAutonomousDatabaseBytes

      public com.google.protobuf.ByteString getAutonomousDatabaseBytes()
       Optional. The name of the primary Autonomous Database that is used to
       create a Peer Autonomous Database from a source.
       
      string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAutonomousDatabaseBytes in interface SourceConfigOrBuilder
      Returns:
      The bytes for autonomousDatabase.
    • setAutonomousDatabase

      public SourceConfig.Builder setAutonomousDatabase(String value)
       Optional. The name of the primary Autonomous Database that is used to
       create a Peer Autonomous Database from a source.
       
      string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The autonomousDatabase to set.
      Returns:
      This builder for chaining.
    • clearAutonomousDatabase

      public SourceConfig.Builder clearAutonomousDatabase()
       Optional. The name of the primary Autonomous Database that is used to
       create a Peer Autonomous Database from a source.
       
      string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAutonomousDatabaseBytes

      public SourceConfig.Builder setAutonomousDatabaseBytes(com.google.protobuf.ByteString value)
       Optional. The name of the primary Autonomous Database that is used to
       create a Peer Autonomous Database from a source.
       
      string autonomous_database = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for autonomousDatabase to set.
      Returns:
      This builder for chaining.
    • getAutomaticBackupsReplicationEnabled

      public boolean getAutomaticBackupsReplicationEnabled()
       Optional. This field specifies if the replication of automatic backups is
       enabled when creating a Data Guard.
       
      bool automatic_backups_replication_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutomaticBackupsReplicationEnabled in interface SourceConfigOrBuilder
      Returns:
      The automaticBackupsReplicationEnabled.
    • setAutomaticBackupsReplicationEnabled

      public SourceConfig.Builder setAutomaticBackupsReplicationEnabled(boolean value)
       Optional. This field specifies if the replication of automatic backups is
       enabled when creating a Data Guard.
       
      bool automatic_backups_replication_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The automaticBackupsReplicationEnabled to set.
      Returns:
      This builder for chaining.
    • clearAutomaticBackupsReplicationEnabled

      public SourceConfig.Builder clearAutomaticBackupsReplicationEnabled()
       Optional. This field specifies if the replication of automatic backups is
       enabled when creating a Data Guard.
       
      bool automatic_backups_replication_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.