Class PscInterfaceConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PscInterfaceConfig.Builder>
com.google.cloud.aiplatform.v1.PscInterfaceConfig.Builder
All Implemented Interfaces:
PscInterfaceConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PscInterfaceConfig

public static final class PscInterfaceConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<PscInterfaceConfig.Builder> implements PscInterfaceConfigOrBuilder
 Configuration for PSC-I.
 
Protobuf type google.cloud.aiplatform.v1.PscInterfaceConfig
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PscInterfaceConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PscInterfaceConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PscInterfaceConfig.Builder>
    • getDefaultInstanceForType

      public PscInterfaceConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PscInterfaceConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PscInterfaceConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PscInterfaceConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PscInterfaceConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PscInterfaceConfig.Builder>
    • mergeFrom

      public PscInterfaceConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PscInterfaceConfig.Builder>
      Throws:
      IOException
    • getNetworkAttachment

      public String getNetworkAttachment()
       Optional. The name of the Compute Engine
       [network
       attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to
       attach to the resource within the region and user project.
       To specify this field, you must have already [created a network attachment]
       (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments).
       This field is only used for resources using PSC-I.
       
      string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkAttachment in interface PscInterfaceConfigOrBuilder
      Returns:
      The networkAttachment.
    • getNetworkAttachmentBytes

      public com.google.protobuf.ByteString getNetworkAttachmentBytes()
       Optional. The name of the Compute Engine
       [network
       attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to
       attach to the resource within the region and user project.
       To specify this field, you must have already [created a network attachment]
       (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments).
       This field is only used for resources using PSC-I.
       
      string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getNetworkAttachmentBytes in interface PscInterfaceConfigOrBuilder
      Returns:
      The bytes for networkAttachment.
    • setNetworkAttachment

      public PscInterfaceConfig.Builder setNetworkAttachment(String value)
       Optional. The name of the Compute Engine
       [network
       attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to
       attach to the resource within the region and user project.
       To specify this field, you must have already [created a network attachment]
       (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments).
       This field is only used for resources using PSC-I.
       
      string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The networkAttachment to set.
      Returns:
      This builder for chaining.
    • clearNetworkAttachment

      public PscInterfaceConfig.Builder clearNetworkAttachment()
       Optional. The name of the Compute Engine
       [network
       attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to
       attach to the resource within the region and user project.
       To specify this field, you must have already [created a network attachment]
       (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments).
       This field is only used for resources using PSC-I.
       
      string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNetworkAttachmentBytes

      public PscInterfaceConfig.Builder setNetworkAttachmentBytes(com.google.protobuf.ByteString value)
       Optional. The name of the Compute Engine
       [network
       attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to
       attach to the resource within the region and user project.
       To specify this field, you must have already [created a network attachment]
       (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments).
       This field is only used for resources using PSC-I.
       
      string network_attachment = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for networkAttachment to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getDnsPeeringConfigsList in interface PscInterfaceConfigOrBuilder
    • 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];
      Specified by:
      getDnsPeeringConfigsCount in interface PscInterfaceConfigOrBuilder
    • getDnsPeeringConfigs

      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];
      Specified by:
      getDnsPeeringConfigs in interface PscInterfaceConfigOrBuilder
    • setDnsPeeringConfigs

      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];
    • setDnsPeeringConfigs

      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];
    • addDnsPeeringConfigs

      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];
    • addDnsPeeringConfigs

      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];
    • addDnsPeeringConfigs

      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];
    • addDnsPeeringConfigs

      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];
    • addAllDnsPeeringConfigs

      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];
    • 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];
    • removeDnsPeeringConfigs

      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];
    • getDnsPeeringConfigsBuilder

      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];
    • getDnsPeeringConfigsOrBuilder

      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];
      Specified by:
      getDnsPeeringConfigsOrBuilder in interface PscInterfaceConfigOrBuilder
    • 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];
      Specified by:
      getDnsPeeringConfigsOrBuilderList in interface PscInterfaceConfigOrBuilder
    • 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];
    • addDnsPeeringConfigsBuilder

      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];
    • 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];