Class CircuitBreakers

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.CircuitBreakers
All Implemented Interfaces:
CircuitBreakersOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CircuitBreakers extends com.google.protobuf.GeneratedMessage implements CircuitBreakersOrBuilder
 Settings controlling the volume of requests, connections and retries to this
 backend service.
 
Protobuf type google.cloud.compute.v1.CircuitBreakers
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Settings controlling the volume of requests, connections and retries to this backend service.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    int
    The maximum number of connections to the backend service.
    int
    The maximum number of pending requests allowed to the backend service.
    int
    The maximum number of parallel requests that allowed to the backend service.
    int
    Maximum requests for a single connection to the backend service.
    int
    The maximum number of parallel retries allowed to the backend cluster.
    com.google.protobuf.Parser<CircuitBreakers>
     
    int
     
    int
     
    boolean
    The maximum number of connections to the backend service.
    boolean
    The maximum number of pending requests allowed to the backend service.
    boolean
    The maximum number of parallel requests that allowed to the backend service.
    boolean
    Maximum requests for a single connection to the backend service.
    boolean
    The maximum number of parallel retries allowed to the backend cluster.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<CircuitBreakers>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • MAX_CONNECTIONS_FIELD_NUMBER

      public static final int MAX_CONNECTIONS_FIELD_NUMBER
      See Also:
    • MAX_PENDING_REQUESTS_FIELD_NUMBER

      public static final int MAX_PENDING_REQUESTS_FIELD_NUMBER
      See Also:
    • MAX_REQUESTS_FIELD_NUMBER

      public static final int MAX_REQUESTS_FIELD_NUMBER
      See Also:
    • MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER

      public static final int MAX_REQUESTS_PER_CONNECTION_FIELD_NUMBER
      See Also:
    • MAX_RETRIES_FIELD_NUMBER

      public static final int MAX_RETRIES_FIELD_NUMBER
      See Also:
  • 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
    • hasMaxConnections

      public 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;
      Specified by:
      hasMaxConnections in interface CircuitBreakersOrBuilder
      Returns:
      Whether the maxConnections field is set.
    • getMaxConnections

      public 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;
      Specified by:
      getMaxConnections in interface CircuitBreakersOrBuilder
      Returns:
      The maxConnections.
    • hasMaxPendingRequests

      public 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;
      Specified by:
      hasMaxPendingRequests in interface CircuitBreakersOrBuilder
      Returns:
      Whether the maxPendingRequests field is set.
    • getMaxPendingRequests

      public 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;
      Specified by:
      getMaxPendingRequests in interface CircuitBreakersOrBuilder
      Returns:
      The maxPendingRequests.
    • hasMaxRequests

      public 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;
      Specified by:
      hasMaxRequests in interface CircuitBreakersOrBuilder
      Returns:
      Whether the maxRequests field is set.
    • getMaxRequests

      public 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;
      Specified by:
      getMaxRequests in interface CircuitBreakersOrBuilder
      Returns:
      The maxRequests.
    • hasMaxRequestsPerConnection

      public 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;
      Specified by:
      hasMaxRequestsPerConnection in interface CircuitBreakersOrBuilder
      Returns:
      Whether the maxRequestsPerConnection field is set.
    • getMaxRequestsPerConnection

      public 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;
      Specified by:
      getMaxRequestsPerConnection in interface CircuitBreakersOrBuilder
      Returns:
      The maxRequestsPerConnection.
    • hasMaxRetries

      public 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;
      Specified by:
      hasMaxRetries in interface CircuitBreakersOrBuilder
      Returns:
      Whether the maxRetries field is set.
    • getMaxRetries

      public 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;
      Specified by:
      getMaxRetries in interface CircuitBreakersOrBuilder
      Returns:
      The maxRetries.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static CircuitBreakers parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CircuitBreakers parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CircuitBreakers parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CircuitBreakers parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CircuitBreakers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CircuitBreakers parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CircuitBreakers parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CircuitBreakers parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CircuitBreakers parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CircuitBreakers parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CircuitBreakers parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CircuitBreakers parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public CircuitBreakers.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static CircuitBreakers.Builder newBuilder()
    • newBuilder

      public static CircuitBreakers.Builder newBuilder(CircuitBreakers prototype)
    • toBuilder

      public CircuitBreakers.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CircuitBreakers.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CircuitBreakers getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CircuitBreakers> parser()
    • getParserForType

      public com.google.protobuf.Parser<CircuitBreakers> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public CircuitBreakers getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder