public static final class RestoreAutonomousDatabaseRequest.Builder extends GeneratedMessage.Builder<RestoreAutonomousDatabaseRequest.Builder> implements RestoreAutonomousDatabaseRequestOrBuilder The request for AutonomousDatabase.Restore.
Protobuf type google.cloud.oracledatabase.v1.RestoreAutonomousDatabaseRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RestoreAutonomousDatabaseRequest.BuilderImplements
RestoreAutonomousDatabaseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RestoreAutonomousDatabaseRequest build()| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest |
|
buildPartial()
public RestoreAutonomousDatabaseRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest |
|
clear()
public RestoreAutonomousDatabaseRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
This builder for chaining. |
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];
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|
getDefaultInstanceForType()
public RestoreAutonomousDatabaseRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String 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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RestoreAutonomousDatabaseRequest other)
public RestoreAutonomousDatabaseRequest.Builder mergeFrom(RestoreAutonomousDatabaseRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreAutonomousDatabaseRequest |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreAutonomousDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreAutonomousDatabaseRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|
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 |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
This builder for chaining. |
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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RestoreAutonomousDatabaseRequest.Builder |
|