public static final class CreateDatabaseConnectionRequest.Builder extends GeneratedMessage.Builder<CreateDatabaseConnectionRequest.Builder> implements CreateDatabaseConnectionRequestOrBuilder The request for DatabaseConnection.Create.
Protobuf type google.cloud.oracledatabase.v1.CreateDatabaseConnectionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateDatabaseConnectionRequest.BuilderImplements
CreateDatabaseConnectionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateDatabaseConnectionRequest build()| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest |
|
buildPartial()
public CreateDatabaseConnectionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest |
|
clear()
public CreateDatabaseConnectionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
clearDatabaseConnection()
public CreateDatabaseConnectionRequest.Builder clearDatabaseConnection()Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
clearDatabaseConnectionId()
public CreateDatabaseConnectionRequest.Builder clearDatabaseConnectionId()Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string database_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
clearParent()
public CreateDatabaseConnectionRequest.Builder clearParent()Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
clearRequestId()
public CreateDatabaseConnectionRequest.Builder clearRequestId()Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
getDatabaseConnection()
public DatabaseConnection getDatabaseConnection()Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseConnection |
The databaseConnection. |
getDatabaseConnectionBuilder()
public DatabaseConnection.Builder getDatabaseConnectionBuilder()Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseConnection.Builder |
|
getDatabaseConnectionId()
public String getDatabaseConnectionId()Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string database_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The databaseConnectionId. |
getDatabaseConnectionIdBytes()
public ByteString getDatabaseConnectionIdBytes()Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string database_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for databaseConnectionId. |
getDatabaseConnectionOrBuilder()
public DatabaseConnectionOrBuilder getDatabaseConnectionOrBuilder()Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DatabaseConnectionOrBuilder |
|
getDefaultInstanceForType()
public CreateDatabaseConnectionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getRequestId()
public String getRequestId()Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The requestId. |
getRequestIdBytes()
public ByteString getRequestIdBytes()Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestId. |
hasDatabaseConnection()
public boolean hasDatabaseConnection()Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the databaseConnection field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDatabaseConnection(DatabaseConnection value)
public CreateDatabaseConnectionRequest.Builder mergeDatabaseConnection(DatabaseConnection value)Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseConnection |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
mergeFrom(CreateDatabaseConnectionRequest other)
public CreateDatabaseConnectionRequest.Builder mergeFrom(CreateDatabaseConnectionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateDatabaseConnectionRequest |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateDatabaseConnectionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateDatabaseConnectionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
setDatabaseConnection(DatabaseConnection value)
public CreateDatabaseConnectionRequest.Builder setDatabaseConnection(DatabaseConnection value)Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseConnection |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
setDatabaseConnection(DatabaseConnection.Builder builderForValue)
public CreateDatabaseConnectionRequest.Builder setDatabaseConnection(DatabaseConnection.Builder builderForValue)Required. Details of the DatabaseConnection instance to create.
.google.cloud.oracledatabase.v1.DatabaseConnection database_connection = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DatabaseConnection.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
|
setDatabaseConnectionId(String value)
public CreateDatabaseConnectionRequest.Builder setDatabaseConnectionId(String value)Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string database_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe databaseConnectionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
setDatabaseConnectionIdBytes(ByteString value)
public CreateDatabaseConnectionRequest.Builder setDatabaseConnectionIdBytes(ByteString value)Required. The ID of the DatabaseConnection to create. This value is restricted to (^a-z?$) and must be a maximum of 63 characters in length. The value must start with a letter and end with a letter or a number.
string database_connection_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for databaseConnectionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateDatabaseConnectionRequest.Builder setParent(String value)Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateDatabaseConnectionRequest.Builder setParentBytes(ByteString value)Required. The parent value for the DatabaseConnection in the following format: projects/{project}/locations/{location}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
setRequestId(String value)
public CreateDatabaseConnectionRequest.Builder setRequestId(String value)Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |
setRequestIdBytes(ByteString value)
public CreateDatabaseConnectionRequest.Builder setRequestIdBytes(ByteString value)Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for requestId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateDatabaseConnectionRequest.Builder |
This builder for chaining. |