Class AutonomousDatabaseStandbySummary (0.1.0)

public final class AutonomousDatabaseStandbySummary extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutonomousDatabaseStandbySummary

Static Fields

DATA_GUARD_ROLE_CHANGED_TIME_FIELD_NUMBER

public static final int DATA_GUARD_ROLE_CHANGED_TIME_FIELD_NUMBER
Field Value
Type Description
int

DISASTER_RECOVERY_ROLE_CHANGED_TIME_FIELD_NUMBER

public static final int DISASTER_RECOVERY_ROLE_CHANGED_TIME_FIELD_NUMBER
Field Value
Type Description
int

LAG_TIME_DURATION_FIELD_NUMBER

public static final int LAG_TIME_DURATION_FIELD_NUMBER
Field Value
Type Description
int

LIFECYCLE_DETAILS_FIELD_NUMBER

public static final int LIFECYCLE_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutonomousDatabaseStandbySummary getDefaultInstance()
Returns
Type Description
AutonomousDatabaseStandbySummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AutonomousDatabaseStandbySummary.Builder newBuilder()
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

newBuilder(AutonomousDatabaseStandbySummary prototype)

public static AutonomousDatabaseStandbySummary.Builder newBuilder(AutonomousDatabaseStandbySummary prototype)
Parameter
Name Description
prototype AutonomousDatabaseStandbySummary
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

parseDelimitedFrom(InputStream input)

public static AutonomousDatabaseStandbySummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutonomousDatabaseStandbySummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AutonomousDatabaseStandbySummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutonomousDatabaseStandbySummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutonomousDatabaseStandbySummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutonomousDatabaseStandbySummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutonomousDatabaseStandbySummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutonomousDatabaseStandbySummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AutonomousDatabaseStandbySummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutonomousDatabaseStandbySummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AutonomousDatabaseStandbySummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutonomousDatabaseStandbySummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseStandbySummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AutonomousDatabaseStandbySummary> parser()
Returns
Type Description
Parser<AutonomousDatabaseStandbySummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataGuardRoleChangedTime()

public 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];

Returns
Type Description
Timestamp

The dataGuardRoleChangedTime.

getDataGuardRoleChangedTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AutonomousDatabaseStandbySummary getDefaultInstanceForType()
Returns
Type Description
AutonomousDatabaseStandbySummary

getDisasterRecoveryRoleChangedTime()

public 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];

Returns
Type Description
Timestamp

The disasterRecoveryRoleChangedTime.

getDisasterRecoveryRoleChangedTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

getLagTimeDuration()

public 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];

Returns
Type Description
Duration

The lagTimeDuration.

getLagTimeDurationOrBuilder()

public 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];

Returns
Type Description
DurationOrBuilder

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];

Returns
Type Description
String

The lifecycleDetails.

getLifecycleDetailsBytes()

public 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];

Returns
Type Description
ByteString

The bytes for lifecycleDetails.

getParserForType()

public Parser<AutonomousDatabaseStandbySummary> getParserForType()
Returns
Type Description
Parser<AutonomousDatabaseStandbySummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for 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];

Returns
Type Description
boolean

Whether the dataGuardRoleChangedTime field is set.

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];

Returns
Type Description
boolean

Whether the disasterRecoveryRoleChangedTime field is set.

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];

Returns
Type Description
boolean

Whether the lagTimeDuration field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AutonomousDatabaseStandbySummary.Builder newBuilderForType()
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutonomousDatabaseStandbySummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AutonomousDatabaseStandbySummary.Builder toBuilder()
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException