Class AutonomousDatabaseStandbySummary.Builder

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

public static final class AutonomousDatabaseStandbySummary.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseStandbySummary.Builder> implements AutonomousDatabaseStandbySummaryOrBuilder
 Autonomous Data Guard standby database details.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/datatypes/AutonomousDatabaseStandbySummary
 
Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseStandbySummary
  • 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<AutonomousDatabaseStandbySummary.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<AutonomousDatabaseStandbySummary.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<AutonomousDatabaseStandbySummary.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

      public AutonomousDatabaseStandbySummary.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<AutonomousDatabaseStandbySummary.Builder>
      Throws:
      IOException
    • hasLagTimeDuration

      public boolean hasLagTimeDuration()
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLagTimeDuration in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      Whether the lagTimeDuration field is set.
    • getLagTimeDuration

      public com.google.protobuf.Duration getLagTimeDuration()
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLagTimeDuration in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      The lagTimeDuration.
    • setLagTimeDuration

      public AutonomousDatabaseStandbySummary.Builder setLagTimeDuration(com.google.protobuf.Duration value)
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setLagTimeDuration

      public AutonomousDatabaseStandbySummary.Builder setLagTimeDuration(com.google.protobuf.Duration.Builder builderForValue)
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeLagTimeDuration

      public AutonomousDatabaseStandbySummary.Builder mergeLagTimeDuration(com.google.protobuf.Duration value)
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearLagTimeDuration

      public AutonomousDatabaseStandbySummary.Builder clearLagTimeDuration()
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLagTimeDurationBuilder

      public com.google.protobuf.Duration.Builder getLagTimeDurationBuilder()
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLagTimeDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getLagTimeDurationOrBuilder()
       Output only. The amount of time, in seconds, that the data of the standby
       database lags in comparison to the data of the primary database.
       
      .google.protobuf.Duration lag_time_duration = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLagTimeDurationOrBuilder in interface AutonomousDatabaseStandbySummaryOrBuilder
    • getLifecycleDetails

      public String getLifecycleDetails()
       Output only. The additional details about the current lifecycle state of
       the Autonomous Database.
       
      string lifecycle_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleDetails in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      The lifecycleDetails.
    • getLifecycleDetailsBytes

      public com.google.protobuf.ByteString getLifecycleDetailsBytes()
       Output only. The additional details about the current lifecycle state of
       the Autonomous Database.
       
      string lifecycle_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleDetailsBytes in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      The bytes for lifecycleDetails.
    • setLifecycleDetails

      public AutonomousDatabaseStandbySummary.Builder setLifecycleDetails(String value)
       Output only. The additional details about the current lifecycle state of
       the Autonomous Database.
       
      string lifecycle_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lifecycleDetails to set.
      Returns:
      This builder for chaining.
    • clearLifecycleDetails

      public AutonomousDatabaseStandbySummary.Builder clearLifecycleDetails()
       Output only. The additional details about the current lifecycle state of
       the Autonomous Database.
       
      string lifecycle_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLifecycleDetailsBytes

      public AutonomousDatabaseStandbySummary.Builder setLifecycleDetailsBytes(com.google.protobuf.ByteString value)
       Output only. The additional details about the current lifecycle state of
       the Autonomous Database.
       
      string lifecycle_details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for lifecycleDetails to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The current lifecycle state of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public AutonomousDatabaseStandbySummary.Builder setStateValue(int value)
       Output only. The current lifecycle state of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public State getState()
       Output only. The current lifecycle state of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      The state.
    • setState

       Output only. The current lifecycle state of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

       Output only. The current lifecycle state of the Autonomous Database.
       
      .google.cloud.oracledatabase.v1.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasDataGuardRoleChangedTime

      public boolean hasDataGuardRoleChangedTime()
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDataGuardRoleChangedTime in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      Whether the dataGuardRoleChangedTime field is set.
    • getDataGuardRoleChangedTime

      public com.google.protobuf.Timestamp getDataGuardRoleChangedTime()
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataGuardRoleChangedTime in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      The dataGuardRoleChangedTime.
    • setDataGuardRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder setDataGuardRoleChangedTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDataGuardRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder setDataGuardRoleChangedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDataGuardRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder mergeDataGuardRoleChangedTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDataGuardRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder clearDataGuardRoleChangedTime()
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataGuardRoleChangedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getDataGuardRoleChangedTimeBuilder()
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDataGuardRoleChangedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDataGuardRoleChangedTimeOrBuilder()
       Output only. The date and time the Autonomous Data Guard role was switched
       for the standby Autonomous Database.
       
      .google.protobuf.Timestamp data_guard_role_changed_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDataGuardRoleChangedTimeOrBuilder in interface AutonomousDatabaseStandbySummaryOrBuilder
    • hasDisasterRecoveryRoleChangedTime

      public boolean hasDisasterRecoveryRoleChangedTime()
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDisasterRecoveryRoleChangedTime in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      Whether the disasterRecoveryRoleChangedTime field is set.
    • getDisasterRecoveryRoleChangedTime

      public com.google.protobuf.Timestamp getDisasterRecoveryRoleChangedTime()
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisasterRecoveryRoleChangedTime in interface AutonomousDatabaseStandbySummaryOrBuilder
      Returns:
      The disasterRecoveryRoleChangedTime.
    • setDisasterRecoveryRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder setDisasterRecoveryRoleChangedTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setDisasterRecoveryRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder setDisasterRecoveryRoleChangedTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeDisasterRecoveryRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder mergeDisasterRecoveryRoleChangedTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDisasterRecoveryRoleChangedTime

      public AutonomousDatabaseStandbySummary.Builder clearDisasterRecoveryRoleChangedTime()
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDisasterRecoveryRoleChangedTimeBuilder

      public com.google.protobuf.Timestamp.Builder getDisasterRecoveryRoleChangedTimeBuilder()
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDisasterRecoveryRoleChangedTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getDisasterRecoveryRoleChangedTimeOrBuilder()
       Output only. The date and time the Disaster Recovery role was switched for
       the standby Autonomous Database.
       
      .google.protobuf.Timestamp disaster_recovery_role_changed_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDisasterRecoveryRoleChangedTimeOrBuilder in interface AutonomousDatabaseStandbySummaryOrBuilder