Class CreateOdbNetworkRequest.Builder (0.32.0)

public static final class CreateOdbNetworkRequest.Builder extends GeneratedMessage.Builder<CreateOdbNetworkRequest.Builder> implements CreateOdbNetworkRequestOrBuilder

The request for OdbNetwork.Create.

Protobuf type google.cloud.oracledatabase.v1.CreateOdbNetworkRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateOdbNetworkRequest build()
Returns
Type Description
CreateOdbNetworkRequest

buildPartial()

public CreateOdbNetworkRequest buildPartial()
Returns
Type Description
CreateOdbNetworkRequest

clear()

public CreateOdbNetworkRequest.Builder clear()
Returns
Type Description
CreateOdbNetworkRequest.Builder
Overrides

clearOdbNetwork()

public CreateOdbNetworkRequest.Builder clearOdbNetwork()

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateOdbNetworkRequest.Builder

clearOdbNetworkId()

public CreateOdbNetworkRequest.Builder clearOdbNetworkId()

Required. The ID of the OdbNetwork 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 odb_network_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.

clearParent()

public CreateOdbNetworkRequest.Builder clearParent()

Required. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.

clearRequestId()

public CreateOdbNetworkRequest.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
CreateOdbNetworkRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateOdbNetworkRequest getDefaultInstanceForType()
Returns
Type Description
CreateOdbNetworkRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOdbNetwork()

public OdbNetwork getOdbNetwork()

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbNetwork

The odbNetwork.

getOdbNetworkBuilder()

public OdbNetwork.Builder getOdbNetworkBuilder()

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbNetwork.Builder

getOdbNetworkId()

public String getOdbNetworkId()

Required. The ID of the OdbNetwork 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 odb_network_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The odbNetworkId.

getOdbNetworkIdBytes()

public ByteString getOdbNetworkIdBytes()

Required. The ID of the OdbNetwork 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 odb_network_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for odbNetworkId.

getOdbNetworkOrBuilder()

public OdbNetworkOrBuilder getOdbNetworkOrBuilder()

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbNetworkOrBuilder

getParent()

public String getParent()

Required. The parent value for the OdbNetwork 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 OdbNetwork 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.

hasOdbNetwork()

public boolean hasOdbNetwork()

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the odbNetwork field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateOdbNetworkRequest other)

public CreateOdbNetworkRequest.Builder mergeFrom(CreateOdbNetworkRequest other)
Parameter
Name Description
other CreateOdbNetworkRequest
Returns
Type Description
CreateOdbNetworkRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateOdbNetworkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateOdbNetworkRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateOdbNetworkRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateOdbNetworkRequest.Builder
Overrides

mergeOdbNetwork(OdbNetwork value)

public CreateOdbNetworkRequest.Builder mergeOdbNetwork(OdbNetwork value)

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OdbNetwork
Returns
Type Description
CreateOdbNetworkRequest.Builder

setOdbNetwork(OdbNetwork value)

public CreateOdbNetworkRequest.Builder setOdbNetwork(OdbNetwork value)

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OdbNetwork
Returns
Type Description
CreateOdbNetworkRequest.Builder

setOdbNetwork(OdbNetwork.Builder builderForValue)

public CreateOdbNetworkRequest.Builder setOdbNetwork(OdbNetwork.Builder builderForValue)

Required. Details of the OdbNetwork instance to create.

.google.cloud.oracledatabase.v1.OdbNetwork odb_network = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OdbNetwork.Builder
Returns
Type Description
CreateOdbNetworkRequest.Builder

setOdbNetworkId(String value)

public CreateOdbNetworkRequest.Builder setOdbNetworkId(String value)

Required. The ID of the OdbNetwork 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 odb_network_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The odbNetworkId to set.

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.

setOdbNetworkIdBytes(ByteString value)

public CreateOdbNetworkRequest.Builder setOdbNetworkIdBytes(ByteString value)

Required. The ID of the OdbNetwork 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 odb_network_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for odbNetworkId to set.

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.

setParent(String value)

public CreateOdbNetworkRequest.Builder setParent(String value)

Required. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateOdbNetworkRequest.Builder setParentBytes(ByteString value)

Required. The parent value for the OdbNetwork in the following format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.

setRequestId(String value)

public CreateOdbNetworkRequest.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 String

The requestId to set.

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateOdbNetworkRequest.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 ByteString

The bytes for requestId to set.

Returns
Type Description
CreateOdbNetworkRequest.Builder

This builder for chaining.