Package com.google.api.cloudquotas.v1
Class QuotaInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuotaInfo.Builder>
com.google.api.cloudquotas.v1.QuotaInfo.Builder
- All Implemented Interfaces:
QuotaInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QuotaInfo
public static final class QuotaInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QuotaInfo.Builder>
implements QuotaInfoOrBuilder
QuotaInfo represents information about a particular quota for a given project, folder or organization.Protobuf type
google.api.cloudquotas.v1.QuotaInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllDimensions(Iterable<String> values) The dimensions the quota is defined on.addAllDimensionsInfos(Iterable<? extends DimensionsInfo> values) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.addDimensions(String value) The dimensions the quota is defined on.addDimensionsBytes(com.google.protobuf.ByteString value) The dimensions the quota is defined on.addDimensionsInfos(int index, DimensionsInfo value) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.addDimensionsInfos(int index, DimensionsInfo.Builder builderForValue) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.addDimensionsInfos(DimensionsInfo value) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.addDimensionsInfos(DimensionsInfo.Builder builderForValue) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.addDimensionsInfosBuilder(int index) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.build()clear()The container type of the QuotaInfo.The dimensions the quota is defined on.The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.Whether the quota is a concurrent quota.Whether the quota value is fixed or adjustableWhether this is a precise quota.The metric of the quota.The display name of the quota metricThe unit in which the metric value is reported, e.g., "MByte".Resource name of this QuotaInfo.The display name of the quota.The id of the quota, which is unique within the service.Whether it is eligible to request a higher quota value for this quota.The reset time interval for the quota.The name of the service in which the quota is defined.URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.The container type of the QuotaInfo.intThe container type of the QuotaInfo.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDimensions(int index) The dimensions the quota is defined on.com.google.protobuf.ByteStringgetDimensionsBytes(int index) The dimensions the quota is defined on.intThe dimensions the quota is defined on.getDimensionsInfos(int index) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.getDimensionsInfosBuilder(int index) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.intThe collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.getDimensionsInfosOrBuilder(int index) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.List<? extends DimensionsInfoOrBuilder>The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.com.google.protobuf.ProtocolStringListThe dimensions the quota is defined on.booleanWhether the quota is a concurrent quota.booleanWhether the quota value is fixed or adjustablebooleanWhether this is a precise quota.The metric of the quota.com.google.protobuf.ByteStringThe metric of the quota.The display name of the quota metriccom.google.protobuf.ByteStringThe display name of the quota metricThe unit in which the metric value is reported, e.g., "MByte".com.google.protobuf.ByteStringThe unit in which the metric value is reported, e.g., "MByte".getName()Resource name of this QuotaInfo.com.google.protobuf.ByteStringResource name of this QuotaInfo.The display name of the quota.com.google.protobuf.ByteStringThe display name of the quota.The id of the quota, which is unique within the service.com.google.protobuf.ByteStringThe id of the quota, which is unique within the service.Whether it is eligible to request a higher quota value for this quota.Whether it is eligible to request a higher quota value for this quota.Whether it is eligible to request a higher quota value for this quota.The reset time interval for the quota.com.google.protobuf.ByteStringThe reset time interval for the quota.The name of the service in which the quota is defined.com.google.protobuf.ByteStringThe name of the service in which the quota is defined.URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.com.google.protobuf.ByteStringURI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.booleanWhether it is eligible to request a higher quota value for this quota.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Whether it is eligible to request a higher quota value for this quota.removeDimensionsInfos(int index) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.The container type of the QuotaInfo.setContainerTypeValue(int value) The container type of the QuotaInfo.setDimensions(int index, String value) The dimensions the quota is defined on.setDimensionsInfos(int index, DimensionsInfo value) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.setDimensionsInfos(int index, DimensionsInfo.Builder builderForValue) The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.setIsConcurrent(boolean value) Whether the quota is a concurrent quota.setIsFixed(boolean value) Whether the quota value is fixed or adjustablesetIsPrecise(boolean value) Whether this is a precise quota.The metric of the quota.setMetricBytes(com.google.protobuf.ByteString value) The metric of the quota.setMetricDisplayName(String value) The display name of the quota metricsetMetricDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the quota metricsetMetricUnit(String value) The unit in which the metric value is reported, e.g., "MByte".setMetricUnitBytes(com.google.protobuf.ByteString value) The unit in which the metric value is reported, e.g., "MByte".Resource name of this QuotaInfo.setNameBytes(com.google.protobuf.ByteString value) Resource name of this QuotaInfo.setQuotaDisplayName(String value) The display name of the quota.setQuotaDisplayNameBytes(com.google.protobuf.ByteString value) The display name of the quota.setQuotaId(String value) The id of the quota, which is unique within the service.setQuotaIdBytes(com.google.protobuf.ByteString value) The id of the quota, which is unique within the service.Whether it is eligible to request a higher quota value for this quota.setQuotaIncreaseEligibility(QuotaIncreaseEligibility.Builder builderForValue) Whether it is eligible to request a higher quota value for this quota.setRefreshInterval(String value) The reset time interval for the quota.setRefreshIntervalBytes(com.google.protobuf.ByteString value) The reset time interval for the quota.setService(String value) The name of the service in which the quota is defined.setServiceBytes(com.google.protobuf.ByteString value) The name of the service in which the quota is defined.setServiceRequestQuotaUri(String value) URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.setServiceRequestQuotaUriBytes(com.google.protobuf.ByteString value) URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QuotaInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QuotaInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QuotaInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuotaInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QuotaInfo.Builder>
-
mergeFrom
public QuotaInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuotaInfo.Builder>- Throws:
IOException
-
getName
Resource name of this QuotaInfo. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
string name = 1;- Specified by:
getNamein interfaceQuotaInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Resource name of this QuotaInfo. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
string name = 1;- Specified by:
getNameBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for name.
-
setName
Resource name of this QuotaInfo. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Resource name of this QuotaInfo. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Resource name of this QuotaInfo. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/services/compute.googleapis.com/quotaInfos/CpusPerProjectPerRegion`
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getQuotaId
The id of the quota, which is unique within the service. Example: `CpusPerProjectPerRegion`
string quota_id = 2;- Specified by:
getQuotaIdin interfaceQuotaInfoOrBuilder- Returns:
- The quotaId.
-
getQuotaIdBytes
public com.google.protobuf.ByteString getQuotaIdBytes()The id of the quota, which is unique within the service. Example: `CpusPerProjectPerRegion`
string quota_id = 2;- Specified by:
getQuotaIdBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for quotaId.
-
setQuotaId
The id of the quota, which is unique within the service. Example: `CpusPerProjectPerRegion`
string quota_id = 2;- Parameters:
value- The quotaId to set.- Returns:
- This builder for chaining.
-
clearQuotaId
The id of the quota, which is unique within the service. Example: `CpusPerProjectPerRegion`
string quota_id = 2;- Returns:
- This builder for chaining.
-
setQuotaIdBytes
The id of the quota, which is unique within the service. Example: `CpusPerProjectPerRegion`
string quota_id = 2;- Parameters:
value- The bytes for quotaId to set.- Returns:
- This builder for chaining.
-
getMetric
The metric of the quota. It specifies the resources consumption the quota is defined for. Example: `compute.googleapis.com/cpus`
string metric = 3;- Specified by:
getMetricin interfaceQuotaInfoOrBuilder- Returns:
- The metric.
-
getMetricBytes
public com.google.protobuf.ByteString getMetricBytes()The metric of the quota. It specifies the resources consumption the quota is defined for. Example: `compute.googleapis.com/cpus`
string metric = 3;- Specified by:
getMetricBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for metric.
-
setMetric
The metric of the quota. It specifies the resources consumption the quota is defined for. Example: `compute.googleapis.com/cpus`
string metric = 3;- Parameters:
value- The metric to set.- Returns:
- This builder for chaining.
-
clearMetric
The metric of the quota. It specifies the resources consumption the quota is defined for. Example: `compute.googleapis.com/cpus`
string metric = 3;- Returns:
- This builder for chaining.
-
setMetricBytes
The metric of the quota. It specifies the resources consumption the quota is defined for. Example: `compute.googleapis.com/cpus`
string metric = 3;- Parameters:
value- The bytes for metric to set.- Returns:
- This builder for chaining.
-
getService
The name of the service in which the quota is defined. Example: `compute.googleapis.com`
string service = 4;- Specified by:
getServicein interfaceQuotaInfoOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()The name of the service in which the quota is defined. Example: `compute.googleapis.com`
string service = 4;- Specified by:
getServiceBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for service.
-
setService
The name of the service in which the quota is defined. Example: `compute.googleapis.com`
string service = 4;- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
The name of the service in which the quota is defined. Example: `compute.googleapis.com`
string service = 4;- Returns:
- This builder for chaining.
-
setServiceBytes
The name of the service in which the quota is defined. Example: `compute.googleapis.com`
string service = 4;- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getIsPrecise
public boolean getIsPrecise()Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
bool is_precise = 5;- Specified by:
getIsPrecisein interfaceQuotaInfoOrBuilder- Returns:
- The isPrecise.
-
setIsPrecise
Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
bool is_precise = 5;- Parameters:
value- The isPrecise to set.- Returns:
- This builder for chaining.
-
clearIsPrecise
Whether this is a precise quota. A precise quota is tracked with absolute precision. In contrast, an imprecise quota is not tracked with precision.
bool is_precise = 5;- Returns:
- This builder for chaining.
-
getRefreshInterval
The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
string refresh_interval = 6;- Specified by:
getRefreshIntervalin interfaceQuotaInfoOrBuilder- Returns:
- The refreshInterval.
-
getRefreshIntervalBytes
public com.google.protobuf.ByteString getRefreshIntervalBytes()The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
string refresh_interval = 6;- Specified by:
getRefreshIntervalBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for refreshInterval.
-
setRefreshInterval
The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
string refresh_interval = 6;- Parameters:
value- The refreshInterval to set.- Returns:
- This builder for chaining.
-
clearRefreshInterval
The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
string refresh_interval = 6;- Returns:
- This builder for chaining.
-
setRefreshIntervalBytes
The reset time interval for the quota. Refresh interval applies to rate quota only. Example: "minute" for per minute, "day" for per day, or "10 seconds" for every 10 seconds.
string refresh_interval = 6;- Parameters:
value- The bytes for refreshInterval to set.- Returns:
- This builder for chaining.
-
getContainerTypeValue
public int getContainerTypeValue()The container type of the QuotaInfo.
.google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;- Specified by:
getContainerTypeValuein interfaceQuotaInfoOrBuilder- Returns:
- The enum numeric value on the wire for containerType.
-
setContainerTypeValue
The container type of the QuotaInfo.
.google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;- Parameters:
value- The enum numeric value on the wire for containerType to set.- Returns:
- This builder for chaining.
-
getContainerType
The container type of the QuotaInfo.
.google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;- Specified by:
getContainerTypein interfaceQuotaInfoOrBuilder- Returns:
- The containerType.
-
setContainerType
The container type of the QuotaInfo.
.google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;- Parameters:
value- The containerType to set.- Returns:
- This builder for chaining.
-
clearContainerType
The container type of the QuotaInfo.
.google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;- Returns:
- This builder for chaining.
-
getDimensionsList
public com.google.protobuf.ProtocolStringList getDimensionsList()The dimensions the quota is defined on.
repeated string dimensions = 8;- Specified by:
getDimensionsListin interfaceQuotaInfoOrBuilder- Returns:
- A list containing the dimensions.
-
getDimensionsCount
public int getDimensionsCount()The dimensions the quota is defined on.
repeated string dimensions = 8;- Specified by:
getDimensionsCountin interfaceQuotaInfoOrBuilder- Returns:
- The count of dimensions.
-
getDimensions
The dimensions the quota is defined on.
repeated string dimensions = 8;- Specified by:
getDimensionsin interfaceQuotaInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dimensions at the given index.
-
getDimensionsBytes
public com.google.protobuf.ByteString getDimensionsBytes(int index) The dimensions the quota is defined on.
repeated string dimensions = 8;- Specified by:
getDimensionsBytesin interfaceQuotaInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dimensions at the given index.
-
setDimensions
The dimensions the quota is defined on.
repeated string dimensions = 8;- Parameters:
index- The index to set the value at.value- The dimensions to set.- Returns:
- This builder for chaining.
-
addDimensions
The dimensions the quota is defined on.
repeated string dimensions = 8;- Parameters:
value- The dimensions to add.- Returns:
- This builder for chaining.
-
addAllDimensions
The dimensions the quota is defined on.
repeated string dimensions = 8;- Parameters:
values- The dimensions to add.- Returns:
- This builder for chaining.
-
clearDimensions
The dimensions the quota is defined on.
repeated string dimensions = 8;- Returns:
- This builder for chaining.
-
addDimensionsBytes
The dimensions the quota is defined on.
repeated string dimensions = 8;- Parameters:
value- The bytes of the dimensions to add.- Returns:
- This builder for chaining.
-
getMetricDisplayName
The display name of the quota metric
string metric_display_name = 9;- Specified by:
getMetricDisplayNamein interfaceQuotaInfoOrBuilder- Returns:
- The metricDisplayName.
-
getMetricDisplayNameBytes
public com.google.protobuf.ByteString getMetricDisplayNameBytes()The display name of the quota metric
string metric_display_name = 9;- Specified by:
getMetricDisplayNameBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for metricDisplayName.
-
setMetricDisplayName
The display name of the quota metric
string metric_display_name = 9;- Parameters:
value- The metricDisplayName to set.- Returns:
- This builder for chaining.
-
clearMetricDisplayName
The display name of the quota metric
string metric_display_name = 9;- Returns:
- This builder for chaining.
-
setMetricDisplayNameBytes
The display name of the quota metric
string metric_display_name = 9;- Parameters:
value- The bytes for metricDisplayName to set.- Returns:
- This builder for chaining.
-
getQuotaDisplayName
The display name of the quota.
string quota_display_name = 10;- Specified by:
getQuotaDisplayNamein interfaceQuotaInfoOrBuilder- Returns:
- The quotaDisplayName.
-
getQuotaDisplayNameBytes
public com.google.protobuf.ByteString getQuotaDisplayNameBytes()The display name of the quota.
string quota_display_name = 10;- Specified by:
getQuotaDisplayNameBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for quotaDisplayName.
-
setQuotaDisplayName
The display name of the quota.
string quota_display_name = 10;- Parameters:
value- The quotaDisplayName to set.- Returns:
- This builder for chaining.
-
clearQuotaDisplayName
The display name of the quota.
string quota_display_name = 10;- Returns:
- This builder for chaining.
-
setQuotaDisplayNameBytes
The display name of the quota.
string quota_display_name = 10;- Parameters:
value- The bytes for quotaDisplayName to set.- Returns:
- This builder for chaining.
-
getMetricUnit
The unit in which the metric value is reported, e.g., "MByte".
string metric_unit = 11;- Specified by:
getMetricUnitin interfaceQuotaInfoOrBuilder- Returns:
- The metricUnit.
-
getMetricUnitBytes
public com.google.protobuf.ByteString getMetricUnitBytes()The unit in which the metric value is reported, e.g., "MByte".
string metric_unit = 11;- Specified by:
getMetricUnitBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for metricUnit.
-
setMetricUnit
The unit in which the metric value is reported, e.g., "MByte".
string metric_unit = 11;- Parameters:
value- The metricUnit to set.- Returns:
- This builder for chaining.
-
clearMetricUnit
The unit in which the metric value is reported, e.g., "MByte".
string metric_unit = 11;- Returns:
- This builder for chaining.
-
setMetricUnitBytes
The unit in which the metric value is reported, e.g., "MByte".
string metric_unit = 11;- Parameters:
value- The bytes for metricUnit to set.- Returns:
- This builder for chaining.
-
hasQuotaIncreaseEligibility
public boolean hasQuotaIncreaseEligibility()Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;- Specified by:
hasQuotaIncreaseEligibilityin interfaceQuotaInfoOrBuilder- Returns:
- Whether the quotaIncreaseEligibility field is set.
-
getQuotaIncreaseEligibility
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;- Specified by:
getQuotaIncreaseEligibilityin interfaceQuotaInfoOrBuilder- Returns:
- The quotaIncreaseEligibility.
-
setQuotaIncreaseEligibility
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12; -
setQuotaIncreaseEligibility
public QuotaInfo.Builder setQuotaIncreaseEligibility(QuotaIncreaseEligibility.Builder builderForValue) Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12; -
mergeQuotaIncreaseEligibility
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12; -
clearQuotaIncreaseEligibility
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12; -
getQuotaIncreaseEligibilityBuilder
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12; -
getQuotaIncreaseEligibilityOrBuilder
Whether it is eligible to request a higher quota value for this quota.
.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;- Specified by:
getQuotaIncreaseEligibilityOrBuilderin interfaceQuotaInfoOrBuilder
-
getIsFixed
public boolean getIsFixed()Whether the quota value is fixed or adjustable
bool is_fixed = 13;- Specified by:
getIsFixedin interfaceQuotaInfoOrBuilder- Returns:
- The isFixed.
-
setIsFixed
Whether the quota value is fixed or adjustable
bool is_fixed = 13;- Parameters:
value- The isFixed to set.- Returns:
- This builder for chaining.
-
clearIsFixed
Whether the quota value is fixed or adjustable
bool is_fixed = 13;- Returns:
- This builder for chaining.
-
getDimensionsInfosList
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;- Specified by:
getDimensionsInfosListin interfaceQuotaInfoOrBuilder
-
getDimensionsInfosCount
public int getDimensionsInfosCount()The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;- Specified by:
getDimensionsInfosCountin interfaceQuotaInfoOrBuilder
-
getDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;- Specified by:
getDimensionsInfosin interfaceQuotaInfoOrBuilder
-
setDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
setDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
addDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
addDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
addDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
addDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
addAllDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
clearDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
removeDimensionsInfos
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
getDimensionsInfosBuilder
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
getDimensionsInfosOrBuilder
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;- Specified by:
getDimensionsInfosOrBuilderin interfaceQuotaInfoOrBuilder
-
getDimensionsInfosOrBuilderList
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14;- Specified by:
getDimensionsInfosOrBuilderListin interfaceQuotaInfoOrBuilder
-
addDimensionsInfosBuilder
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
addDimensionsInfosBuilder
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
getDimensionsInfosBuilderList
The collection of dimensions info ordered by their dimensions from more specific ones to less specific ones.
repeated .google.api.cloudquotas.v1.DimensionsInfo dimensions_infos = 14; -
getIsConcurrent
public boolean getIsConcurrent()Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
bool is_concurrent = 15;- Specified by:
getIsConcurrentin interfaceQuotaInfoOrBuilder- Returns:
- The isConcurrent.
-
setIsConcurrent
Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
bool is_concurrent = 15;- Parameters:
value- The isConcurrent to set.- Returns:
- This builder for chaining.
-
clearIsConcurrent
Whether the quota is a concurrent quota. Concurrent quotas are enforced on the total number of concurrent operations in flight at any given time.
bool is_concurrent = 15;- Returns:
- This builder for chaining.
-
getServiceRequestQuotaUri
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.
string service_request_quota_uri = 17;- Specified by:
getServiceRequestQuotaUriin interfaceQuotaInfoOrBuilder- Returns:
- The serviceRequestQuotaUri.
-
getServiceRequestQuotaUriBytes
public com.google.protobuf.ByteString getServiceRequestQuotaUriBytes()URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.
string service_request_quota_uri = 17;- Specified by:
getServiceRequestQuotaUriBytesin interfaceQuotaInfoOrBuilder- Returns:
- The bytes for serviceRequestQuotaUri.
-
setServiceRequestQuotaUri
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.
string service_request_quota_uri = 17;- Parameters:
value- The serviceRequestQuotaUri to set.- Returns:
- This builder for chaining.
-
clearServiceRequestQuotaUri
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.
string service_request_quota_uri = 17;- Returns:
- This builder for chaining.
-
setServiceRequestQuotaUriBytes
URI to the page where users can request more quota for the cloud service—for example, https://console.cloud.google.com/iam-admin/quotas.
string service_request_quota_uri = 17;- Parameters:
value- The bytes for serviceRequestQuotaUri to set.- Returns:
- This builder for chaining.
-