Interface QuotaInfoOrBuilder (0.4.0)

public interface QuotaInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerType()

public abstract QuotaInfo.ContainerType getContainerType()

The container type of the QuotaInfo.

.google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;

Returns
TypeDescription
QuotaInfo.ContainerType

The containerType.

getContainerTypeValue()

public abstract int getContainerTypeValue()

The container type of the QuotaInfo.

.google.api.cloudquotas.v1.QuotaInfo.ContainerType container_type = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for containerType.

getDimensions(int index)

public abstract String getDimensions(int index)

The dimensions the quota is defined on.

repeated string dimensions = 8;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The dimensions at the given index.

getDimensionsBytes(int index)

public abstract ByteString getDimensionsBytes(int index)

The dimensions the quota is defined on.

repeated string dimensions = 8;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the dimensions at the given index.

getDimensionsCount()

public abstract int getDimensionsCount()

The dimensions the quota is defined on.

repeated string dimensions = 8;

Returns
TypeDescription
int

The count of dimensions.

getDimensionsInfos(int index)

public abstract DimensionsInfo getDimensionsInfos(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
DimensionsInfo

getDimensionsInfosCount()

public abstract 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;

Returns
TypeDescription
int

getDimensionsInfosList()

public abstract List<DimensionsInfo> 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;

Returns
TypeDescription
List<DimensionsInfo>

getDimensionsInfosOrBuilder(int index)

public abstract DimensionsInfoOrBuilder getDimensionsInfosOrBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
DimensionsInfoOrBuilder

getDimensionsInfosOrBuilderList()

public abstract List<? extends DimensionsInfoOrBuilder> 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;

Returns
TypeDescription
List<? extends com.google.api.cloudquotas.v1.DimensionsInfoOrBuilder>

getDimensionsList()

public abstract List<String> getDimensionsList()

The dimensions the quota is defined on.

repeated string dimensions = 8;

Returns
TypeDescription
List<String>

A list containing the dimensions.

getIsConcurrent()

public abstract 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;

Returns
TypeDescription
boolean

The isConcurrent.

getIsFixed()

public abstract boolean getIsFixed()

Whether the quota value is fixed or adjustable

bool is_fixed = 13;

Returns
TypeDescription
boolean

The isFixed.

getIsPrecise()

public abstract 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;

Returns
TypeDescription
boolean

The isPrecise.

getMetric()

public abstract String getMetric()

The metric of the quota. It specifies the resources consumption the quota is defined for. Example: compute.googleapis.com/cpus

string metric = 3;

Returns
TypeDescription
String

The metric.

getMetricBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for metric.

getMetricDisplayName()

public abstract String getMetricDisplayName()

The display name of the quota metric

string metric_display_name = 9;

Returns
TypeDescription
String

The metricDisplayName.

getMetricDisplayNameBytes()

public abstract ByteString getMetricDisplayNameBytes()

The display name of the quota metric

string metric_display_name = 9;

Returns
TypeDescription
ByteString

The bytes for metricDisplayName.

getMetricUnit()

public abstract String getMetricUnit()

The unit in which the metric value is reported, e.g., "MByte".

string metric_unit = 11;

Returns
TypeDescription
String

The metricUnit.

getMetricUnitBytes()

public abstract ByteString getMetricUnitBytes()

The unit in which the metric value is reported, e.g., "MByte".

string metric_unit = 11;

Returns
TypeDescription
ByteString

The bytes for metricUnit.

getName()

public abstract String 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;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for name.

getQuotaDisplayName()

public abstract String getQuotaDisplayName()

The display name of the quota.

string quota_display_name = 10;

Returns
TypeDescription
String

The quotaDisplayName.

getQuotaDisplayNameBytes()

public abstract ByteString getQuotaDisplayNameBytes()

The display name of the quota.

string quota_display_name = 10;

Returns
TypeDescription
ByteString

The bytes for quotaDisplayName.

getQuotaId()

public abstract String getQuotaId()

The id of the quota, which is unquie within the service. Example: CpusPerProjectPerRegion

string quota_id = 2;

Returns
TypeDescription
String

The quotaId.

getQuotaIdBytes()

public abstract ByteString getQuotaIdBytes()

The id of the quota, which is unquie within the service. Example: CpusPerProjectPerRegion

string quota_id = 2;

Returns
TypeDescription
ByteString

The bytes for quotaId.

getQuotaIncreaseEligibility()

public abstract QuotaIncreaseEligibility getQuotaIncreaseEligibility()

Whether it is eligible to request a higher quota value for this quota.

.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;

Returns
TypeDescription
QuotaIncreaseEligibility

The quotaIncreaseEligibility.

getQuotaIncreaseEligibilityOrBuilder()

public abstract QuotaIncreaseEligibilityOrBuilder getQuotaIncreaseEligibilityOrBuilder()

Whether it is eligible to request a higher quota value for this quota.

.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;

Returns
TypeDescription
QuotaIncreaseEligibilityOrBuilder

getRefreshInterval()

public abstract String 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;

Returns
TypeDescription
String

The refreshInterval.

getRefreshIntervalBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for refreshInterval.

getService()

public abstract String getService()

The name of the service in which the quota is defined. Example: compute.googleapis.com

string service = 4;

Returns
TypeDescription
String

The service.

getServiceBytes()

public abstract ByteString getServiceBytes()

The name of the service in which the quota is defined. Example: compute.googleapis.com

string service = 4;

Returns
TypeDescription
ByteString

The bytes for service.

getServiceRequestQuotaUri()

public abstract String getServiceRequestQuotaUri()

URI to the page where the user can request more quotas for the cloud service, such as https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0={email}&entry_1={id}. Google Developers Console UI replace {email} with the current user's e-mail, {id} with the current project number, or organization ID with "organizations/" prefix. For example, https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0=johndoe@gmail.com&entry_1=25463754, or https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0=johndoe@gmail.com&entry_1=organizations/26474422.

string service_request_quota_uri = 17;

Returns
TypeDescription
String

The serviceRequestQuotaUri.

getServiceRequestQuotaUriBytes()

public abstract ByteString getServiceRequestQuotaUriBytes()

URI to the page where the user can request more quotas for the cloud service, such as https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0={email}&entry_1={id}. Google Developers Console UI replace {email} with the current user's e-mail, {id} with the current project number, or organization ID with "organizations/" prefix. For example, https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0=johndoe@gmail.com&entry_1=25463754, or https://docs.google.com/spreadsheet/viewform?formkey=abc123&entry_0=johndoe@gmail.com&entry_1=organizations/26474422.

string service_request_quota_uri = 17;

Returns
TypeDescription
ByteString

The bytes for serviceRequestQuotaUri.

hasQuotaIncreaseEligibility()

public abstract boolean hasQuotaIncreaseEligibility()

Whether it is eligible to request a higher quota value for this quota.

.google.api.cloudquotas.v1.QuotaIncreaseEligibility quota_increase_eligibility = 12;

Returns
TypeDescription
boolean

Whether the quotaIncreaseEligibility field is set.