Class DatabaseManagementConfig.Builder

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

public static final class DatabaseManagementConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatabaseManagementConfig.Builder> implements DatabaseManagementConfigOrBuilder
 The configuration of the Database Management service.
 
Protobuf type google.cloud.oracledatabase.v1.DatabaseManagementConfig
  • 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<DatabaseManagementConfig.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<DatabaseManagementConfig.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<DatabaseManagementConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public DatabaseManagementConfig.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<DatabaseManagementConfig.Builder>
      Throws:
      IOException
    • getManagementStateValue

      public int getManagementStateValue()
       Output only. The status of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementState management_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getManagementStateValue in interface DatabaseManagementConfigOrBuilder
      Returns:
      The enum numeric value on the wire for managementState.
    • setManagementStateValue

      public DatabaseManagementConfig.Builder setManagementStateValue(int value)
       Output only. The status of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementState management_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for managementState to set.
      Returns:
      This builder for chaining.
    • getManagementState

      public DatabaseManagementConfig.ManagementState getManagementState()
       Output only. The status of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementState management_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getManagementState in interface DatabaseManagementConfigOrBuilder
      Returns:
      The managementState.
    • setManagementState

       Output only. The status of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementState management_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The managementState to set.
      Returns:
      This builder for chaining.
    • clearManagementState

      public DatabaseManagementConfig.Builder clearManagementState()
       Output only. The status of the Database Management service.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementState management_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getManagementTypeValue

      public int getManagementTypeValue()
       Output only. The Database Management type.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementType management_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getManagementTypeValue in interface DatabaseManagementConfigOrBuilder
      Returns:
      The enum numeric value on the wire for managementType.
    • setManagementTypeValue

      public DatabaseManagementConfig.Builder setManagementTypeValue(int value)
       Output only. The Database Management type.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementType management_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for managementType to set.
      Returns:
      This builder for chaining.
    • getManagementType

      public DatabaseManagementConfig.ManagementType getManagementType()
       Output only. The Database Management type.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementType management_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getManagementType in interface DatabaseManagementConfigOrBuilder
      Returns:
      The managementType.
    • setManagementType

       Output only. The Database Management type.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementType management_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The managementType to set.
      Returns:
      This builder for chaining.
    • clearManagementType

      public DatabaseManagementConfig.Builder clearManagementType()
       Output only. The Database Management type.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig.ManagementType management_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.