Class PscInterfaceConfig.Builder (3.68.0)

public static final class PscInterfaceConfig.Builder extends GeneratedMessageV3.Builder<PscInterfaceConfig.Builder> implements PscInterfaceConfigOrBuilder

Configuration for PSC-I.

Protobuf type google.cloud.aiplatform.v1.PscInterfaceConfig

Static Methods

getDescriptor()

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

Methods

addAllDnsPeeringConfigs(Iterable<? extends DnsPeeringConfig> values)

public PscInterfaceConfig.Builder addAllDnsPeeringConfigs(Iterable<? extends DnsPeeringConfig> values)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.aiplatform.v1.DnsPeeringConfig>
Returns
Type Description
PscInterfaceConfig.Builder

addDnsPeeringConfigs(DnsPeeringConfig value)

public PscInterfaceConfig.Builder addDnsPeeringConfigs(DnsPeeringConfig value)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DnsPeeringConfig
Returns
Type Description
PscInterfaceConfig.Builder

addDnsPeeringConfigs(DnsPeeringConfig.Builder builderForValue)

public PscInterfaceConfig.Builder addDnsPeeringConfigs(DnsPeeringConfig.Builder builderForValue)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DnsPeeringConfig.Builder
Returns
Type Description
PscInterfaceConfig.Builder

addDnsPeeringConfigs(int index, DnsPeeringConfig value)

public PscInterfaceConfig.Builder addDnsPeeringConfigs(int index, DnsPeeringConfig value)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value DnsPeeringConfig
Returns
Type Description
PscInterfaceConfig.Builder

addDnsPeeringConfigs(int index, DnsPeeringConfig.Builder builderForValue)

public PscInterfaceConfig.Builder addDnsPeeringConfigs(int index, DnsPeeringConfig.Builder builderForValue)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue DnsPeeringConfig.Builder
Returns
Type Description
PscInterfaceConfig.Builder

addDnsPeeringConfigsBuilder()

public DnsPeeringConfig.Builder addDnsPeeringConfigsBuilder()

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DnsPeeringConfig.Builder

addDnsPeeringConfigsBuilder(int index)

public DnsPeeringConfig.Builder addDnsPeeringConfigsBuilder(int index)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DnsPeeringConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PscInterfaceConfig build()
Returns
Type Description
PscInterfaceConfig

buildPartial()

public PscInterfaceConfig buildPartial()
Returns
Type Description
PscInterfaceConfig

clear()

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

clearDnsPeeringConfigs()

public PscInterfaceConfig.Builder clearDnsPeeringConfigs()

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PscInterfaceConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNetworkAttachment()

public PscInterfaceConfig.Builder clearNetworkAttachment()

Optional. The name of the Compute Engine network attachment to attach to the resource within the region and user project. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
PscInterfaceConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PscInterfaceConfig getDefaultInstanceForType()
Returns
Type Description
PscInterfaceConfig

getDescriptorForType()

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

getDnsPeeringConfigs(int index)

public DnsPeeringConfig getDnsPeeringConfigs(int index)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DnsPeeringConfig

getDnsPeeringConfigsBuilder(int index)

public DnsPeeringConfig.Builder getDnsPeeringConfigsBuilder(int index)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DnsPeeringConfig.Builder

getDnsPeeringConfigsBuilderList()

public List<DnsPeeringConfig.Builder> getDnsPeeringConfigsBuilderList()

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getDnsPeeringConfigsCount()

public int getDnsPeeringConfigsCount()

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getDnsPeeringConfigsList()

public List<DnsPeeringConfig> getDnsPeeringConfigsList()

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<DnsPeeringConfig>

getDnsPeeringConfigsOrBuilder(int index)

public DnsPeeringConfigOrBuilder getDnsPeeringConfigsOrBuilder(int index)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DnsPeeringConfigOrBuilder

getDnsPeeringConfigsOrBuilderList()

public List<? extends DnsPeeringConfigOrBuilder> getDnsPeeringConfigsOrBuilderList()

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1.DnsPeeringConfigOrBuilder>

getNetworkAttachment()

public String getNetworkAttachment()

Optional. The name of the Compute Engine network attachment to attach to the resource within the region and user project. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The networkAttachment.

getNetworkAttachmentBytes()

public ByteString getNetworkAttachmentBytes()

Optional. The name of the Compute Engine network attachment to attach to the resource within the region and user project. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for networkAttachment.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PscInterfaceConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDnsPeeringConfigs(int index)

public PscInterfaceConfig.Builder removeDnsPeeringConfigs(int index)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
PscInterfaceConfig.Builder

setDnsPeeringConfigs(int index, DnsPeeringConfig value)

public PscInterfaceConfig.Builder setDnsPeeringConfigs(int index, DnsPeeringConfig value)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value DnsPeeringConfig
Returns
Type Description
PscInterfaceConfig.Builder

setDnsPeeringConfigs(int index, DnsPeeringConfig.Builder builderForValue)

public PscInterfaceConfig.Builder setDnsPeeringConfigs(int index, DnsPeeringConfig.Builder builderForValue)

Optional. DNS peering configurations. When specified, Vertex AI will attempt to configure DNS peering zones in the tenant project VPC to resolve the specified domains using the target network's Cloud DNS. The user must grant the dns.peer role to the Vertex AI Service Agent on the target project.

repeated .google.cloud.aiplatform.v1.DnsPeeringConfig dns_peering_configs = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue DnsPeeringConfig.Builder
Returns
Type Description
PscInterfaceConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNetworkAttachment(String value)

public PscInterfaceConfig.Builder setNetworkAttachment(String value)

Optional. The name of the Compute Engine network attachment to attach to the resource within the region and user project. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The networkAttachment to set.

Returns
Type Description
PscInterfaceConfig.Builder

This builder for chaining.

setNetworkAttachmentBytes(ByteString value)

public PscInterfaceConfig.Builder setNetworkAttachmentBytes(ByteString value)

Optional. The name of the Compute Engine network attachment to attach to the resource within the region and user project. To specify this field, you must have already created a network attachment. This field is only used for resources using PSC-I.

string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for networkAttachment to set.

Returns
Type Description
PscInterfaceConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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