- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class QuotaExceededInfo.Builder extends GeneratedMessageV3.Builder<QuotaExceededInfo.Builder> implements QuotaExceededInfoOrBuilder
Additional details for quota exceeded error for resource quota.
Protobuf type google.cloud.compute.v1.QuotaExceededInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QuotaExceededInfo.BuilderImplements
QuotaExceededInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QuotaExceededInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
build()
public QuotaExceededInfo build()
Returns | |
---|---|
Type | Description |
QuotaExceededInfo |
buildPartial()
public QuotaExceededInfo buildPartial()
Returns | |
---|---|
Type | Description |
QuotaExceededInfo |
clear()
public QuotaExceededInfo.Builder clear()
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
clearDimensions()
public QuotaExceededInfo.Builder clearDimensions()
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public QuotaExceededInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
clearLimit()
public QuotaExceededInfo.Builder clearLimit()
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
clearLimitName()
public QuotaExceededInfo.Builder clearLimitName()
The name of the quota limit.
optional string limit_name = 398197903;
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
clearMetricName()
public QuotaExceededInfo.Builder clearMetricName()
The Compute Engine quota metric name.
optional string metric_name = 409881530;
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QuotaExceededInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
clone()
public QuotaExceededInfo.Builder clone()
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
containsDimensions(String key)
public boolean containsDimensions(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public QuotaExceededInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
QuotaExceededInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDimensions()
public Map<String,String> getDimensions()
Use #getDimensionsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getDimensionsCount()
public int getDimensionsCount()
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Returns | |
---|---|
Type | Description |
int |
getDimensionsMap()
public Map<String,String> getDimensionsMap()
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getDimensionsOrDefault(String key, String defaultValue)
public String getDimensionsOrDefault(String key, String defaultValue)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getDimensionsOrThrow(String key)
public String getDimensionsOrThrow(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getLimit()
public double getLimit()
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;
Returns | |
---|---|
Type | Description |
double | The limit. |
getLimitName()
public String getLimitName()
The name of the quota limit.
optional string limit_name = 398197903;
Returns | |
---|---|
Type | Description |
String | The limitName. |
getLimitNameBytes()
public ByteString getLimitNameBytes()
The name of the quota limit.
optional string limit_name = 398197903;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for limitName. |
getMetricName()
public String getMetricName()
The Compute Engine quota metric name.
optional string metric_name = 409881530;
Returns | |
---|---|
Type | Description |
String | The metricName. |
getMetricNameBytes()
public ByteString getMetricNameBytes()
The Compute Engine quota metric name.
optional string metric_name = 409881530;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for metricName. |
getMutableDimensions()
public Map<String,String> getMutableDimensions()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
hasLimit()
public boolean hasLimit()
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;
Returns | |
---|---|
Type | Description |
boolean | Whether the limit field is set. |
hasLimitName()
public boolean hasLimitName()
The name of the quota limit.
optional string limit_name = 398197903;
Returns | |
---|---|
Type | Description |
boolean | Whether the limitName field is set. |
hasMetricName()
public boolean hasMetricName()
The Compute Engine quota metric name.
optional string metric_name = 409881530;
Returns | |
---|---|
Type | Description |
boolean | Whether the metricName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(QuotaExceededInfo other)
public QuotaExceededInfo.Builder mergeFrom(QuotaExceededInfo other)
Parameter | |
---|---|
Name | Description |
other | QuotaExceededInfo |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QuotaExceededInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public QuotaExceededInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QuotaExceededInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
putAllDimensions(Map<String,String> values)
public QuotaExceededInfo.Builder putAllDimensions(Map<String,String> values)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
putDimensions(String key, String value)
public QuotaExceededInfo.Builder putDimensions(String key, String value)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
removeDimensions(String key)
public QuotaExceededInfo.Builder removeDimensions(String key)
The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QuotaExceededInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
setLimit(double value)
public QuotaExceededInfo.Builder setLimit(double value)
Current effective quota limit. The limit's unit depends on the quota type or metric.
optional double limit = 102976443;
Parameter | |
---|---|
Name | Description |
value | double The limit to set. |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
setLimitName(String value)
public QuotaExceededInfo.Builder setLimitName(String value)
The name of the quota limit.
optional string limit_name = 398197903;
Parameter | |
---|---|
Name | Description |
value | String The limitName to set. |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
setLimitNameBytes(ByteString value)
public QuotaExceededInfo.Builder setLimitNameBytes(ByteString value)
The name of the quota limit.
optional string limit_name = 398197903;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for limitName to set. |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
setMetricName(String value)
public QuotaExceededInfo.Builder setMetricName(String value)
The Compute Engine quota metric name.
optional string metric_name = 409881530;
Parameter | |
---|---|
Name | Description |
value | String The metricName to set. |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
setMetricNameBytes(ByteString value)
public QuotaExceededInfo.Builder setMetricNameBytes(ByteString value)
The Compute Engine quota metric name.
optional string metric_name = 409881530;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for metricName to set. |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QuotaExceededInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QuotaExceededInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
QuotaExceededInfo.Builder |