Class AutonomousDatabaseStandbySummary

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.oracledatabase.v1.AutonomousDatabaseStandbySummary
All Implemented Interfaces:
AutonomousDatabaseStandbySummaryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AutonomousDatabaseStandbySummary extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • LAG_TIME_DURATION_FIELD_NUMBER

      public static final int LAG_TIME_DURATION_FIELD_NUMBER
      See Also:
    • LIFECYCLE_DETAILS_FIELD_NUMBER

      public static final int LIFECYCLE_DETAILS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • DATA_GUARD_ROLE_CHANGED_TIME_FIELD_NUMBER

      public static final int DATA_GUARD_ROLE_CHANGED_TIME_FIELD_NUMBER
      See Also:
    • DISASTER_RECOVERY_ROLE_CHANGED_TIME_FIELD_NUMBER

      public static final int DISASTER_RECOVERY_ROLE_CHANGED_TIME_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AutonomousDatabaseStandbySummary parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static AutonomousDatabaseStandbySummary parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static AutonomousDatabaseStandbySummary parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static AutonomousDatabaseStandbySummary.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AutonomousDatabaseStandbySummary.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AutonomousDatabaseStandbySummary getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<AutonomousDatabaseStandbySummary> parser()
    • getParserForType

      public com.google.protobuf.Parser<AutonomousDatabaseStandbySummary> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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