Class AutonomousDatabaseStandbySummary.Builder (0.32.0)

public static final class AutonomousDatabaseStandbySummary.Builder extends 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

Static Methods

getDescriptor()

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

Methods

build()

public AutonomousDatabaseStandbySummary build()
Returns
Type Description
AutonomousDatabaseStandbySummary

buildPartial()

public AutonomousDatabaseStandbySummary buildPartial()
Returns
Type Description
AutonomousDatabaseStandbySummary

clear()

public AutonomousDatabaseStandbySummary.Builder clear()
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder
Overrides

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

Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

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

Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

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

Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

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
Type Description
AutonomousDatabaseStandbySummary.Builder

This builder for chaining.

clearState()

public AutonomousDatabaseStandbySummary.Builder 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
Type Description
AutonomousDatabaseStandbySummary.Builder

This builder for chaining.

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.

getDataGuardRoleChangedTimeBuilder()

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

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getDisasterRecoveryRoleChangedTimeBuilder()

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

Returns
Type Description
Builder

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.

getLagTimeDurationBuilder()

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

Returns
Type Description
Builder

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataGuardRoleChangedTime(Timestamp value)

public AutonomousDatabaseStandbySummary.Builder mergeDataGuardRoleChangedTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

mergeDisasterRecoveryRoleChangedTime(Timestamp value)

public AutonomousDatabaseStandbySummary.Builder mergeDisasterRecoveryRoleChangedTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

mergeFrom(AutonomousDatabaseStandbySummary other)

public AutonomousDatabaseStandbySummary.Builder mergeFrom(AutonomousDatabaseStandbySummary other)
Parameter
Name Description
other AutonomousDatabaseStandbySummary
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutonomousDatabaseStandbySummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutonomousDatabaseStandbySummary.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder
Overrides

mergeLagTimeDuration(Duration value)

public AutonomousDatabaseStandbySummary.Builder mergeLagTimeDuration(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];

Parameter
Name Description
value Duration
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

setDataGuardRoleChangedTime(Timestamp value)

public AutonomousDatabaseStandbySummary.Builder setDataGuardRoleChangedTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

setDataGuardRoleChangedTime(Timestamp.Builder builderForValue)

public AutonomousDatabaseStandbySummary.Builder setDataGuardRoleChangedTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

setDisasterRecoveryRoleChangedTime(Timestamp value)

public AutonomousDatabaseStandbySummary.Builder setDisasterRecoveryRoleChangedTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

setDisasterRecoveryRoleChangedTime(Timestamp.Builder builderForValue)

public AutonomousDatabaseStandbySummary.Builder setDisasterRecoveryRoleChangedTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

setLagTimeDuration(Duration value)

public AutonomousDatabaseStandbySummary.Builder setLagTimeDuration(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];

Parameter
Name Description
value Duration
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

setLagTimeDuration(Duration.Builder builderForValue)

public AutonomousDatabaseStandbySummary.Builder setLagTimeDuration(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

setLifecycleDetails(String value)

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

Parameter
Name Description
value String

The lifecycleDetails to set.

Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

This builder for chaining.

setLifecycleDetailsBytes(ByteString value)

public AutonomousDatabaseStandbySummary.Builder setLifecycleDetailsBytes(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];

Parameter
Name Description
value ByteString

The bytes for lifecycleDetails to set.

Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

This builder for chaining.

setState(State value)

public AutonomousDatabaseStandbySummary.Builder setState(State value)

Output only. The current lifecycle state of the Autonomous Database.

.google.cloud.oracledatabase.v1.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value State

The state to set.

Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

This builder for chaining.

setStateValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
AutonomousDatabaseStandbySummary.Builder

This builder for chaining.