Class UrlMapsValidateRequest.Builder

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

public static final class UrlMapsValidateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UrlMapsValidateRequest.Builder> implements UrlMapsValidateRequestOrBuilder
 
Protobuf type google.cloud.compute.v1.UrlMapsValidateRequest
  • 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<UrlMapsValidateRequest.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<UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UrlMapsValidateRequest.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<UrlMapsValidateRequest.Builder>
      Throws:
      IOException
    • getLoadBalancingSchemesList

      public com.google.protobuf.ProtocolStringList getLoadBalancingSchemesList()
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Specified by:
      getLoadBalancingSchemesList in interface UrlMapsValidateRequestOrBuilder
      Returns:
      A list containing the loadBalancingSchemes.
    • getLoadBalancingSchemesCount

      public int getLoadBalancingSchemesCount()
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Specified by:
      getLoadBalancingSchemesCount in interface UrlMapsValidateRequestOrBuilder
      Returns:
      The count of loadBalancingSchemes.
    • getLoadBalancingSchemes

      public String getLoadBalancingSchemes(int index)
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Specified by:
      getLoadBalancingSchemes in interface UrlMapsValidateRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The loadBalancingSchemes at the given index.
    • getLoadBalancingSchemesBytes

      public com.google.protobuf.ByteString getLoadBalancingSchemesBytes(int index)
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Specified by:
      getLoadBalancingSchemesBytes in interface UrlMapsValidateRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the loadBalancingSchemes at the given index.
    • setLoadBalancingSchemes

      public UrlMapsValidateRequest.Builder setLoadBalancingSchemes(int index, String value)
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Parameters:
      index - The index to set the value at.
      value - The loadBalancingSchemes to set.
      Returns:
      This builder for chaining.
    • addLoadBalancingSchemes

      public UrlMapsValidateRequest.Builder addLoadBalancingSchemes(String value)
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Parameters:
      value - The loadBalancingSchemes to add.
      Returns:
      This builder for chaining.
    • addAllLoadBalancingSchemes

      public UrlMapsValidateRequest.Builder addAllLoadBalancingSchemes(Iterable<String> values)
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Parameters:
      values - The loadBalancingSchemes to add.
      Returns:
      This builder for chaining.
    • clearLoadBalancingSchemes

      public UrlMapsValidateRequest.Builder clearLoadBalancingSchemes()
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Returns:
      This builder for chaining.
    • addLoadBalancingSchemesBytes

      public UrlMapsValidateRequest.Builder addLoadBalancingSchemesBytes(com.google.protobuf.ByteString value)
       Specifies the load balancer type(s) this validation request is for. UseEXTERNAL_MANAGED for global external Application Load
       Balancers and regional external Application Load Balancers.
       Use EXTERNAL for classic Application Load Balancers.
      
       Use INTERNAL_MANAGED for internal Application Load Balancers. For more
       information, refer to Choosing
       a load balancer.
      
       If unspecified, the load balancing scheme will be inferred from the backend
       service resources this URL map references. If that can not be inferred (for
       example, this URL map only references backend buckets, or this Url map is
       for rewrites and redirects only and doesn't reference any backends),EXTERNAL will be used as the default type.
      
       If specified, the scheme(s) must not conflict with the load balancing
       scheme of the backend service resources this Url map references.
       Check the LoadBalancingSchemes enum for the list of possible values.
       
      repeated string load_balancing_schemes = 6308527;
      Parameters:
      value - The bytes of the loadBalancingSchemes to add.
      Returns:
      This builder for chaining.
    • hasResource

      public boolean hasResource()
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
      Specified by:
      hasResource in interface UrlMapsValidateRequestOrBuilder
      Returns:
      Whether the resource field is set.
    • getResource

      public UrlMap getResource()
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
      Specified by:
      getResource in interface UrlMapsValidateRequestOrBuilder
      Returns:
      The resource.
    • setResource

      public UrlMapsValidateRequest.Builder setResource(UrlMap value)
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
    • setResource

      public UrlMapsValidateRequest.Builder setResource(UrlMap.Builder builderForValue)
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
    • mergeResource

      public UrlMapsValidateRequest.Builder mergeResource(UrlMap value)
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
    • clearResource

      public UrlMapsValidateRequest.Builder clearResource()
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
    • getResourceBuilder

      public UrlMap.Builder getResourceBuilder()
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
    • getResourceOrBuilder

      public UrlMapOrBuilder getResourceOrBuilder()
       Content of the UrlMap to be validated.
       
      optional .google.cloud.compute.v1.UrlMap resource = 195806222;
      Specified by:
      getResourceOrBuilder in interface UrlMapsValidateRequestOrBuilder