Class AddDnsPeeringRequest.Builder (1.48.0)

public static final class AddDnsPeeringRequest.Builder extends GeneratedMessageV3.Builder<AddDnsPeeringRequest.Builder> implements AddDnsPeeringRequestOrBuilder

Request message to create dns peering.

Protobuf type google.cloud.datafusion.v1beta1.AddDnsPeeringRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AddDnsPeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides

build()

public AddDnsPeeringRequest build()
Returns
Type Description
AddDnsPeeringRequest

buildPartial()

public AddDnsPeeringRequest buildPartial()
Returns
Type Description
AddDnsPeeringRequest

clear()

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

clearDnsPeering()

public AddDnsPeeringRequest.Builder clearDnsPeering()

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Returns
Type Description
AddDnsPeeringRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public AddDnsPeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AddDnsPeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides

clearParent()

public AddDnsPeeringRequest.Builder clearParent()

Required. The resource on which DNS peering will be created.

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

Returns
Type Description
AddDnsPeeringRequest.Builder

This builder for chaining.

clone()

public AddDnsPeeringRequest.Builder clone()
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides

getDefaultInstanceForType()

public AddDnsPeeringRequest getDefaultInstanceForType()
Returns
Type Description
AddDnsPeeringRequest

getDescriptorForType()

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

getDnsPeering()

public DnsPeering getDnsPeering()

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Returns
Type Description
DnsPeering

The dnsPeering.

getDnsPeeringBuilder()

public DnsPeering.Builder getDnsPeeringBuilder()

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Returns
Type Description
DnsPeering.Builder

getDnsPeeringOrBuilder()

public DnsPeeringOrBuilder getDnsPeeringOrBuilder()

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Returns
Type Description
DnsPeeringOrBuilder

getParent()

public String getParent()

Required. The resource on which DNS peering will be created.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource on which DNS peering will be created.

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

Returns
Type Description
ByteString

The bytes for parent.

hasDnsPeering()

public boolean hasDnsPeering()

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Returns
Type Description
boolean

Whether the dnsPeering field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDnsPeering(DnsPeering value)

public AddDnsPeeringRequest.Builder mergeDnsPeering(DnsPeering value)

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Parameter
Name Description
value DnsPeering
Returns
Type Description
AddDnsPeeringRequest.Builder

mergeFrom(AddDnsPeeringRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AddDnsPeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides

setDnsPeering(DnsPeering value)

public AddDnsPeeringRequest.Builder setDnsPeering(DnsPeering value)

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Parameter
Name Description
value DnsPeering
Returns
Type Description
AddDnsPeeringRequest.Builder

setDnsPeering(DnsPeering.Builder builderForValue)

public AddDnsPeeringRequest.Builder setDnsPeering(DnsPeering.Builder builderForValue)

Dns peering config.

.google.cloud.datafusion.v1beta1.DnsPeering dns_peering = 2;

Parameter
Name Description
builderForValue DnsPeering.Builder
Returns
Type Description
AddDnsPeeringRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AddDnsPeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides

setParent(String value)

public AddDnsPeeringRequest.Builder setParent(String value)

Required. The resource on which DNS peering will be created.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
AddDnsPeeringRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public AddDnsPeeringRequest.Builder setParentBytes(ByteString value)

Required. The resource on which DNS peering will be created.

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

This builder for chaining.

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

public AddDnsPeeringRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AddDnsPeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AddDnsPeeringRequest.Builder
Overrides