public static final class RestoreAutonomousDatabaseRequest.Builder extends GeneratedMessageV3.Builder<RestoreAutonomousDatabaseRequest.Builder> implements RestoreAutonomousDatabaseRequestOrBuilder
The request for AutonomousDatabase.Restore
.
Protobuf type google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreAutonomousDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RestoreAutonomousDatabaseRequest build()
buildPartial()
public RestoreAutonomousDatabaseRequest buildPartial()
clear()
public RestoreAutonomousDatabaseRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RestoreAutonomousDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public RestoreAutonomousDatabaseRequest.Builder clearName()
Required. The name of the Autonomous Database in the following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreAutonomousDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRestoreTime()
public RestoreAutonomousDatabaseRequest.Builder clearRestoreTime()
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public RestoreAutonomousDatabaseRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public RestoreAutonomousDatabaseRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getName()
Required. The name of the Autonomous Database in the following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The name of the Autonomous Database in the following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getRestoreTime()
public Timestamp getRestoreTime()
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Timestamp |
The restoreTime.
|
getRestoreTimeBuilder()
public Timestamp.Builder getRestoreTimeBuilder()
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
getRestoreTimeOrBuilder()
public TimestampOrBuilder getRestoreTimeOrBuilder()
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
hasRestoreTime()
public boolean hasRestoreTime()
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the restoreTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RestoreAutonomousDatabaseRequest other)
public RestoreAutonomousDatabaseRequest.Builder mergeFrom(RestoreAutonomousDatabaseRequest other)
public RestoreAutonomousDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RestoreAutonomousDatabaseRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRestoreTime(Timestamp value)
public RestoreAutonomousDatabaseRequest.Builder mergeRestoreTime(Timestamp value)
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreAutonomousDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreAutonomousDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
public RestoreAutonomousDatabaseRequest.Builder setName(String value)
Required. The name of the Autonomous Database in the following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public RestoreAutonomousDatabaseRequest.Builder setNameBytes(ByteString value)
Required. The name of the Autonomous Database in the following format:
projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreAutonomousDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRestoreTime(Timestamp value)
public RestoreAutonomousDatabaseRequest.Builder setRestoreTime(Timestamp value)
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
setRestoreTime(Timestamp.Builder builderForValue)
public RestoreAutonomousDatabaseRequest.Builder setRestoreTime(Timestamp.Builder builderForValue)
Required. The time and date to restore the database to.
.google.protobuf.Timestamp restore_time = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreAutonomousDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides