Class DnsPeeringConfig.Builder

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

public static final class DnsPeeringConfig.Builder extends com.google.protobuf.GeneratedMessage.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
  • 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<DnsPeeringConfig.Builder>
    • clear

      public DnsPeeringConfig.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<DnsPeeringConfig.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<DnsPeeringConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public DnsPeeringConfig.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<DnsPeeringConfig.Builder>
    • mergeFrom

      public DnsPeeringConfig.Builder mergeFrom(DnsPeeringConfig other)
    • isInitialized

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

      public DnsPeeringConfig.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<DnsPeeringConfig.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getDomain in interface DnsPeeringConfigOrBuilder
      Returns:
      The domain.
    • getDomainBytes

      public com.google.protobuf.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];
      Specified by:
      getDomainBytes in interface DnsPeeringConfigOrBuilder
      Returns:
      The bytes for domain.
    • setDomain

      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];
      Parameters:
      value - The domain to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setDomainBytes

      public DnsPeeringConfig.Builder setDomainBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for domain to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getTargetProject in interface DnsPeeringConfigOrBuilder
      Returns:
      The targetProject.
    • getTargetProjectBytes

      public com.google.protobuf.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];
      Specified by:
      getTargetProjectBytes in interface DnsPeeringConfigOrBuilder
      Returns:
      The bytes for targetProject.
    • setTargetProject

      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];
      Parameters:
      value - The targetProject to set.
      Returns:
      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:
      This builder for chaining.
    • setTargetProjectBytes

      public DnsPeeringConfig.Builder setTargetProjectBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for targetProject to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getTargetNetwork in interface DnsPeeringConfigOrBuilder
      Returns:
      The targetNetwork.
    • getTargetNetworkBytes

      public com.google.protobuf.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];
      Specified by:
      getTargetNetworkBytes in interface DnsPeeringConfigOrBuilder
      Returns:
      The bytes for targetNetwork.
    • setTargetNetwork

      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];
      Parameters:
      value - The targetNetwork to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setTargetNetworkBytes

      public DnsPeeringConfig.Builder setTargetNetworkBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for targetNetwork to set.
      Returns:
      This builder for chaining.