Class AutonomousDbVersion.Builder

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

public static final class AutonomousDbVersion.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDbVersion.Builder> implements AutonomousDbVersionOrBuilder
 Details of the Autonomous Database version.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDbVersionSummary/
 
Protobuf type google.cloud.oracledatabase.v1.AutonomousDbVersion
  • 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<AutonomousDbVersion.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<AutonomousDbVersion.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<AutonomousDbVersion.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public String getVersion()
       Output only. An Oracle Database version for Autonomous Database.
       
      string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVersion in interface AutonomousDbVersionOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Output only. An Oracle Database version for Autonomous Database.
       
      string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getVersionBytes in interface AutonomousDbVersionOrBuilder
      Returns:
      The bytes for version.
    • setVersion

      public AutonomousDbVersion.Builder setVersion(String value)
       Output only. An Oracle Database version for Autonomous Database.
       
      string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The version to set.
      Returns:
      This builder for chaining.
    • clearVersion

      public AutonomousDbVersion.Builder clearVersion()
       Output only. An Oracle Database version for Autonomous Database.
       
      string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setVersionBytes

      public AutonomousDbVersion.Builder setVersionBytes(com.google.protobuf.ByteString value)
       Output only. An Oracle Database version for Autonomous Database.
       
      string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for version to set.
      Returns:
      This builder for chaining.
    • getDbWorkloadValue

      public int getDbWorkloadValue()
       Output only. The Autonomous Database workload type.
       
      .google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDbWorkloadValue in interface AutonomousDbVersionOrBuilder
      Returns:
      The enum numeric value on the wire for dbWorkload.
    • setDbWorkloadValue

      public AutonomousDbVersion.Builder setDbWorkloadValue(int value)
       Output only. The Autonomous Database workload type.
       
      .google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for dbWorkload to set.
      Returns:
      This builder for chaining.
    • getDbWorkload

      public DBWorkload getDbWorkload()
       Output only. The Autonomous Database workload type.
       
      .google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDbWorkload in interface AutonomousDbVersionOrBuilder
      Returns:
      The dbWorkload.
    • setDbWorkload

      public AutonomousDbVersion.Builder setDbWorkload(DBWorkload value)
       Output only. The Autonomous Database workload type.
       
      .google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The dbWorkload to set.
      Returns:
      This builder for chaining.
    • clearDbWorkload

      public AutonomousDbVersion.Builder clearDbWorkload()
       Output only. The Autonomous Database workload type.
       
      .google.cloud.oracledatabase.v1.DBWorkload db_workload = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getWorkloadUri

      public String getWorkloadUri()
       Output only. A URL that points to a detailed description of the Autonomous
       Database version.
       
      string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWorkloadUri in interface AutonomousDbVersionOrBuilder
      Returns:
      The workloadUri.
    • getWorkloadUriBytes

      public com.google.protobuf.ByteString getWorkloadUriBytes()
       Output only. A URL that points to a detailed description of the Autonomous
       Database version.
       
      string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getWorkloadUriBytes in interface AutonomousDbVersionOrBuilder
      Returns:
      The bytes for workloadUri.
    • setWorkloadUri

      public AutonomousDbVersion.Builder setWorkloadUri(String value)
       Output only. A URL that points to a detailed description of the Autonomous
       Database version.
       
      string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The workloadUri to set.
      Returns:
      This builder for chaining.
    • clearWorkloadUri

      public AutonomousDbVersion.Builder clearWorkloadUri()
       Output only. A URL that points to a detailed description of the Autonomous
       Database version.
       
      string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setWorkloadUriBytes

      public AutonomousDbVersion.Builder setWorkloadUriBytes(com.google.protobuf.ByteString value)
       Output only. A URL that points to a detailed description of the Autonomous
       Database version.
       
      string workload_uri = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for workloadUri to set.
      Returns:
      This builder for chaining.