Class AutonomousDatabase.Builder

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

public static final class AutonomousDatabase.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder> implements AutonomousDatabaseOrBuilder
 Details of the Autonomous Database resource.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/
 
Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabase
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabase.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<AutonomousDatabase.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<AutonomousDatabase.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AutonomousDatabase.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<AutonomousDatabase.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. The name of the Autonomous Database resource in the following
       format:
       projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface AutonomousDatabaseOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the Autonomous Database resource in the following
       format:
       projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for name.
    • setName

      public AutonomousDatabase.Builder setName(String value)
       Identifier. The name of the Autonomous Database resource in the following
       format:
       projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public AutonomousDatabase.Builder clearName()
       Identifier. The name of the Autonomous Database resource in the following
       format:
       projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public AutonomousDatabase.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. The name of the Autonomous Database resource in the following
       format:
       projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDatabase

      public String getDatabase()
       Optional. The name of the Autonomous Database. The database name must be
       unique in the project. The name must begin with a letter and can contain a
       maximum of 30 alphanumeric characters.
       
      string database = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDatabase in interface AutonomousDatabaseOrBuilder
      Returns:
      The database.
    • getDatabaseBytes

      public com.google.protobuf.ByteString getDatabaseBytes()
       Optional. The name of the Autonomous Database. The database name must be
       unique in the project. The name must begin with a letter and can contain a
       maximum of 30 alphanumeric characters.
       
      string database = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDatabaseBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for database.
    • setDatabase

      public AutonomousDatabase.Builder setDatabase(String value)
       Optional. The name of the Autonomous Database. The database name must be
       unique in the project. The name must begin with a letter and can contain a
       maximum of 30 alphanumeric characters.
       
      string database = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The database to set.
      Returns:
      This builder for chaining.
    • clearDatabase

      public AutonomousDatabase.Builder clearDatabase()
       Optional. The name of the Autonomous Database. The database name must be
       unique in the project. The name must begin with a letter and can contain a
       maximum of 30 alphanumeric characters.
       
      string database = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDatabaseBytes

      public AutonomousDatabase.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
       Optional. The name of the Autonomous Database. The database name must be
       unique in the project. The name must begin with a letter and can contain a
       maximum of 30 alphanumeric characters.
       
      string database = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for database to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Optional. The display name for the Autonomous Database. The name does not
       have to be unique within your project.
       
      string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface AutonomousDatabaseOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. The display name for the Autonomous Database. The name does not
       have to be unique within your project.
       
      string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public AutonomousDatabase.Builder setDisplayName(String value)
       Optional. The display name for the Autonomous Database. The name does not
       have to be unique within your project.
       
      string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public AutonomousDatabase.Builder clearDisplayName()
       Optional. The display name for the Autonomous Database. The name does not
       have to be unique within your project.
       
      string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public AutonomousDatabase.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. The display name for the Autonomous Database. The name does not
       have to be unique within your project.
       
      string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getEntitlementId

      public String getEntitlementId()
       Output only. The ID of the subscription entitlement associated with the
       Autonomous Database.
       
      string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEntitlementId in interface AutonomousDatabaseOrBuilder
      Returns:
      The entitlementId.
    • getEntitlementIdBytes

      public com.google.protobuf.ByteString getEntitlementIdBytes()
       Output only. The ID of the subscription entitlement associated with the
       Autonomous Database.
       
      string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEntitlementIdBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for entitlementId.
    • setEntitlementId

      public AutonomousDatabase.Builder setEntitlementId(String value)
       Output only. The ID of the subscription entitlement associated with the
       Autonomous Database.
       
      string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The entitlementId to set.
      Returns:
      This builder for chaining.
    • clearEntitlementId

      public AutonomousDatabase.Builder clearEntitlementId()
       Output only. The ID of the subscription entitlement associated with the
       Autonomous Database.
       
      string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setEntitlementIdBytes

      public AutonomousDatabase.Builder setEntitlementIdBytes(com.google.protobuf.ByteString value)
       Output only. The ID of the subscription entitlement associated with the
       Autonomous Database.
       
      string entitlement_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for entitlementId to set.
      Returns:
      This builder for chaining.
    • getAdminPassword

      public String getAdminPassword()
       Optional. The password for the default ADMIN user.
       
      string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdminPassword in interface AutonomousDatabaseOrBuilder
      Returns:
      The adminPassword.
    • getAdminPasswordBytes

      public com.google.protobuf.ByteString getAdminPasswordBytes()
       Optional. The password for the default ADMIN user.
       
      string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdminPasswordBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for adminPassword.
    • setAdminPassword

      public AutonomousDatabase.Builder setAdminPassword(String value)
       Optional. The password for the default ADMIN user.
       
      string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The adminPassword to set.
      Returns:
      This builder for chaining.
    • clearAdminPassword

      public AutonomousDatabase.Builder clearAdminPassword()
       Optional. The password for the default ADMIN user.
       
      string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setAdminPasswordBytes

      public AutonomousDatabase.Builder setAdminPasswordBytes(com.google.protobuf.ByteString value)
       Optional. The password for the default ADMIN user.
       
      string admin_password = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for adminPassword to set.
      Returns:
      This builder for chaining.
    • hasProperties

      public boolean hasProperties()
       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProperties in interface AutonomousDatabaseOrBuilder
      Returns:
      Whether the properties field is set.
    • getProperties

      public AutonomousDatabaseProperties getProperties()
       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProperties in interface AutonomousDatabaseOrBuilder
      Returns:
      The properties.
    • setProperties

       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setProperties

      public AutonomousDatabase.Builder setProperties(AutonomousDatabaseProperties.Builder builderForValue)
       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProperties

       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearProperties

      public AutonomousDatabase.Builder clearProperties()
       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getPropertiesBuilder

      public AutonomousDatabaseProperties.Builder getPropertiesBuilder()
       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getPropertiesOrBuilder

      public AutonomousDatabasePropertiesOrBuilder getPropertiesOrBuilder()
       Optional. The properties of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseProperties properties = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrBuilder in interface AutonomousDatabaseOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: AutonomousDatabaseOrBuilder
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface AutonomousDatabaseOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface AutonomousDatabaseOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface AutonomousDatabaseOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface AutonomousDatabaseOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface AutonomousDatabaseOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface AutonomousDatabaseOrBuilder
    • clearLabels

      public AutonomousDatabase.Builder clearLabels()
    • removeLabels

      public AutonomousDatabase.Builder removeLabels(String key)
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public AutonomousDatabase.Builder putLabels(String key, String value)
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public AutonomousDatabase.Builder putAllLabels(Map<String,String> values)
       Optional. The labels or tags associated with the Autonomous Database.
       
      map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getNetwork

      public String getNetwork()
       Optional. The name of the VPC network used by the Autonomous Database in
       the following format: projects/{project}/global/networks/{network}
       
      string network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetwork in interface AutonomousDatabaseOrBuilder
      Returns:
      The network.
    • getNetworkBytes

      public com.google.protobuf.ByteString getNetworkBytes()
       Optional. The name of the VPC network used by the Autonomous Database in
       the following format: projects/{project}/global/networks/{network}
       
      string network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for network.
    • setNetwork

      public AutonomousDatabase.Builder setNetwork(String value)
       Optional. The name of the VPC network used by the Autonomous Database in
       the following format: projects/{project}/global/networks/{network}
       
      string network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The network to set.
      Returns:
      This builder for chaining.
    • clearNetwork

      public AutonomousDatabase.Builder clearNetwork()
       Optional. The name of the VPC network used by the Autonomous Database in
       the following format: projects/{project}/global/networks/{network}
       
      string network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNetworkBytes

      public AutonomousDatabase.Builder setNetworkBytes(com.google.protobuf.ByteString value)
       Optional. The name of the VPC network used by the Autonomous Database in
       the following format: projects/{project}/global/networks/{network}
       
      string network = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for network to set.
      Returns:
      This builder for chaining.
    • getCidr

      public String getCidr()
       Optional. The subnet CIDR range for the Autonomous Database.
       
      string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCidr in interface AutonomousDatabaseOrBuilder
      Returns:
      The cidr.
    • getCidrBytes

      public com.google.protobuf.ByteString getCidrBytes()
       Optional. The subnet CIDR range for the Autonomous Database.
       
      string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCidrBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for cidr.
    • setCidr

      public AutonomousDatabase.Builder setCidr(String value)
       Optional. The subnet CIDR range for the Autonomous Database.
       
      string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The cidr to set.
      Returns:
      This builder for chaining.
    • clearCidr

      public AutonomousDatabase.Builder clearCidr()
       Optional. The subnet CIDR range for the Autonomous Database.
       
      string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCidrBytes

      public AutonomousDatabase.Builder setCidrBytes(com.google.protobuf.ByteString value)
       Optional. The subnet CIDR range for the Autonomous Database.
       
      string cidr = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for cidr to set.
      Returns:
      This builder for chaining.
    • getOdbNetwork

      public String getOdbNetwork()
       Optional. The name of the OdbNetwork associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
       optional but if specified, this should match the parent ODBNetwork of the
       OdbSubnet.
       
      string odb_network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbNetwork in interface AutonomousDatabaseOrBuilder
      Returns:
      The odbNetwork.
    • getOdbNetworkBytes

      public com.google.protobuf.ByteString getOdbNetworkBytes()
       Optional. The name of the OdbNetwork associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
       optional but if specified, this should match the parent ODBNetwork of the
       OdbSubnet.
       
      string odb_network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbNetworkBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for odbNetwork.
    • setOdbNetwork

      public AutonomousDatabase.Builder setOdbNetwork(String value)
       Optional. The name of the OdbNetwork associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
       optional but if specified, this should match the parent ODBNetwork of the
       OdbSubnet.
       
      string odb_network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The odbNetwork to set.
      Returns:
      This builder for chaining.
    • clearOdbNetwork

      public AutonomousDatabase.Builder clearOdbNetwork()
       Optional. The name of the OdbNetwork associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
       optional but if specified, this should match the parent ODBNetwork of the
       OdbSubnet.
       
      string odb_network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setOdbNetworkBytes

      public AutonomousDatabase.Builder setOdbNetworkBytes(com.google.protobuf.ByteString value)
       Optional. The name of the OdbNetwork associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network} It is
       optional but if specified, this should match the parent ODBNetwork of the
       OdbSubnet.
       
      string odb_network = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for odbNetwork to set.
      Returns:
      This builder for chaining.
    • getOdbSubnet

      public String getOdbSubnet()
       Optional. The name of the OdbSubnet associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
       
      string odb_subnet = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbSubnet in interface AutonomousDatabaseOrBuilder
      Returns:
      The odbSubnet.
    • getOdbSubnetBytes

      public com.google.protobuf.ByteString getOdbSubnetBytes()
       Optional. The name of the OdbSubnet associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
       
      string odb_subnet = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getOdbSubnetBytes in interface AutonomousDatabaseOrBuilder
      Returns:
      The bytes for odbSubnet.
    • setOdbSubnet

      public AutonomousDatabase.Builder setOdbSubnet(String value)
       Optional. The name of the OdbSubnet associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
       
      string odb_subnet = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The odbSubnet to set.
      Returns:
      This builder for chaining.
    • clearOdbSubnet

      public AutonomousDatabase.Builder clearOdbSubnet()
       Optional. The name of the OdbSubnet associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
       
      string odb_subnet = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setOdbSubnetBytes

      public AutonomousDatabase.Builder setOdbSubnetBytes(com.google.protobuf.ByteString value)
       Optional. The name of the OdbSubnet associated with the Autonomous
       Database. Format:
       projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
       
      string odb_subnet = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for odbSubnet to set.
      Returns:
      This builder for chaining.
    • hasSourceConfig

      public boolean hasSourceConfig()
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSourceConfig in interface AutonomousDatabaseOrBuilder
      Returns:
      Whether the sourceConfig field is set.
    • getSourceConfig

      public SourceConfig getSourceConfig()
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceConfig in interface AutonomousDatabaseOrBuilder
      Returns:
      The sourceConfig.
    • setSourceConfig

      public AutonomousDatabase.Builder setSourceConfig(SourceConfig value)
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • setSourceConfig

      public AutonomousDatabase.Builder setSourceConfig(SourceConfig.Builder builderForValue)
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSourceConfig

      public AutonomousDatabase.Builder mergeSourceConfig(SourceConfig value)
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • clearSourceConfig

      public AutonomousDatabase.Builder clearSourceConfig()
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceConfigBuilder

      public SourceConfig.Builder getSourceConfigBuilder()
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceConfigOrBuilder

      public SourceConfigOrBuilder getSourceConfigOrBuilder()
       Optional. The source Autonomous Database configuration for the standby
       Autonomous Database. The source Autonomous Database is configured while
       creating the Peer Autonomous Database and can't be updated after creation.
       
      .google.cloud.oracledatabase.v1.SourceConfig source_config = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSourceConfigOrBuilder in interface AutonomousDatabaseOrBuilder
    • getPeerAutonomousDatabasesList

      public com.google.protobuf.ProtocolStringList getPeerAutonomousDatabasesList()
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPeerAutonomousDatabasesList in interface AutonomousDatabaseOrBuilder
      Returns:
      A list containing the peerAutonomousDatabases.
    • getPeerAutonomousDatabasesCount

      public int getPeerAutonomousDatabasesCount()
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPeerAutonomousDatabasesCount in interface AutonomousDatabaseOrBuilder
      Returns:
      The count of peerAutonomousDatabases.
    • getPeerAutonomousDatabases

      public String getPeerAutonomousDatabases(int index)
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPeerAutonomousDatabases in interface AutonomousDatabaseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The peerAutonomousDatabases at the given index.
    • getPeerAutonomousDatabasesBytes

      public com.google.protobuf.ByteString getPeerAutonomousDatabasesBytes(int index)
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getPeerAutonomousDatabasesBytes in interface AutonomousDatabaseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the peerAutonomousDatabases at the given index.
    • setPeerAutonomousDatabases

      public AutonomousDatabase.Builder setPeerAutonomousDatabases(int index, String value)
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The peerAutonomousDatabases to set.
      Returns:
      This builder for chaining.
    • addPeerAutonomousDatabases

      public AutonomousDatabase.Builder addPeerAutonomousDatabases(String value)
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The peerAutonomousDatabases to add.
      Returns:
      This builder for chaining.
    • addAllPeerAutonomousDatabases

      public AutonomousDatabase.Builder addAllPeerAutonomousDatabases(Iterable<String> values)
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The peerAutonomousDatabases to add.
      Returns:
      This builder for chaining.
    • clearPeerAutonomousDatabases

      public AutonomousDatabase.Builder clearPeerAutonomousDatabases()
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addPeerAutonomousDatabasesBytes

      public AutonomousDatabase.Builder addPeerAutonomousDatabasesBytes(com.google.protobuf.ByteString value)
       Output only. The peer Autonomous Database names of the given Autonomous
       Database.
       
      repeated string peer_autonomous_databases = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the peerAutonomousDatabases to add.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface AutonomousDatabaseOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface AutonomousDatabaseOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public AutonomousDatabase.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public AutonomousDatabase.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public AutonomousDatabase.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public AutonomousDatabase.Builder clearCreateTime()
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The date and time that the Autonomous Database was created.
       
      .google.protobuf.Timestamp create_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface AutonomousDatabaseOrBuilder
    • getDisasterRecoverySupportedLocationsList

      public com.google.protobuf.ProtocolStringList getDisasterRecoverySupportedLocationsList()
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDisasterRecoverySupportedLocationsList in interface AutonomousDatabaseOrBuilder
      Returns:
      A list containing the disasterRecoverySupportedLocations.
    • getDisasterRecoverySupportedLocationsCount

      public int getDisasterRecoverySupportedLocationsCount()
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDisasterRecoverySupportedLocationsCount in interface AutonomousDatabaseOrBuilder
      Returns:
      The count of disasterRecoverySupportedLocations.
    • getDisasterRecoverySupportedLocations

      public String getDisasterRecoverySupportedLocations(int index)
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDisasterRecoverySupportedLocations in interface AutonomousDatabaseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The disasterRecoverySupportedLocations at the given index.
    • getDisasterRecoverySupportedLocationsBytes

      public com.google.protobuf.ByteString getDisasterRecoverySupportedLocationsBytes(int index)
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getDisasterRecoverySupportedLocationsBytes in interface AutonomousDatabaseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the disasterRecoverySupportedLocations at the given index.
    • setDisasterRecoverySupportedLocations

      public AutonomousDatabase.Builder setDisasterRecoverySupportedLocations(int index, String value)
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The disasterRecoverySupportedLocations to set.
      Returns:
      This builder for chaining.
    • addDisasterRecoverySupportedLocations

      public AutonomousDatabase.Builder addDisasterRecoverySupportedLocations(String value)
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The disasterRecoverySupportedLocations to add.
      Returns:
      This builder for chaining.
    • addAllDisasterRecoverySupportedLocations

      public AutonomousDatabase.Builder addAllDisasterRecoverySupportedLocations(Iterable<String> values)
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The disasterRecoverySupportedLocations to add.
      Returns:
      This builder for chaining.
    • clearDisasterRecoverySupportedLocations

      public AutonomousDatabase.Builder clearDisasterRecoverySupportedLocations()
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addDisasterRecoverySupportedLocationsBytes

      public AutonomousDatabase.Builder addDisasterRecoverySupportedLocationsBytes(com.google.protobuf.ByteString value)
       Output only. List of supported GCP region to clone the Autonomous Database
       for disaster recovery. Format: `project/{project}/locations/{location}`.
       
      repeated string disaster_recovery_supported_locations = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the disasterRecoverySupportedLocations to add.
      Returns:
      This builder for chaining.