Class DnsPeering.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DnsPeering.Builder>
com.google.cloud.datafusion.v1beta1.DnsPeering.Builder
All Implemented Interfaces:
DnsPeeringOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DnsPeering

public static final class DnsPeering.Builder extends com.google.protobuf.GeneratedMessage.Builder<DnsPeering.Builder> implements DnsPeeringOrBuilder
 DNS peering configuration. These configurations are used to create
 DNS peering with the customer Cloud DNS.
 
Protobuf type google.cloud.datafusion.v1beta1.DnsPeering
  • 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<DnsPeering.Builder>
    • clear

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

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

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

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

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

      public DnsPeering.Builder mergeFrom(DnsPeering other)
    • isInitialized

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

      public DnsPeering.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<DnsPeering.Builder>
      Throws:
      IOException
    • getZone

      public String getZone()
       Required. Name of the zone.
       
      string zone = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZone in interface DnsPeeringOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       Required. Name of the zone.
       
      string zone = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZoneBytes in interface DnsPeeringOrBuilder
      Returns:
      The bytes for zone.
    • setZone

      public DnsPeering.Builder setZone(String value)
       Required. Name of the zone.
       
      string zone = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

      public DnsPeering.Builder clearZone()
       Required. Name of the zone.
       
      string zone = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setZoneBytes

      public DnsPeering.Builder setZoneBytes(com.google.protobuf.ByteString value)
       Required. Name of the zone.
       
      string zone = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.
    • getDomain

      public String getDomain()
       Required. Name of the dns.
       
      string domain = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDomain in interface DnsPeeringOrBuilder
      Returns:
      The domain.
    • getDomainBytes

      public com.google.protobuf.ByteString getDomainBytes()
       Required. Name of the dns.
       
      string domain = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDomainBytes in interface DnsPeeringOrBuilder
      Returns:
      The bytes for domain.
    • setDomain

      public DnsPeering.Builder setDomain(String value)
       Required. Name of the dns.
       
      string domain = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The domain to set.
      Returns:
      This builder for chaining.
    • clearDomain

      public DnsPeering.Builder clearDomain()
       Required. Name of the dns.
       
      string domain = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDomainBytes

      public DnsPeering.Builder setDomainBytes(com.google.protobuf.ByteString value)
       Required. Name of the dns.
       
      string domain = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for domain to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Optional description of the dns zone.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface DnsPeeringOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Optional description of the dns zone.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface DnsPeeringOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public DnsPeering.Builder setDescription(String value)
       Optional. Optional description of the dns zone.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public DnsPeering.Builder clearDescription()
       Optional. Optional description of the dns zone.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public DnsPeering.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Optional description of the dns zone.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getTargetProject

      public String getTargetProject()
       Optional. Optional target project to which dns peering should happen.
       
      string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetProject in interface DnsPeeringOrBuilder
      Returns:
      The targetProject.
    • getTargetProjectBytes

      public com.google.protobuf.ByteString getTargetProjectBytes()
       Optional. Optional target project to which dns peering should happen.
       
      string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetProjectBytes in interface DnsPeeringOrBuilder
      Returns:
      The bytes for targetProject.
    • setTargetProject

      public DnsPeering.Builder setTargetProject(String value)
       Optional. Optional target project to which dns peering should happen.
       
      string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The targetProject to set.
      Returns:
      This builder for chaining.
    • clearTargetProject

      public DnsPeering.Builder clearTargetProject()
       Optional. Optional target project to which dns peering should happen.
       
      string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTargetProjectBytes

      public DnsPeering.Builder setTargetProjectBytes(com.google.protobuf.ByteString value)
       Optional. Optional target project to which dns peering should happen.
       
      string target_project = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for targetProject to set.
      Returns:
      This builder for chaining.
    • getTargetNetwork

      public String getTargetNetwork()
       Optional. Optional target network to which dns peering should happen.
       
      string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetNetwork in interface DnsPeeringOrBuilder
      Returns:
      The targetNetwork.
    • getTargetNetworkBytes

      public com.google.protobuf.ByteString getTargetNetworkBytes()
       Optional. Optional target network to which dns peering should happen.
       
      string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTargetNetworkBytes in interface DnsPeeringOrBuilder
      Returns:
      The bytes for targetNetwork.
    • setTargetNetwork

      public DnsPeering.Builder setTargetNetwork(String value)
       Optional. Optional target network to which dns peering should happen.
       
      string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The targetNetwork to set.
      Returns:
      This builder for chaining.
    • clearTargetNetwork

      public DnsPeering.Builder clearTargetNetwork()
       Optional. Optional target network to which dns peering should happen.
       
      string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setTargetNetworkBytes

      public DnsPeering.Builder setTargetNetworkBytes(com.google.protobuf.ByteString value)
       Optional. Optional target network to which dns peering should happen.
       
      string target_network = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for targetNetwork to set.
      Returns:
      This builder for chaining.