Class RateLimitResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.service.ratelimit.v3.RateLimitResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RateLimitResponseOrBuilder,Serializable
public final class RateLimitResponse extends com.google.protobuf.GeneratedMessageV3 implements RateLimitResponseOrBuilder
A response from a ShouldRateLimit call. [#next-free-field: 8]
Protobuf typeenvoy.service.ratelimit.v3.RateLimitResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRateLimitResponse.BuilderA response from a ShouldRateLimit call.static classRateLimitResponse.CodeProtobuf enumenvoy.service.ratelimit.v3.RateLimitResponse.Codestatic classRateLimitResponse.DescriptorStatus[#next-free-field: 6]static interfaceRateLimitResponse.DescriptorStatusOrBuilderstatic classRateLimitResponse.QuotaCacheable quota for responses.static interfaceRateLimitResponse.QuotaOrBuilderstatic classRateLimitResponse.RateLimitDefines an actual rate limit in terms of requests per unit of time and the unit itself.static interfaceRateLimitResponse.RateLimitOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDYNAMIC_METADATA_FIELD_NUMBERstatic intOVERALL_CODE_FIELD_NUMBERstatic intQUOTA_FIELD_NUMBERstatic intRAW_BODY_FIELD_NUMBERstatic intREQUEST_HEADERS_TO_ADD_FIELD_NUMBERstatic intRESPONSE_HEADERS_TO_ADD_FIELD_NUMBERstatic intSTATUSES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static RateLimitResponsegetDefaultInstance()RateLimitResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.StructgetDynamicMetadata()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.com.google.protobuf.StructOrBuildergetDynamicMetadataOrBuilder()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.RateLimitResponse.CodegetOverallCode()The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.intgetOverallCodeValue()The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.com.google.protobuf.Parser<RateLimitResponse>getParserForType()RateLimitResponse.QuotagetQuota()Quota is available for a request if its entire descriptor set has cached quota available.RateLimitResponse.QuotaOrBuildergetQuotaOrBuilder()Quota is available for a request if its entire descriptor set has cached quota available.com.google.protobuf.ByteStringgetRawBody()A response body to send to the downstream client when the response code is not OK.HeaderValuegetRequestHeadersToAdd(int index)A list of headers to add to the request when forwardedintgetRequestHeadersToAddCount()A list of headers to add to the request when forwardedList<HeaderValue>getRequestHeadersToAddList()A list of headers to add to the request when forwardedHeaderValueOrBuildergetRequestHeadersToAddOrBuilder(int index)A list of headers to add to the request when forwardedList<? extends HeaderValueOrBuilder>getRequestHeadersToAddOrBuilderList()A list of headers to add to the request when forwardedHeaderValuegetResponseHeadersToAdd(int index)A list of headers to add to the responseintgetResponseHeadersToAddCount()A list of headers to add to the responseList<HeaderValue>getResponseHeadersToAddList()A list of headers to add to the responseHeaderValueOrBuildergetResponseHeadersToAddOrBuilder(int index)A list of headers to add to the responseList<? extends HeaderValueOrBuilder>getResponseHeadersToAddOrBuilderList()A list of headers to add to the responseintgetSerializedSize()RateLimitResponse.DescriptorStatusgetStatuses(int index)A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.intgetStatusesCount()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.List<RateLimitResponse.DescriptorStatus>getStatusesList()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.RateLimitResponse.DescriptorStatusOrBuildergetStatusesOrBuilder(int index)A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.List<? extends RateLimitResponse.DescriptorStatusOrBuilder>getStatusesOrBuilderList()A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasDynamicMetadata()Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.inthashCode()booleanhasQuota()Quota is available for a request if its entire descriptor set has cached quota available.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RateLimitResponse.BuildernewBuilder()static RateLimitResponse.BuildernewBuilder(RateLimitResponse prototype)RateLimitResponse.BuildernewBuilderForType()protected RateLimitResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RateLimitResponseparseDelimitedFrom(InputStream input)static RateLimitResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitResponseparseFrom(byte[] data)static RateLimitResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitResponseparseFrom(com.google.protobuf.ByteString data)static RateLimitResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitResponseparseFrom(com.google.protobuf.CodedInputStream input)static RateLimitResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitResponseparseFrom(InputStream input)static RateLimitResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RateLimitResponseparseFrom(ByteBuffer data)static RateLimitResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RateLimitResponse>parser()RateLimitResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
OVERALL_CODE_FIELD_NUMBER
public static final int OVERALL_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUSES_FIELD_NUMBER
public static final int STATUSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RAW_BODY_FIELD_NUMBER
public static final int RAW_BODY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_METADATA_FIELD_NUMBER
public static final int DYNAMIC_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUOTA_FIELD_NUMBER
public static final int QUOTA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getOverallCodeValue
public int getOverallCodeValue()
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v3.RateLimitResponse.Code overall_code = 1;- Specified by:
getOverallCodeValuein interfaceRateLimitResponseOrBuilder- Returns:
- The enum numeric value on the wire for overallCode.
-
getOverallCode
public RateLimitResponse.Code getOverallCode()
The overall response code which takes into account all of the descriptors that were passed in the RateLimitRequest message.
.envoy.service.ratelimit.v3.RateLimitResponse.Code overall_code = 1;- Specified by:
getOverallCodein interfaceRateLimitResponseOrBuilder- Returns:
- The overallCode.
-
getStatusesList
public List<RateLimitResponse.DescriptorStatus> getStatusesList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;- Specified by:
getStatusesListin interfaceRateLimitResponseOrBuilder
-
getStatusesOrBuilderList
public List<? extends RateLimitResponse.DescriptorStatusOrBuilder> getStatusesOrBuilderList()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;- Specified by:
getStatusesOrBuilderListin interfaceRateLimitResponseOrBuilder
-
getStatusesCount
public int getStatusesCount()
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;- Specified by:
getStatusesCountin interfaceRateLimitResponseOrBuilder
-
getStatuses
public RateLimitResponse.DescriptorStatus getStatuses(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;- Specified by:
getStatusesin interfaceRateLimitResponseOrBuilder
-
getStatusesOrBuilder
public RateLimitResponse.DescriptorStatusOrBuilder getStatusesOrBuilder(int index)
A list of DescriptorStatus messages which matches the length of the descriptor list passed in the RateLimitRequest. This can be used by the caller to determine which individual descriptors failed and/or what the currently configured limits are for all of them.
repeated .envoy.service.ratelimit.v3.RateLimitResponse.DescriptorStatus statuses = 2;- Specified by:
getStatusesOrBuilderin interfaceRateLimitResponseOrBuilder
-
getResponseHeadersToAddList
public List<HeaderValue> getResponseHeadersToAddList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;- Specified by:
getResponseHeadersToAddListin interfaceRateLimitResponseOrBuilder
-
getResponseHeadersToAddOrBuilderList
public List<? extends HeaderValueOrBuilder> getResponseHeadersToAddOrBuilderList()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;- Specified by:
getResponseHeadersToAddOrBuilderListin interfaceRateLimitResponseOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;- Specified by:
getResponseHeadersToAddCountin interfaceRateLimitResponseOrBuilder
-
getResponseHeadersToAdd
public HeaderValue getResponseHeadersToAdd(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;- Specified by:
getResponseHeadersToAddin interfaceRateLimitResponseOrBuilder
-
getResponseHeadersToAddOrBuilder
public HeaderValueOrBuilder getResponseHeadersToAddOrBuilder(int index)
A list of headers to add to the response
repeated .envoy.config.core.v3.HeaderValue response_headers_to_add = 3;- Specified by:
getResponseHeadersToAddOrBuilderin interfaceRateLimitResponseOrBuilder
-
getRequestHeadersToAddList
public List<HeaderValue> getRequestHeadersToAddList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;- Specified by:
getRequestHeadersToAddListin interfaceRateLimitResponseOrBuilder
-
getRequestHeadersToAddOrBuilderList
public List<? extends HeaderValueOrBuilder> getRequestHeadersToAddOrBuilderList()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;- Specified by:
getRequestHeadersToAddOrBuilderListin interfaceRateLimitResponseOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;- Specified by:
getRequestHeadersToAddCountin interfaceRateLimitResponseOrBuilder
-
getRequestHeadersToAdd
public HeaderValue getRequestHeadersToAdd(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;- Specified by:
getRequestHeadersToAddin interfaceRateLimitResponseOrBuilder
-
getRequestHeadersToAddOrBuilder
public HeaderValueOrBuilder getRequestHeadersToAddOrBuilder(int index)
A list of headers to add to the request when forwarded
repeated .envoy.config.core.v3.HeaderValue request_headers_to_add = 4;- Specified by:
getRequestHeadersToAddOrBuilderin interfaceRateLimitResponseOrBuilder
-
getRawBody
public com.google.protobuf.ByteString getRawBody()
A response body to send to the downstream client when the response code is not OK.
bytes raw_body = 5;- Specified by:
getRawBodyin interfaceRateLimitResponseOrBuilder- Returns:
- The rawBody.
-
hasDynamicMetadata
public boolean hasDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;- Specified by:
hasDynamicMetadatain interfaceRateLimitResponseOrBuilder- Returns:
- Whether the dynamicMetadata field is set.
-
getDynamicMetadata
public com.google.protobuf.Struct getDynamicMetadata()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;- Specified by:
getDynamicMetadatain interfaceRateLimitResponseOrBuilder- Returns:
- The dynamicMetadata.
-
getDynamicMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getDynamicMetadataOrBuilder()
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter. This metadata lives in a namespace specified by the canonical name of extension filter that requires it: - :ref:`envoy.filters.http.ratelimit <config_http_filters_ratelimit_dynamic_metadata>` for HTTP filter. - :ref:`envoy.filters.network.ratelimit <config_network_filters_ratelimit_dynamic_metadata>` for network filter. - :ref:`envoy.filters.thrift.rate_limit <config_thrift_filters_rate_limit_dynamic_metadata>` for Thrift filter.
.google.protobuf.Struct dynamic_metadata = 6;- Specified by:
getDynamicMetadataOrBuilderin interfaceRateLimitResponseOrBuilder
-
hasQuota
public boolean hasQuota()
Quota is available for a request if its entire descriptor set has cached quota available. This is a union of all descriptors in the descriptor set. Clients can use the quota for future matches if and only if the descriptor set matches what was sent in the request that originated this response. If quota is available, a RLS request will not be made and the quota will be reduced by 1. If quota is not available (i.e., a cached entry doesn't exist for a RLS descriptor set), a RLS request will be triggered. If the server did not provide a quota, such as the quota message is empty then the request admission is determined by the :ref:`overall_code <envoy_v3_api_field_service.ratelimit.v3.RateLimitResponse.overall_code>`. If there is not sufficient quota and the cached entry exists for a RLS descriptor set is out-of-quota but not expired, the request will be treated as OVER_LIMIT. [#not-implemented-hide:]
.envoy.service.ratelimit.v3.RateLimitResponse.Quota quota = 7;- Specified by:
hasQuotain interfaceRateLimitResponseOrBuilder- Returns:
- Whether the quota field is set.
-
getQuota
public RateLimitResponse.Quota getQuota()
Quota is available for a request if its entire descriptor set has cached quota available. This is a union of all descriptors in the descriptor set. Clients can use the quota for future matches if and only if the descriptor set matches what was sent in the request that originated this response. If quota is available, a RLS request will not be made and the quota will be reduced by 1. If quota is not available (i.e., a cached entry doesn't exist for a RLS descriptor set), a RLS request will be triggered. If the server did not provide a quota, such as the quota message is empty then the request admission is determined by the :ref:`overall_code <envoy_v3_api_field_service.ratelimit.v3.RateLimitResponse.overall_code>`. If there is not sufficient quota and the cached entry exists for a RLS descriptor set is out-of-quota but not expired, the request will be treated as OVER_LIMIT. [#not-implemented-hide:]
.envoy.service.ratelimit.v3.RateLimitResponse.Quota quota = 7;- Specified by:
getQuotain interfaceRateLimitResponseOrBuilder- Returns:
- The quota.
-
getQuotaOrBuilder
public RateLimitResponse.QuotaOrBuilder getQuotaOrBuilder()
Quota is available for a request if its entire descriptor set has cached quota available. This is a union of all descriptors in the descriptor set. Clients can use the quota for future matches if and only if the descriptor set matches what was sent in the request that originated this response. If quota is available, a RLS request will not be made and the quota will be reduced by 1. If quota is not available (i.e., a cached entry doesn't exist for a RLS descriptor set), a RLS request will be triggered. If the server did not provide a quota, such as the quota message is empty then the request admission is determined by the :ref:`overall_code <envoy_v3_api_field_service.ratelimit.v3.RateLimitResponse.overall_code>`. If there is not sufficient quota and the cached entry exists for a RLS descriptor set is out-of-quota but not expired, the request will be treated as OVER_LIMIT. [#not-implemented-hide:]
.envoy.service.ratelimit.v3.RateLimitResponse.Quota quota = 7;- Specified by:
getQuotaOrBuilderin interfaceRateLimitResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RateLimitResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RateLimitResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimitResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RateLimitResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RateLimitResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimitResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RateLimitResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RateLimitResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RateLimitResponse.Builder newBuilder()
-
newBuilder
public static RateLimitResponse.Builder newBuilder(RateLimitResponse prototype)
-
toBuilder
public RateLimitResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RateLimitResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RateLimitResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RateLimitResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<RateLimitResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RateLimitResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-