Class DbVersion.Builder

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

public static final class DbVersion.Builder extends com.google.protobuf.GeneratedMessage.Builder<DbVersion.Builder> implements DbVersionOrBuilder
 A valid Oracle Database version.
 
Protobuf type google.cloud.oracledatabase.v1.DbVersion
  • 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<DbVersion.Builder>
    • clear

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

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

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

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

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

      public DbVersion.Builder mergeFrom(DbVersion other)
    • isInitialized

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

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

      public String getName()
       Output only. The name of the DbVersion resource in the following format:
       projects/{project}/locations/{region}/dbVersions/{db_version}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getName in interface DbVersionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the DbVersion resource in the following format:
       projects/{project}/locations/{region}/dbVersions/{db_version}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getNameBytes in interface DbVersionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DbVersion.Builder setName(String value)
       Output only. The name of the DbVersion resource in the following format:
       projects/{project}/locations/{region}/dbVersions/{db_version}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DbVersion.Builder clearName()
       Output only. The name of the DbVersion resource in the following format:
       projects/{project}/locations/{region}/dbVersions/{db_version}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DbVersion.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the DbVersion resource in the following format:
       projects/{project}/locations/{region}/dbVersions/{db_version}
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasProperties

      public boolean hasProperties()
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProperties in interface DbVersionOrBuilder
      Returns:
      Whether the properties field is set.
    • getProperties

      public DbVersionProperties getProperties()
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProperties in interface DbVersionOrBuilder
      Returns:
      The properties.
    • setProperties

      public DbVersion.Builder setProperties(DbVersionProperties value)
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setProperties

      public DbVersion.Builder setProperties(DbVersionProperties.Builder builderForValue)
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeProperties

      public DbVersion.Builder mergeProperties(DbVersionProperties value)
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearProperties

      public DbVersion.Builder clearProperties()
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPropertiesBuilder

      public DbVersionProperties.Builder getPropertiesBuilder()
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPropertiesOrBuilder

      public DbVersionPropertiesOrBuilder getPropertiesOrBuilder()
       Output only. The properties of the DbVersion.
       
      .google.cloud.oracledatabase.v1.DbVersionProperties properties = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPropertiesOrBuilder in interface DbVersionOrBuilder