Package com.google.api.cloudquotas.v1
Interface QuotaConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QuotaConfig,QuotaConfig.Builder
@Generated
public interface QuotaConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.com.google.protobuf.Int64ValueOutput only.com.google.protobuf.Int64ValueOrBuilderOutput only.longRequired.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPreferredValue
long getPreferredValue()Required. The preferred value. Must be greater than or equal to -1. If set to -1, it means the value is "unlimited".
int64 preferred_value = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The preferredValue.
-
getStateDetail
String getStateDetail()Output only. Optional details about the state of this quota preference.
string state_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The stateDetail.
-
getStateDetailBytes
com.google.protobuf.ByteString getStateDetailBytes()Output only. Optional details about the state of this quota preference.
string state_detail = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for stateDetail.
-
hasGrantedValue
boolean hasGrantedValue()Output only. Granted quota value.
.google.protobuf.Int64Value granted_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the grantedValue field is set.
-
getGrantedValue
com.google.protobuf.Int64Value getGrantedValue()Output only. Granted quota value.
.google.protobuf.Int64Value granted_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The grantedValue.
-
getGrantedValueOrBuilder
com.google.protobuf.Int64ValueOrBuilder getGrantedValueOrBuilder()Output only. Granted quota value.
.google.protobuf.Int64Value granted_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTraceId
String getTraceId()Output only. The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.
string trace_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The traceId.
-
getTraceIdBytes
com.google.protobuf.ByteString getTraceIdBytes()Output only. The trace id that the Google Cloud uses to provision the requested quota. This trace id may be used by the client to contact Cloud support to track the state of a quota preference request. The trace id is only produced for increase requests and is unique for each request. The quota decrease requests do not have a trace id.
string trace_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for traceId.
-
getAnnotationsCount
int getAnnotationsCount()Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
containsAnnotations
Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
getAnnotationsMap
Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrDefault
Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAnnotationsOrThrow
Optional. The annotations map for clients to store small amounts of arbitrary data. Do not put PII or other sensitive information here. See https://google.aip.dev/128#annotations
map<string, string> annotations = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getRequestOriginValue
int getRequestOriginValue()Output only. The origin of the quota preference request.
.google.api.cloudquotas.v1.QuotaConfig.Origin request_origin = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for requestOrigin.
-
getRequestOrigin
QuotaConfig.Origin getRequestOrigin()Output only. The origin of the quota preference request.
.google.api.cloudquotas.v1.QuotaConfig.Origin request_origin = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The requestOrigin.
-