Class DnsPeering.Builder (1.44.0)

publicstaticfinalclass DnsPeering.BuilderextendsGeneratedMessageV3.Builder<DnsPeering.Builder>implementsDnsPeeringOrBuilder

DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.

Protobuf type google.cloud.datafusion.v1beta1.DnsPeering

Implements

DnsPeeringOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicDnsPeering.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsPeering.Builder
Overrides

build()

publicDnsPeeringbuild()
Returns
Type Description
DnsPeering

buildPartial()

publicDnsPeeringbuildPartial()
Returns
Type Description
DnsPeering

clear()

publicDnsPeering.Builderclear()
Returns
Type Description
DnsPeering.Builder
Overrides

clearDescription()

publicDnsPeering.BuilderclearDescription()

Optional. Optional description of the dns zone.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

clearDomain()

publicDnsPeering.BuilderclearDomain()

Required. Name of the dns.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicDnsPeering.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DnsPeering.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicDnsPeering.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DnsPeering.Builder
Overrides

clearTargetNetwork()

publicDnsPeering.BuilderclearTargetNetwork()

Optional. Optional target network to which dns peering should happen.

string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

clearTargetProject()

publicDnsPeering.BuilderclearTargetProject()

Optional. Optional target project to which dns peering should happen.

string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

clearZone()

publicDnsPeering.BuilderclearZone()

Required. Name of the zone.

string zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

clone()

publicDnsPeering.Builderclone()
Returns
Type Description
DnsPeering.Builder
Overrides

getDefaultInstanceForType()

publicDnsPeeringgetDefaultInstanceForType()
Returns
Type Description
DnsPeering

getDescription()

publicStringgetDescription()

Optional. Optional description of the dns zone.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

Optional. Optional description of the dns zone.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDomain()

publicStringgetDomain()

Required. Name of the dns.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The domain.

getDomainBytes()

publicByteStringgetDomainBytes()

Required. Name of the dns.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for domain.

getTargetNetwork()

publicStringgetTargetNetwork()

Optional. Optional target network to which dns peering should happen.

string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The targetNetwork.

getTargetNetworkBytes()

publicByteStringgetTargetNetworkBytes()

Optional. Optional target network to which dns peering should happen.

string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for targetNetwork.

getTargetProject()

publicStringgetTargetProject()

Optional. Optional target project to which dns peering should happen.

string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The targetProject.

getTargetProjectBytes()

publicByteStringgetTargetProjectBytes()

Optional. Optional target project to which dns peering should happen.

string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for targetProject.

getZone()

publicStringgetZone()

Required. Name of the zone.

string zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The zone.

getZoneBytes()

publicByteStringgetZoneBytes()

Required. Name of the zone.

string zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for zone.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DnsPeering other)

publicDnsPeering.BuildermergeFrom(DnsPeeringother)
Parameter
Name Description
other DnsPeering
Returns
Type Description
DnsPeering.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicDnsPeering.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DnsPeering.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicDnsPeering.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
DnsPeering.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalDnsPeering.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsPeering.Builder
Overrides

setDescription(String value)

publicDnsPeering.BuildersetDescription(Stringvalue)

Optional. Optional description of the dns zone.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

publicDnsPeering.BuildersetDescriptionBytes(ByteStringvalue)

Optional. Optional description of the dns zone.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setDomain(String value)

publicDnsPeering.BuildersetDomain(Stringvalue)

Required. Name of the dns.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The domain to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setDomainBytes(ByteString value)

publicDnsPeering.BuildersetDomainBytes(ByteStringvalue)

Required. Name of the dns.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicDnsPeering.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DnsPeering.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicDnsPeering.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DnsPeering.Builder
Overrides

setTargetNetwork(String value)

publicDnsPeering.BuildersetTargetNetwork(Stringvalue)

Optional. Optional target network to which dns peering should happen.

string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The targetNetwork to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setTargetNetworkBytes(ByteString value)

publicDnsPeering.BuildersetTargetNetworkBytes(ByteStringvalue)

Optional. Optional target network to which dns peering should happen.

string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for targetNetwork to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setTargetProject(String value)

publicDnsPeering.BuildersetTargetProject(Stringvalue)

Optional. Optional target project to which dns peering should happen.

string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The targetProject to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setTargetProjectBytes(ByteString value)

publicDnsPeering.BuildersetTargetProjectBytes(ByteStringvalue)

Optional. Optional target project to which dns peering should happen.

string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for targetProject to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalDnsPeering.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DnsPeering.Builder
Overrides

setZone(String value)

publicDnsPeering.BuildersetZone(Stringvalue)

Required. Name of the zone.

string zone = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The zone to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

setZoneBytes(ByteString value)

publicDnsPeering.BuildersetZoneBytes(ByteStringvalue)

Required. Name of the zone.

string zone = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for zone to set.

Returns
Type Description
DnsPeering.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.