Class HttpRoute.RouteAction.Builder

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

public static final class HttpRoute.RouteAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<HttpRoute.RouteAction.Builder> implements HttpRoute.RouteActionOrBuilder
 The specifications for routing traffic and applying associated policies.
 
Protobuf type google.cloud.networkservices.v1.HttpRoute.RouteAction
  • 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<HttpRoute.RouteAction.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<HttpRoute.RouteAction.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<HttpRoute.RouteAction.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public HttpRoute.RouteAction.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<HttpRoute.RouteAction.Builder>
      Throws:
      IOException
    • getDestinationsList

      public List<HttpRoute.Destination> getDestinationsList()
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
      Specified by:
      getDestinationsList in interface HttpRoute.RouteActionOrBuilder
    • getDestinationsCount

      public int getDestinationsCount()
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
      Specified by:
      getDestinationsCount in interface HttpRoute.RouteActionOrBuilder
    • getDestinations

      public HttpRoute.Destination getDestinations(int index)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
      Specified by:
      getDestinations in interface HttpRoute.RouteActionOrBuilder
    • setDestinations

      public HttpRoute.RouteAction.Builder setDestinations(int index, HttpRoute.Destination value)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • setDestinations

      public HttpRoute.RouteAction.Builder setDestinations(int index, HttpRoute.Destination.Builder builderForValue)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • addDestinations

      public HttpRoute.RouteAction.Builder addDestinations(HttpRoute.Destination value)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • addDestinations

      public HttpRoute.RouteAction.Builder addDestinations(int index, HttpRoute.Destination value)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • addDestinations

      public HttpRoute.RouteAction.Builder addDestinations(HttpRoute.Destination.Builder builderForValue)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • addDestinations

      public HttpRoute.RouteAction.Builder addDestinations(int index, HttpRoute.Destination.Builder builderForValue)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • addAllDestinations

      public HttpRoute.RouteAction.Builder addAllDestinations(Iterable<? extends HttpRoute.Destination> values)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • clearDestinations

      public HttpRoute.RouteAction.Builder clearDestinations()
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • removeDestinations

      public HttpRoute.RouteAction.Builder removeDestinations(int index)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • getDestinationsBuilder

      public HttpRoute.Destination.Builder getDestinationsBuilder(int index)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • getDestinationsOrBuilder

      public HttpRoute.DestinationOrBuilder getDestinationsOrBuilder(int index)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
      Specified by:
      getDestinationsOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • getDestinationsOrBuilderList

      public List<? extends HttpRoute.DestinationOrBuilder> getDestinationsOrBuilderList()
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
      Specified by:
      getDestinationsOrBuilderList in interface HttpRoute.RouteActionOrBuilder
    • addDestinationsBuilder

      public HttpRoute.Destination.Builder addDestinationsBuilder()
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • addDestinationsBuilder

      public HttpRoute.Destination.Builder addDestinationsBuilder(int index)
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • getDestinationsBuilderList

      public List<HttpRoute.Destination.Builder> getDestinationsBuilderList()
       The destination to which traffic should be forwarded.
       
      repeated .google.cloud.networkservices.v1.HttpRoute.Destination destinations = 1;
    • hasRedirect

      public boolean hasRedirect()
       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
      Specified by:
      hasRedirect in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the redirect field is set.
    • getRedirect

      public HttpRoute.Redirect getRedirect()
       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
      Specified by:
      getRedirect in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The redirect.
    • setRedirect

       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
    • setRedirect

      public HttpRoute.RouteAction.Builder setRedirect(HttpRoute.Redirect.Builder builderForValue)
       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
    • mergeRedirect

      public HttpRoute.RouteAction.Builder mergeRedirect(HttpRoute.Redirect value)
       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
    • clearRedirect

      public HttpRoute.RouteAction.Builder clearRedirect()
       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
    • getRedirectBuilder

      public HttpRoute.Redirect.Builder getRedirectBuilder()
       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
    • getRedirectOrBuilder

      public HttpRoute.RedirectOrBuilder getRedirectOrBuilder()
       If set, the request is directed as configured by this field.
       
      .google.cloud.networkservices.v1.HttpRoute.Redirect redirect = 2;
      Specified by:
      getRedirectOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasFaultInjectionPolicy

      public boolean hasFaultInjectionPolicy()
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
      Specified by:
      hasFaultInjectionPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the faultInjectionPolicy field is set.
    • getFaultInjectionPolicy

      public HttpRoute.FaultInjectionPolicy getFaultInjectionPolicy()
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
      Specified by:
      getFaultInjectionPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The faultInjectionPolicy.
    • setFaultInjectionPolicy

      public HttpRoute.RouteAction.Builder setFaultInjectionPolicy(HttpRoute.FaultInjectionPolicy value)
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
    • setFaultInjectionPolicy

      public HttpRoute.RouteAction.Builder setFaultInjectionPolicy(HttpRoute.FaultInjectionPolicy.Builder builderForValue)
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
    • mergeFaultInjectionPolicy

      public HttpRoute.RouteAction.Builder mergeFaultInjectionPolicy(HttpRoute.FaultInjectionPolicy value)
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
    • clearFaultInjectionPolicy

      public HttpRoute.RouteAction.Builder clearFaultInjectionPolicy()
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
    • getFaultInjectionPolicyBuilder

      public HttpRoute.FaultInjectionPolicy.Builder getFaultInjectionPolicyBuilder()
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
    • getFaultInjectionPolicyOrBuilder

      public HttpRoute.FaultInjectionPolicyOrBuilder getFaultInjectionPolicyOrBuilder()
       The specification for fault injection introduced into traffic to test the
       resiliency of clients to backend service failure. As part of fault
       injection, when clients send requests to a backend service, delays can be
       introduced  on a percentage of requests before sending those requests to
       the backend service. Similarly requests from clients can be aborted for a
       percentage of requests.
      
       timeout and retry_policy will be ignored by clients that are configured
       with a fault_injection_policy
       
      .google.cloud.networkservices.v1.HttpRoute.FaultInjectionPolicy fault_injection_policy = 4;
      Specified by:
      getFaultInjectionPolicyOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasRequestHeaderModifier

      public boolean hasRequestHeaderModifier()
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
      Specified by:
      hasRequestHeaderModifier in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the requestHeaderModifier field is set.
    • getRequestHeaderModifier

      public HttpRoute.HeaderModifier getRequestHeaderModifier()
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
      Specified by:
      getRequestHeaderModifier in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The requestHeaderModifier.
    • setRequestHeaderModifier

      public HttpRoute.RouteAction.Builder setRequestHeaderModifier(HttpRoute.HeaderModifier value)
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
    • setRequestHeaderModifier

      public HttpRoute.RouteAction.Builder setRequestHeaderModifier(HttpRoute.HeaderModifier.Builder builderForValue)
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
    • mergeRequestHeaderModifier

      public HttpRoute.RouteAction.Builder mergeRequestHeaderModifier(HttpRoute.HeaderModifier value)
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
    • clearRequestHeaderModifier

      public HttpRoute.RouteAction.Builder clearRequestHeaderModifier()
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
    • getRequestHeaderModifierBuilder

      public HttpRoute.HeaderModifier.Builder getRequestHeaderModifierBuilder()
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
    • getRequestHeaderModifierOrBuilder

      public HttpRoute.HeaderModifierOrBuilder getRequestHeaderModifierOrBuilder()
       The specification for modifying the headers of a matching request prior
       to delivery of the request to the destination. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier request_header_modifier = 5;
      Specified by:
      getRequestHeaderModifierOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasResponseHeaderModifier

      public boolean hasResponseHeaderModifier()
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
      Specified by:
      hasResponseHeaderModifier in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the responseHeaderModifier field is set.
    • getResponseHeaderModifier

      public HttpRoute.HeaderModifier getResponseHeaderModifier()
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
      Specified by:
      getResponseHeaderModifier in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The responseHeaderModifier.
    • setResponseHeaderModifier

      public HttpRoute.RouteAction.Builder setResponseHeaderModifier(HttpRoute.HeaderModifier value)
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
    • setResponseHeaderModifier

      public HttpRoute.RouteAction.Builder setResponseHeaderModifier(HttpRoute.HeaderModifier.Builder builderForValue)
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
    • mergeResponseHeaderModifier

      public HttpRoute.RouteAction.Builder mergeResponseHeaderModifier(HttpRoute.HeaderModifier value)
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
    • clearResponseHeaderModifier

      public HttpRoute.RouteAction.Builder clearResponseHeaderModifier()
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
    • getResponseHeaderModifierBuilder

      public HttpRoute.HeaderModifier.Builder getResponseHeaderModifierBuilder()
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
    • getResponseHeaderModifierOrBuilder

      public HttpRoute.HeaderModifierOrBuilder getResponseHeaderModifierOrBuilder()
       The specification for modifying the headers of a response prior to
       sending the response back to the client. If HeaderModifiers are set
       on both the Destination and the RouteAction, they will be merged.
       Conflicts between the two will not be resolved on the configuration.
       
      .google.cloud.networkservices.v1.HttpRoute.HeaderModifier response_header_modifier = 6;
      Specified by:
      getResponseHeaderModifierOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasUrlRewrite

      public boolean hasUrlRewrite()
       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
      Specified by:
      hasUrlRewrite in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the urlRewrite field is set.
    • getUrlRewrite

      public HttpRoute.URLRewrite getUrlRewrite()
       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
      Specified by:
      getUrlRewrite in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The urlRewrite.
    • setUrlRewrite

       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
    • setUrlRewrite

      public HttpRoute.RouteAction.Builder setUrlRewrite(HttpRoute.URLRewrite.Builder builderForValue)
       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
    • mergeUrlRewrite

      public HttpRoute.RouteAction.Builder mergeUrlRewrite(HttpRoute.URLRewrite value)
       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
    • clearUrlRewrite

      public HttpRoute.RouteAction.Builder clearUrlRewrite()
       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
    • getUrlRewriteBuilder

      public HttpRoute.URLRewrite.Builder getUrlRewriteBuilder()
       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
    • getUrlRewriteOrBuilder

      public HttpRoute.URLRewriteOrBuilder getUrlRewriteOrBuilder()
       The specification for rewrite URL before forwarding requests to the
       destination.
       
      .google.cloud.networkservices.v1.HttpRoute.URLRewrite url_rewrite = 7;
      Specified by:
      getUrlRewriteOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasTimeout

      public boolean hasTimeout()
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
      Specified by:
      hasTimeout in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public com.google.protobuf.Duration getTimeout()
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
      Specified by:
      getTimeout in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public HttpRoute.RouteAction.Builder setTimeout(com.google.protobuf.Duration value)
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
    • setTimeout

      public HttpRoute.RouteAction.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
    • mergeTimeout

      public HttpRoute.RouteAction.Builder mergeTimeout(com.google.protobuf.Duration value)
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
    • clearTimeout

      public HttpRoute.RouteAction.Builder clearTimeout()
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
    • getTimeoutBuilder

      public com.google.protobuf.Duration.Builder getTimeoutBuilder()
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
    • getTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
       Specifies the timeout for selected route. Timeout is computed from the
       time the request has been fully processed (i.e. end of stream) up until
       the response has been completely processed. Timeout includes all retries.
       
      .google.protobuf.Duration timeout = 8;
      Specified by:
      getTimeoutOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasRetryPolicy

      public boolean hasRetryPolicy()
       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
      Specified by:
      hasRetryPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the retryPolicy field is set.
    • getRetryPolicy

      public HttpRoute.RetryPolicy getRetryPolicy()
       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
      Specified by:
      getRetryPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The retryPolicy.
    • setRetryPolicy

       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
    • setRetryPolicy

      public HttpRoute.RouteAction.Builder setRetryPolicy(HttpRoute.RetryPolicy.Builder builderForValue)
       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
    • mergeRetryPolicy

      public HttpRoute.RouteAction.Builder mergeRetryPolicy(HttpRoute.RetryPolicy value)
       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
    • clearRetryPolicy

      public HttpRoute.RouteAction.Builder clearRetryPolicy()
       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
    • getRetryPolicyBuilder

      public HttpRoute.RetryPolicy.Builder getRetryPolicyBuilder()
       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
    • getRetryPolicyOrBuilder

      public HttpRoute.RetryPolicyOrBuilder getRetryPolicyOrBuilder()
       Specifies the retry policy associated with this route.
       
      .google.cloud.networkservices.v1.HttpRoute.RetryPolicy retry_policy = 9;
      Specified by:
      getRetryPolicyOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasRequestMirrorPolicy

      public boolean hasRequestMirrorPolicy()
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
      Specified by:
      hasRequestMirrorPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the requestMirrorPolicy field is set.
    • getRequestMirrorPolicy

      public HttpRoute.RequestMirrorPolicy getRequestMirrorPolicy()
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
      Specified by:
      getRequestMirrorPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The requestMirrorPolicy.
    • setRequestMirrorPolicy

      public HttpRoute.RouteAction.Builder setRequestMirrorPolicy(HttpRoute.RequestMirrorPolicy value)
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
    • setRequestMirrorPolicy

      public HttpRoute.RouteAction.Builder setRequestMirrorPolicy(HttpRoute.RequestMirrorPolicy.Builder builderForValue)
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
    • mergeRequestMirrorPolicy

      public HttpRoute.RouteAction.Builder mergeRequestMirrorPolicy(HttpRoute.RequestMirrorPolicy value)
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
    • clearRequestMirrorPolicy

      public HttpRoute.RouteAction.Builder clearRequestMirrorPolicy()
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
    • getRequestMirrorPolicyBuilder

      public HttpRoute.RequestMirrorPolicy.Builder getRequestMirrorPolicyBuilder()
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
    • getRequestMirrorPolicyOrBuilder

      public HttpRoute.RequestMirrorPolicyOrBuilder getRequestMirrorPolicyOrBuilder()
       Specifies the policy on how requests intended for the routes destination
       are shadowed to a separate mirrored destination. Proxy will not wait for
       the shadow destination to respond before returning the response. Prior to
       sending traffic to the shadow service, the host/authority header is
       suffixed with -shadow.
       
      .google.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicy request_mirror_policy = 10;
      Specified by:
      getRequestMirrorPolicyOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasCorsPolicy

      public boolean hasCorsPolicy()
       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
      Specified by:
      hasCorsPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the corsPolicy field is set.
    • getCorsPolicy

      public HttpRoute.CorsPolicy getCorsPolicy()
       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
      Specified by:
      getCorsPolicy in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The corsPolicy.
    • setCorsPolicy

       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
    • setCorsPolicy

      public HttpRoute.RouteAction.Builder setCorsPolicy(HttpRoute.CorsPolicy.Builder builderForValue)
       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
    • mergeCorsPolicy

      public HttpRoute.RouteAction.Builder mergeCorsPolicy(HttpRoute.CorsPolicy value)
       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
    • clearCorsPolicy

      public HttpRoute.RouteAction.Builder clearCorsPolicy()
       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
    • getCorsPolicyBuilder

      public HttpRoute.CorsPolicy.Builder getCorsPolicyBuilder()
       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
    • getCorsPolicyOrBuilder

      public HttpRoute.CorsPolicyOrBuilder getCorsPolicyOrBuilder()
       The specification for allowing client side cross-origin requests.
       
      .google.cloud.networkservices.v1.HttpRoute.CorsPolicy cors_policy = 11;
      Specified by:
      getCorsPolicyOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasStatefulSessionAffinity

      public boolean hasStatefulSessionAffinity()
       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasStatefulSessionAffinity in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the statefulSessionAffinity field is set.
    • getStatefulSessionAffinity

      public HttpRoute.StatefulSessionAffinityPolicy getStatefulSessionAffinity()
       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStatefulSessionAffinity in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The statefulSessionAffinity.
    • setStatefulSessionAffinity

       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
    • setStatefulSessionAffinity

      public HttpRoute.RouteAction.Builder setStatefulSessionAffinity(HttpRoute.StatefulSessionAffinityPolicy.Builder builderForValue)
       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
    • mergeStatefulSessionAffinity

      public HttpRoute.RouteAction.Builder mergeStatefulSessionAffinity(HttpRoute.StatefulSessionAffinityPolicy value)
       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
    • clearStatefulSessionAffinity

      public HttpRoute.RouteAction.Builder clearStatefulSessionAffinity()
       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getStatefulSessionAffinityBuilder

      public HttpRoute.StatefulSessionAffinityPolicy.Builder getStatefulSessionAffinityBuilder()
       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
    • getStatefulSessionAffinityOrBuilder

      public HttpRoute.StatefulSessionAffinityPolicyOrBuilder getStatefulSessionAffinityOrBuilder()
       Optional. Specifies cookie-based stateful session affinity.
       
      .google.cloud.networkservices.v1.HttpRoute.StatefulSessionAffinityPolicy stateful_session_affinity = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStatefulSessionAffinityOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasDirectResponse

      public boolean hasDirectResponse()
       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDirectResponse in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the directResponse field is set.
    • getDirectResponse

      public HttpRoute.HttpDirectResponse getDirectResponse()
       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDirectResponse in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The directResponse.
    • setDirectResponse

       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
    • setDirectResponse

      public HttpRoute.RouteAction.Builder setDirectResponse(HttpRoute.HttpDirectResponse.Builder builderForValue)
       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
    • mergeDirectResponse

      public HttpRoute.RouteAction.Builder mergeDirectResponse(HttpRoute.HttpDirectResponse value)
       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
    • clearDirectResponse

      public HttpRoute.RouteAction.Builder clearDirectResponse()
       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getDirectResponseBuilder

      public HttpRoute.HttpDirectResponse.Builder getDirectResponseBuilder()
       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getDirectResponseOrBuilder

      public HttpRoute.HttpDirectResponseOrBuilder getDirectResponseOrBuilder()
       Optional. Static HTTP Response object to be returned regardless of the
       request.
       
      .google.cloud.networkservices.v1.HttpRoute.HttpDirectResponse direct_response = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDirectResponseOrBuilder in interface HttpRoute.RouteActionOrBuilder
    • hasIdleTimeout

      public boolean hasIdleTimeout()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIdleTimeout in interface HttpRoute.RouteActionOrBuilder
      Returns:
      Whether the idleTimeout field is set.
    • getIdleTimeout

      public com.google.protobuf.Duration getIdleTimeout()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdleTimeout in interface HttpRoute.RouteActionOrBuilder
      Returns:
      The idleTimeout.
    • setIdleTimeout

      public HttpRoute.RouteAction.Builder setIdleTimeout(com.google.protobuf.Duration value)
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
    • setIdleTimeout

      public HttpRoute.RouteAction.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
    • mergeIdleTimeout

      public HttpRoute.RouteAction.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
    • clearIdleTimeout

      public HttpRoute.RouteAction.Builder clearIdleTimeout()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getIdleTimeoutBuilder

      public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getIdleTimeoutOrBuilder

      public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
       Optional. Specifies the idle timeout for the selected route. The idle
       timeout is defined as the period in which there are no bytes sent or
       received on either the upstream or downstream connection. If not set, the
       default idle timeout is 1 hour. If set to 0s, the timeout will be
       disabled.
       
      .google.protobuf.Duration idle_timeout = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIdleTimeoutOrBuilder in interface HttpRoute.RouteActionOrBuilder