Class AddDnsPeeringRequest.Builder (1.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AddDnsPeeringRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides

build()

public AddDnsPeeringRequest build()
Returns
TypeDescription
AddDnsPeeringRequest

buildPartial()

public AddDnsPeeringRequest buildPartial()
Returns
TypeDescription
AddDnsPeeringRequest

clear()

public AddDnsPeeringRequest.Builder clear()
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides

clearDnsPeering()

public AddDnsPeeringRequest.Builder clearDnsPeering()

Dns peering config.

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

Returns
TypeDescription
AddDnsPeeringRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public AddDnsPeeringRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AddDnsPeeringRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AddDnsPeeringRequest.Builder

This builder for chaining.

clone()

public AddDnsPeeringRequest.Builder clone()
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides

getDefaultInstanceForType()

public AddDnsPeeringRequest getDefaultInstanceForType()
Returns
TypeDescription
AddDnsPeeringRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDnsPeering()

public DnsPeering getDnsPeering()

Dns peering config.

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

Returns
TypeDescription
DnsPeering

The dnsPeering.

getDnsPeeringBuilder()

public DnsPeering.Builder getDnsPeeringBuilder()

Dns peering config.

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

Returns
TypeDescription
DnsPeering.Builder

getDnsPeeringOrBuilder()

public DnsPeeringOrBuilder getDnsPeeringOrBuilder()

Dns peering config.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

hasDnsPeering()

public boolean hasDnsPeering()

Dns peering config.

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

Returns
TypeDescription
boolean

Whether the dnsPeering field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDnsPeering(DnsPeering value)

public AddDnsPeeringRequest.Builder mergeDnsPeering(DnsPeering value)

Dns peering config.

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

Parameter
NameDescription
valueDnsPeering
Returns
TypeDescription
AddDnsPeeringRequest.Builder

mergeFrom(AddDnsPeeringRequest other)

public AddDnsPeeringRequest.Builder mergeFrom(AddDnsPeeringRequest other)
Parameter
NameDescription
otherAddDnsPeeringRequest
Returns
TypeDescription
AddDnsPeeringRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AddDnsPeeringRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AddDnsPeeringRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AddDnsPeeringRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides

setDnsPeering(DnsPeering value)

public AddDnsPeeringRequest.Builder setDnsPeering(DnsPeering value)

Dns peering config.

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

Parameter
NameDescription
valueDnsPeering
Returns
TypeDescription
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
NameDescription
builderForValueDnsPeering.Builder
Returns
TypeDescription
AddDnsPeeringRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AddDnsPeeringRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AddDnsPeeringRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AddDnsPeeringRequest.Builder
Overrides