public static final class QuotaExceededInfo.Builder extends GeneratedMessageV3.Builder<QuotaExceededInfo.Builder> implements QuotaExceededInfoOrBuilderAdditional 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()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QuotaExceededInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| QuotaExceededInfo.Builder |
build()
public QuotaExceededInfo build()| Type | Description |
| QuotaExceededInfo |
buildPartial()
public QuotaExceededInfo buildPartial()| Type | Description |
| QuotaExceededInfo |
clear()
public QuotaExceededInfo.Builder clear()| Type | Description |
| QuotaExceededInfo.Builder |
clearDimensions()
public QuotaExceededInfo.Builder clearDimensions()| Type | Description |
| QuotaExceededInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public QuotaExceededInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| 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;
| Type | Description |
| QuotaExceededInfo.Builder | This builder for chaining. |
clearLimitName()
public QuotaExceededInfo.Builder clearLimitName()The name of the quota limit.
optional string limit_name = 398197903;
| Type | Description |
| QuotaExceededInfo.Builder | This builder for chaining. |
clearMetricName()
public QuotaExceededInfo.Builder clearMetricName()The Compute Engine quota metric name.
optional string metric_name = 409881530;
| Type | Description |
| QuotaExceededInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public QuotaExceededInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| QuotaExceededInfo.Builder |
clone()
public QuotaExceededInfo.Builder clone()| Type | Description |
| QuotaExceededInfo.Builder |
containsDimensions(String key)
public boolean containsDimensions(String key)The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getDefaultInstanceForType()
public QuotaExceededInfo getDefaultInstanceForType()| Type | Description |
| QuotaExceededInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getDimensions()
public Map<String,String> getDimensions()Use #getDimensionsMap() instead.
| Type | Description |
| Map<String,String> |
getDimensionsCount()
public int getDimensionsCount()The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
| Type | Description |
| int |
getDimensionsMap()
public Map<String,String> getDimensionsMap()The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
| 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;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getDimensionsOrThrow(String key)
public String getDimensionsOrThrow(String key)The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
| Name | Description |
| key | String |
| 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;
| Type | Description |
| double | The limit. |
getLimitName()
public String getLimitName()The name of the quota limit.
optional string limit_name = 398197903;
| Type | Description |
| String | The limitName. |
getLimitNameBytes()
public ByteString getLimitNameBytes()The name of the quota limit.
optional string limit_name = 398197903;
| Type | Description |
| ByteString | The bytes for limitName. |
getMetricName()
public String getMetricName()The Compute Engine quota metric name.
optional string metric_name = 409881530;
| Type | Description |
| String | The metricName. |
getMetricNameBytes()
public ByteString getMetricNameBytes()The Compute Engine quota metric name.
optional string metric_name = 409881530;
| Type | Description |
| ByteString | The bytes for metricName. |
getMutableDimensions()
public Map<String,String> getMutableDimensions()Use alternate mutation accessors instead.
| 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;
| Type | Description |
| boolean | Whether the limit field is set. |
hasLimitName()
public boolean hasLimitName()The name of the quota limit.
optional string limit_name = 398197903;
| Type | Description |
| boolean | Whether the limitName field is set. |
hasMetricName()
public boolean hasMetricName()The Compute Engine quota metric name.
optional string metric_name = 409881530;
| Type | Description |
| boolean | Whether the metricName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(QuotaExceededInfo other)
public QuotaExceededInfo.Builder mergeFrom(QuotaExceededInfo other)| Name | Description |
| other | QuotaExceededInfo |
| Type | Description |
| QuotaExceededInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QuotaExceededInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| QuotaExceededInfo.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public QuotaExceededInfo.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| QuotaExceededInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QuotaExceededInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| 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;
| Name | Description |
| values | Map<String,String> |
| 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;
| Name | Description |
| key | String |
| value | String |
| Type | Description |
| QuotaExceededInfo.Builder |
removeDimensions(String key)
public QuotaExceededInfo.Builder removeDimensions(String key)The map holding related quota dimensions.
map<string, string> dimensions = 414334925;
| Name | Description |
| key | String |
| Type | Description |
| QuotaExceededInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public QuotaExceededInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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;
| Name | Description |
| value | doubleThe limit to set. |
| 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;
| Name | Description |
| value | StringThe limitName to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for limitName to set. |
| 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;
| Name | Description |
| value | StringThe metricName to set. |
| 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;
| Name | Description |
| value | ByteStringThe bytes for metricName to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| QuotaExceededInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final QuotaExceededInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| QuotaExceededInfo.Builder |