Class GetOdbDnsZoneRequest.Builder (0.52.0)

public static final class GetOdbDnsZoneRequest.Builder extends GeneratedMessage.Builder<GetOdbDnsZoneRequest.Builder> implements GetOdbDnsZoneRequestOrBuilder

The request for OdbDnsZone.Get.

Protobuf type google.cloud.oracledatabase.v1.GetOdbDnsZoneRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetOdbDnsZoneRequest build()
Returns
Type Description
GetOdbDnsZoneRequest

buildPartial()

public GetOdbDnsZoneRequest buildPartial()
Returns
Type Description
GetOdbDnsZoneRequest

clear()

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

clearName()

public GetOdbDnsZoneRequest.Builder clearName()

Required. The name of the OdbDnsZone in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}.

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

Returns
Type Description
GetOdbDnsZoneRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetOdbDnsZoneRequest getDefaultInstanceForType()
Returns
Type Description
GetOdbDnsZoneRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the OdbDnsZone in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}.

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

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetOdbDnsZoneRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetOdbDnsZoneRequest.Builder setName(String value)

Required. The name of the OdbDnsZone in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetOdbDnsZoneRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetOdbDnsZoneRequest.Builder setNameBytes(ByteString value)

Required. The name of the OdbDnsZone in the following format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetOdbDnsZoneRequest.Builder

This builder for chaining.