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/AutonomousDatabaseStandbySummaryProtobuf type
google.cloud.oracledatabase.v1.AutonomousDatabaseStandbySummary-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.DurationOutput only.com.google.protobuf.Duration.BuilderOutput only.com.google.protobuf.DurationOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDataGuardRoleChangedTime(com.google.protobuf.Timestamp value) Output only.mergeDisasterRecoveryRoleChangedTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLagTimeDuration(com.google.protobuf.Duration value) Output only.setDataGuardRoleChangedTime(com.google.protobuf.Timestamp value) Output only.setDataGuardRoleChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisasterRecoveryRoleChangedTime(com.google.protobuf.Timestamp value) Output only.setDisasterRecoveryRoleChangedTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setLagTimeDuration(com.google.protobuf.Duration value) Output only.setLagTimeDuration(com.google.protobuf.Duration.Builder builderForValue) Output only.setLifecycleDetails(String value) Output only.setLifecycleDetailsBytes(com.google.protobuf.ByteString value) Output only.Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseStandbySummary.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseStandbySummary.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseStandbySummary.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutonomousDatabaseStandbySummary.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasLagTimeDurationin interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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:
getLagTimeDurationin interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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
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:
getLagTimeDurationOrBuilderin interfaceAutonomousDatabaseStandbySummaryOrBuilder
-
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:
getLifecycleDetailsin interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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:
getLifecycleDetailsBytesin interfaceAutonomousDatabaseStandbySummaryOrBuilder- Returns:
- The bytes for lifecycleDetails.
-
setLifecycleDetails
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
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:
getStateValuein interfaceAutonomousDatabaseStandbySummaryOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
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:
getStatein interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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:
hasDataGuardRoleChangedTimein interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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:
getDataGuardRoleChangedTimein interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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
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:
getDataGuardRoleChangedTimeOrBuilderin interfaceAutonomousDatabaseStandbySummaryOrBuilder
-
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:
hasDisasterRecoveryRoleChangedTimein interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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:
getDisasterRecoveryRoleChangedTimein interfaceAutonomousDatabaseStandbySummaryOrBuilder- 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
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:
getDisasterRecoveryRoleChangedTimeOrBuilderin interfaceAutonomousDatabaseStandbySummaryOrBuilder
-