public final class AllocateQuotaResponse extends GeneratedMessageV3 implements AllocateQuotaResponseOrBuilder
Response message for the AllocateQuota method.
Protobuf type google.api.servicecontrol.v1.AllocateQuotaResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ALLOCATE_ERRORS_FIELD_NUMBER
public static final int ALLOCATE_ERRORS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OPERATION_ID_FIELD_NUMBER
public static final int OPERATION_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
QUOTA_METRICS_FIELD_NUMBER
public static final int QUOTA_METRICS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_CONFIG_ID_FIELD_NUMBER
public static final int SERVICE_CONFIG_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AllocateQuotaResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AllocateQuotaResponse.Builder newBuilder()
newBuilder(AllocateQuotaResponse prototype)
public static AllocateQuotaResponse.Builder newBuilder(AllocateQuotaResponse prototype)
public static AllocateQuotaResponse parseDelimitedFrom(InputStream input)
public static AllocateQuotaResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AllocateQuotaResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AllocateQuotaResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AllocateQuotaResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocateQuotaResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocateQuotaResponse parseFrom(CodedInputStream input)
public static AllocateQuotaResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateQuotaResponse parseFrom(InputStream input)
public static AllocateQuotaResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AllocateQuotaResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AllocateQuotaResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AllocateQuotaResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAllocateErrors(int index)
public QuotaError getAllocateErrors(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter |
Name |
Description |
index |
int
|
getAllocateErrorsCount()
public int getAllocateErrorsCount()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns |
Type |
Description |
int |
|
getAllocateErrorsList()
public List<QuotaError> getAllocateErrorsList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
getAllocateErrorsOrBuilder(int index)
public QuotaErrorOrBuilder getAllocateErrorsOrBuilder(int index)
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Parameter |
Name |
Description |
index |
int
|
getAllocateErrorsOrBuilderList()
public List<? extends QuotaErrorOrBuilder> getAllocateErrorsOrBuilderList()
Indicates the decision of the allocate.
repeated .google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
Returns |
Type |
Description |
List<? extends com.google.api.servicecontrol.v1.QuotaErrorOrBuilder> |
|
getDefaultInstanceForType()
public AllocateQuotaResponse getDefaultInstanceForType()
getOperationId()
public String getOperationId()
The same operation_id value used in the AllocateQuotaRequest. Used for
logging and diagnostics purposes.
string operation_id = 1;
Returns |
Type |
Description |
String |
The operationId.
|
getOperationIdBytes()
public ByteString getOperationIdBytes()
The same operation_id value used in the AllocateQuotaRequest. Used for
logging and diagnostics purposes.
string operation_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for operationId.
|
getParserForType()
public Parser<AllocateQuotaResponse> getParserForType()
Overrides
getQuotaMetrics(int index)
public MetricValueSet getQuotaMetrics(int index)
Quota metrics to indicate the result of allocation. Depending on the
request, one or more of the following metrics will be included:
Per quota group or per quota metric incremental usage will be specified
using the following delta metric :
"serviceruntime.googleapis.com/api/consumer/quota_used_count"
The quota limit reached condition will be specified using the following
boolean metric :
"serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter |
Name |
Description |
index |
int
|
getQuotaMetricsCount()
public int getQuotaMetricsCount()
Quota metrics to indicate the result of allocation. Depending on the
request, one or more of the following metrics will be included:
Per quota group or per quota metric incremental usage will be specified
using the following delta metric :
"serviceruntime.googleapis.com/api/consumer/quota_used_count"
The quota limit reached condition will be specified using the following
boolean metric :
"serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns |
Type |
Description |
int |
|
getQuotaMetricsList()
public List<MetricValueSet> getQuotaMetricsList()
Quota metrics to indicate the result of allocation. Depending on the
request, one or more of the following metrics will be included:
Per quota group or per quota metric incremental usage will be specified
using the following delta metric :
"serviceruntime.googleapis.com/api/consumer/quota_used_count"
The quota limit reached condition will be specified using the following
boolean metric :
"serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
getQuotaMetricsOrBuilder(int index)
public MetricValueSetOrBuilder getQuotaMetricsOrBuilder(int index)
Quota metrics to indicate the result of allocation. Depending on the
request, one or more of the following metrics will be included:
Per quota group or per quota metric incremental usage will be specified
using the following delta metric :
"serviceruntime.googleapis.com/api/consumer/quota_used_count"
The quota limit reached condition will be specified using the following
boolean metric :
"serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Parameter |
Name |
Description |
index |
int
|
getQuotaMetricsOrBuilderList()
public List<? extends MetricValueSetOrBuilder> getQuotaMetricsOrBuilderList()
Quota metrics to indicate the result of allocation. Depending on the
request, one or more of the following metrics will be included:
Per quota group or per quota metric incremental usage will be specified
using the following delta metric :
"serviceruntime.googleapis.com/api/consumer/quota_used_count"
The quota limit reached condition will be specified using the following
boolean metric :
"serviceruntime.googleapis.com/quota/exceeded"
repeated .google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
Returns |
Type |
Description |
List<? extends com.google.api.servicecontrol.v1.MetricValueSetOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceConfigId()
public String getServiceConfigId()
ID of the actual config used to process the request.
string service_config_id = 4;
Returns |
Type |
Description |
String |
The serviceConfigId.
|
getServiceConfigIdBytes()
public ByteString getServiceConfigIdBytes()
ID of the actual config used to process the request.
string service_config_id = 4;
Returns |
Type |
Description |
ByteString |
The bytes for serviceConfigId.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AllocateQuotaResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AllocateQuotaResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AllocateQuotaResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides