Class RateLimit.Action

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.api.v2.route.RateLimit.Action
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RateLimit.ActionOrBuilder, Serializable
Enclosing class:
RateLimit

public static final class RateLimit.Action extends com.google.protobuf.GeneratedMessageV3 implements RateLimit.ActionOrBuilder
 [#next-free-field: 7]
 
Protobuf type envoy.api.v2.route.RateLimit.Action
See Also:
  • Field Details

    • SOURCE_CLUSTER_FIELD_NUMBER

      public static final int SOURCE_CLUSTER_FIELD_NUMBER
      See Also:
    • DESTINATION_CLUSTER_FIELD_NUMBER

      public static final int DESTINATION_CLUSTER_FIELD_NUMBER
      See Also:
    • REQUEST_HEADERS_FIELD_NUMBER

      public static final int REQUEST_HEADERS_FIELD_NUMBER
      See Also:
    • REMOTE_ADDRESS_FIELD_NUMBER

      public static final int REMOTE_ADDRESS_FIELD_NUMBER
      See Also:
    • GENERIC_KEY_FIELD_NUMBER

      public static final int GENERIC_KEY_FIELD_NUMBER
      See Also:
    • HEADER_VALUE_MATCH_FIELD_NUMBER

      public static final int HEADER_VALUE_MATCH_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getActionSpecifierCase

      public RateLimit.Action.ActionSpecifierCase getActionSpecifierCase()
      Specified by:
      getActionSpecifierCase in interface RateLimit.ActionOrBuilder
    • hasSourceCluster

      public boolean hasSourceCluster()
       Rate limit on source cluster.
       
      .envoy.api.v2.route.RateLimit.Action.SourceCluster source_cluster = 1;
      Specified by:
      hasSourceCluster in interface RateLimit.ActionOrBuilder
      Returns:
      Whether the sourceCluster field is set.
    • getSourceCluster

      public RateLimit.Action.SourceCluster getSourceCluster()
       Rate limit on source cluster.
       
      .envoy.api.v2.route.RateLimit.Action.SourceCluster source_cluster = 1;
      Specified by:
      getSourceCluster in interface RateLimit.ActionOrBuilder
      Returns:
      The sourceCluster.
    • getSourceClusterOrBuilder

      public RateLimit.Action.SourceClusterOrBuilder getSourceClusterOrBuilder()
       Rate limit on source cluster.
       
      .envoy.api.v2.route.RateLimit.Action.SourceCluster source_cluster = 1;
      Specified by:
      getSourceClusterOrBuilder in interface RateLimit.ActionOrBuilder
    • hasDestinationCluster

      public boolean hasDestinationCluster()
       Rate limit on destination cluster.
       
      .envoy.api.v2.route.RateLimit.Action.DestinationCluster destination_cluster = 2;
      Specified by:
      hasDestinationCluster in interface RateLimit.ActionOrBuilder
      Returns:
      Whether the destinationCluster field is set.
    • getDestinationCluster

      public RateLimit.Action.DestinationCluster getDestinationCluster()
       Rate limit on destination cluster.
       
      .envoy.api.v2.route.RateLimit.Action.DestinationCluster destination_cluster = 2;
      Specified by:
      getDestinationCluster in interface RateLimit.ActionOrBuilder
      Returns:
      The destinationCluster.
    • getDestinationClusterOrBuilder

      public RateLimit.Action.DestinationClusterOrBuilder getDestinationClusterOrBuilder()
       Rate limit on destination cluster.
       
      .envoy.api.v2.route.RateLimit.Action.DestinationCluster destination_cluster = 2;
      Specified by:
      getDestinationClusterOrBuilder in interface RateLimit.ActionOrBuilder
    • hasRequestHeaders

      public boolean hasRequestHeaders()
       Rate limit on request headers.
       
      .envoy.api.v2.route.RateLimit.Action.RequestHeaders request_headers = 3;
      Specified by:
      hasRequestHeaders in interface RateLimit.ActionOrBuilder
      Returns:
      Whether the requestHeaders field is set.
    • getRequestHeaders

      public RateLimit.Action.RequestHeaders getRequestHeaders()
       Rate limit on request headers.
       
      .envoy.api.v2.route.RateLimit.Action.RequestHeaders request_headers = 3;
      Specified by:
      getRequestHeaders in interface RateLimit.ActionOrBuilder
      Returns:
      The requestHeaders.
    • getRequestHeadersOrBuilder

      public RateLimit.Action.RequestHeadersOrBuilder getRequestHeadersOrBuilder()
       Rate limit on request headers.
       
      .envoy.api.v2.route.RateLimit.Action.RequestHeaders request_headers = 3;
      Specified by:
      getRequestHeadersOrBuilder in interface RateLimit.ActionOrBuilder
    • hasRemoteAddress

      public boolean hasRemoteAddress()
       Rate limit on remote address.
       
      .envoy.api.v2.route.RateLimit.Action.RemoteAddress remote_address = 4;
      Specified by:
      hasRemoteAddress in interface RateLimit.ActionOrBuilder
      Returns:
      Whether the remoteAddress field is set.
    • getRemoteAddress

      public RateLimit.Action.RemoteAddress getRemoteAddress()
       Rate limit on remote address.
       
      .envoy.api.v2.route.RateLimit.Action.RemoteAddress remote_address = 4;
      Specified by:
      getRemoteAddress in interface RateLimit.ActionOrBuilder
      Returns:
      The remoteAddress.
    • getRemoteAddressOrBuilder

      public RateLimit.Action.RemoteAddressOrBuilder getRemoteAddressOrBuilder()
       Rate limit on remote address.
       
      .envoy.api.v2.route.RateLimit.Action.RemoteAddress remote_address = 4;
      Specified by:
      getRemoteAddressOrBuilder in interface RateLimit.ActionOrBuilder
    • hasGenericKey

      public boolean hasGenericKey()
       Rate limit on a generic key.
       
      .envoy.api.v2.route.RateLimit.Action.GenericKey generic_key = 5;
      Specified by:
      hasGenericKey in interface RateLimit.ActionOrBuilder
      Returns:
      Whether the genericKey field is set.
    • getGenericKey

      public RateLimit.Action.GenericKey getGenericKey()
       Rate limit on a generic key.
       
      .envoy.api.v2.route.RateLimit.Action.GenericKey generic_key = 5;
      Specified by:
      getGenericKey in interface RateLimit.ActionOrBuilder
      Returns:
      The genericKey.
    • getGenericKeyOrBuilder

      public RateLimit.Action.GenericKeyOrBuilder getGenericKeyOrBuilder()
       Rate limit on a generic key.
       
      .envoy.api.v2.route.RateLimit.Action.GenericKey generic_key = 5;
      Specified by:
      getGenericKeyOrBuilder in interface RateLimit.ActionOrBuilder
    • hasHeaderValueMatch

      public boolean hasHeaderValueMatch()
       Rate limit on the existence of request headers.
       
      .envoy.api.v2.route.RateLimit.Action.HeaderValueMatch header_value_match = 6;
      Specified by:
      hasHeaderValueMatch in interface RateLimit.ActionOrBuilder
      Returns:
      Whether the headerValueMatch field is set.
    • getHeaderValueMatch

      public RateLimit.Action.HeaderValueMatch getHeaderValueMatch()
       Rate limit on the existence of request headers.
       
      .envoy.api.v2.route.RateLimit.Action.HeaderValueMatch header_value_match = 6;
      Specified by:
      getHeaderValueMatch in interface RateLimit.ActionOrBuilder
      Returns:
      The headerValueMatch.
    • getHeaderValueMatchOrBuilder

      public RateLimit.Action.HeaderValueMatchOrBuilder getHeaderValueMatchOrBuilder()
       Rate limit on the existence of request headers.
       
      .envoy.api.v2.route.RateLimit.Action.HeaderValueMatch header_value_match = 6;
      Specified by:
      getHeaderValueMatchOrBuilder in interface RateLimit.ActionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 RateLimit.Action parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static RateLimit.Action parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static RateLimit.Action parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static RateLimit.Action.Builder newBuilder()
    • newBuilder

      public static RateLimit.Action.Builder newBuilder(RateLimit.Action prototype)
    • toBuilder

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

      protected RateLimit.Action.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static RateLimit.Action getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RateLimit.Action> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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