public static final class FailoverAutonomousDatabaseRequest.Builder extends GeneratedMessage.Builder<FailoverAutonomousDatabaseRequest.Builder> implements FailoverAutonomousDatabaseRequestOrBuilder The request for OracleDatabase.FailoverAutonomousDatabase.
Protobuf type google.cloud.oracledatabase.v1.FailoverAutonomousDatabaseRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FailoverAutonomousDatabaseRequest.BuilderImplements
FailoverAutonomousDatabaseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FailoverAutonomousDatabaseRequest build()| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest |
|
buildPartial()
public FailoverAutonomousDatabaseRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest |
|
clear()
public FailoverAutonomousDatabaseRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest.Builder |
|
clearName()
public FailoverAutonomousDatabaseRequest.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 |
FailoverAutonomousDatabaseRequest.Builder |
This builder for chaining. |
clearPeerAutonomousDatabase()
public FailoverAutonomousDatabaseRequest.Builder clearPeerAutonomousDatabase()Required. The peer database name to fail over to.
string peer_autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FailoverAutonomousDatabaseRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest |
|
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. |
getPeerAutonomousDatabase()
public String getPeerAutonomousDatabase()Required. The peer database name to fail over to.
string peer_autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The peerAutonomousDatabase. |
getPeerAutonomousDatabaseBytes()
public ByteString getPeerAutonomousDatabaseBytes()Required. The peer database name to fail over to.
string peer_autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for peerAutonomousDatabase. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FailoverAutonomousDatabaseRequest other)
public FailoverAutonomousDatabaseRequest.Builder mergeFrom(FailoverAutonomousDatabaseRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
FailoverAutonomousDatabaseRequest |
| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FailoverAutonomousDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FailoverAutonomousDatabaseRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest.Builder |
|
setName(String value)
public FailoverAutonomousDatabaseRequest.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 |
FailoverAutonomousDatabaseRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FailoverAutonomousDatabaseRequest.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 |
FailoverAutonomousDatabaseRequest.Builder |
This builder for chaining. |
setPeerAutonomousDatabase(String value)
public FailoverAutonomousDatabaseRequest.Builder setPeerAutonomousDatabase(String value)Required. The peer database name to fail over to.
string peer_autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe peerAutonomousDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest.Builder |
This builder for chaining. |
setPeerAutonomousDatabaseBytes(ByteString value)
public FailoverAutonomousDatabaseRequest.Builder setPeerAutonomousDatabaseBytes(ByteString value)Required. The peer database name to fail over to.
string peer_autonomous_database = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for peerAutonomousDatabase to set. |
| Returns | |
|---|---|
| Type | Description |
FailoverAutonomousDatabaseRequest.Builder |
This builder for chaining. |