Class CreateOdbDnsZoneRequest.Builder (0.52.0)

public static final class CreateOdbDnsZoneRequest.Builder extends GeneratedMessage.Builder<CreateOdbDnsZoneRequest.Builder> implements CreateOdbDnsZoneRequestOrBuilder

The request for OdbDnsZone.Create.

Protobuf type google.cloud.oracledatabase.v1.CreateOdbDnsZoneRequest

Static Methods

getDescriptor()

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

Methods

build()

public CreateOdbDnsZoneRequest build()
Returns
Type Description
CreateOdbDnsZoneRequest

buildPartial()

public CreateOdbDnsZoneRequest buildPartial()
Returns
Type Description
CreateOdbDnsZoneRequest

clear()

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

clearOdbDnsZone()

public CreateOdbDnsZoneRequest.Builder clearOdbDnsZone()

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateOdbDnsZoneRequest.Builder

clearOdbDnsZoneId()

public CreateOdbDnsZoneRequest.Builder clearOdbDnsZoneId()

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

Returns
Type Description
CreateOdbDnsZoneRequest.Builder

This builder for chaining.

clearParent()

public CreateOdbDnsZoneRequest.Builder clearParent()

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

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

Returns
Type Description
CreateOdbDnsZoneRequest.Builder

This builder for chaining.

clearRequestId()

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

This builder for chaining.

getDefaultInstanceForType()

public CreateOdbDnsZoneRequest getDefaultInstanceForType()
Returns
Type Description
CreateOdbDnsZoneRequest

getDescriptorForType()

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

getOdbDnsZone()

public OdbDnsZone getOdbDnsZone()

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbDnsZone

The odbDnsZone.

getOdbDnsZoneBuilder()

public OdbDnsZone.Builder getOdbDnsZoneBuilder()

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbDnsZone.Builder

getOdbDnsZoneId()

public String getOdbDnsZoneId()

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

Returns
Type Description
String

The odbDnsZoneId.

getOdbDnsZoneIdBytes()

public ByteString getOdbDnsZoneIdBytes()

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

Returns
Type Description
ByteString

The bytes for odbDnsZoneId.

getOdbDnsZoneOrBuilder()

public OdbDnsZoneOrBuilder getOdbDnsZoneOrBuilder()

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OdbDnsZoneOrBuilder

getParent()

public String getParent()

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

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 OdbDnsZone in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}.

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.

hasOdbDnsZone()

public boolean hasOdbDnsZone()

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the odbDnsZone field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateOdbDnsZoneRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeOdbDnsZone(OdbDnsZone value)

public CreateOdbDnsZoneRequest.Builder mergeOdbDnsZone(OdbDnsZone value)

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OdbDnsZone
Returns
Type Description
CreateOdbDnsZoneRequest.Builder

setOdbDnsZone(OdbDnsZone value)

public CreateOdbDnsZoneRequest.Builder setOdbDnsZone(OdbDnsZone value)

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value OdbDnsZone
Returns
Type Description
CreateOdbDnsZoneRequest.Builder

setOdbDnsZone(OdbDnsZone.Builder builderForValue)

public CreateOdbDnsZoneRequest.Builder setOdbDnsZone(OdbDnsZone.Builder builderForValue)

Required. Details of the OdbDnsZone instance to create.

.google.cloud.oracledatabase.v1.OdbDnsZone odb_dns_zone = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue OdbDnsZone.Builder
Returns
Type Description
CreateOdbDnsZoneRequest.Builder

setOdbDnsZoneId(String value)

public CreateOdbDnsZoneRequest.Builder setOdbDnsZoneId(String value)

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

Parameter
Name Description
value String

The odbDnsZoneId to set.

Returns
Type Description
CreateOdbDnsZoneRequest.Builder

This builder for chaining.

setOdbDnsZoneIdBytes(ByteString value)

public CreateOdbDnsZoneRequest.Builder setOdbDnsZoneIdBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for odbDnsZoneId to set.

Returns
Type Description
CreateOdbDnsZoneRequest.Builder

This builder for chaining.

setParent(String value)

public CreateOdbDnsZoneRequest.Builder setParent(String value)

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateOdbDnsZoneRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateOdbDnsZoneRequest.Builder setParentBytes(ByteString value)

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

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
CreateOdbDnsZoneRequest.Builder

This builder for chaining.

setRequestId(String value)

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

This builder for chaining.

setRequestIdBytes(ByteString value)

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

This builder for chaining.