Class DnsPeeringConfig.Builder (3.68.0)

public static final class DnsPeeringConfig.Builder extends GeneratedMessageV3.Builder<DnsPeeringConfig.Builder> implements DnsPeeringConfigOrBuilder

DNS peering configuration. These configurations are used to create DNS peering zones in the Vertex tenant project VPC, enabling resolution of records within the specified domain hosted in the target network's Cloud DNS.

Protobuf type google.cloud.aiplatform.v1.DnsPeeringConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DnsPeeringConfig build()
Returns
Type Description
DnsPeeringConfig

buildPartial()

public DnsPeeringConfig buildPartial()
Returns
Type Description
DnsPeeringConfig

clear()

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

clearDomain()

public DnsPeeringConfig.Builder clearDomain()

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

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

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetNetwork()

public DnsPeeringConfig.Builder clearTargetNetwork()

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

clearTargetProject()

public DnsPeeringConfig.Builder clearTargetProject()

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

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

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DnsPeeringConfig getDefaultInstanceForType()
Returns
Type Description
DnsPeeringConfig

getDescriptorForType()

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

getDomain()

public String getDomain()

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

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

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

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

Returns
Type Description
ByteString

The bytes for domain.

getTargetNetwork()

public String getTargetNetwork()

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The targetNetwork.

getTargetNetworkBytes()

public ByteString getTargetNetworkBytes()

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for targetNetwork.

getTargetProject()

public String getTargetProject()

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

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

Returns
Type Description
String

The targetProject.

getTargetProjectBytes()

public ByteString getTargetProjectBytes()

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

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

Returns
Type Description
ByteString

The bytes for targetProject.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DnsPeeringConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDomain(String value)

public DnsPeeringConfig.Builder setDomain(String value)

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

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

Parameter
Name Description
value String

The domain to set.

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public DnsPeeringConfig.Builder setDomainBytes(ByteString value)

Required. The DNS name suffix of the zone being peered to, e.g., "my-internal-domain.corp.". Must end with a dot.

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

Parameter
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTargetNetwork(String value)

public DnsPeeringConfig.Builder setTargetNetwork(String value)

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The targetNetwork to set.

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

setTargetNetworkBytes(ByteString value)

public DnsPeeringConfig.Builder setTargetNetworkBytes(ByteString value)

Required. The VPC network name in the target_project where the DNS zone specified by 'domain' is visible.

string target_network = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for targetNetwork to set.

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

setTargetProject(String value)

public DnsPeeringConfig.Builder setTargetProject(String value)

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

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

Parameter
Name Description
value String

The targetProject to set.

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

setTargetProjectBytes(ByteString value)

public DnsPeeringConfig.Builder setTargetProjectBytes(ByteString value)

Required. The project ID hosting the Cloud DNS managed zone that contains the 'domain'. The Vertex AI Service Agent requires the dns.peer role on this project.

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

Parameter
Name Description
value ByteString

The bytes for targetProject to set.

Returns
Type Description
DnsPeeringConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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