Interface CircuitBreakersOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CircuitBreakers, CircuitBreakers.Builder

    public interface CircuitBreakersOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getMaxConnections()
      The maximum number of connections to the backend service.
      int getMaxPendingRequests()
      The maximum number of pending requests allowed to the backend service.
      int getMaxRequests()
      The maximum number of parallel requests that allowed to the backend service.
      int getMaxRequestsPerConnection()
      Maximum requests for a single connection to the backend service.
      int getMaxRetries()
      The maximum number of parallel retries allowed to the backend cluster.
      boolean hasMaxConnections()
      The maximum number of connections to the backend service.
      boolean hasMaxPendingRequests()
      The maximum number of pending requests allowed to the backend service.
      boolean hasMaxRequests()
      The maximum number of parallel requests that allowed to the backend service.
      boolean hasMaxRequestsPerConnection()
      Maximum requests for a single connection to the backend service.
      boolean hasMaxRetries()
      The maximum number of parallel retries allowed to the backend cluster.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasMaxConnections

        boolean hasMaxConnections()
         The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_connections = 110652154;
        Returns:
        Whether the maxConnections field is set.
      • getMaxConnections

        int getMaxConnections()
         The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_connections = 110652154;
        Returns:
        The maxConnections.
      • hasMaxPendingRequests

        boolean hasMaxPendingRequests()
         The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_pending_requests = 375558887;
        Returns:
        Whether the maxPendingRequests field is set.
      • getMaxPendingRequests

        int getMaxPendingRequests()
         The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_pending_requests = 375558887;
        Returns:
        The maxPendingRequests.
      • hasMaxRequests

        boolean hasMaxRequests()
         The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
         
        optional int32 max_requests = 28097599;
        Returns:
        Whether the maxRequests field is set.
      • getMaxRequests

        int getMaxRequests()
         The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
         
        optional int32 max_requests = 28097599;
        Returns:
        The maxRequests.
      • hasMaxRequestsPerConnection

        boolean hasMaxRequestsPerConnection()
         Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_requests_per_connection = 361630528;
        Returns:
        Whether the maxRequestsPerConnection field is set.
      • getMaxRequestsPerConnection

        int getMaxRequestsPerConnection()
         Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_requests_per_connection = 361630528;
        Returns:
        The maxRequestsPerConnection.
      • hasMaxRetries

        boolean hasMaxRetries()
         The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_retries = 55546219;
        Returns:
        Whether the maxRetries field is set.
      • getMaxRetries

        int getMaxRetries()
         The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
         
        optional int32 max_retries = 55546219;
        Returns:
        The maxRetries.