- 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 Quota.Builder extends GeneratedMessageV3.Builder<Quota.Builder> implements QuotaOrBuilder
A quotas entry.
Protobuf type google.cloud.compute.v1.Quota
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Quota.BuilderImplements
QuotaOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Quota.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Quota.Builder |
build()
public Quota build()
Type | Description |
Quota |
buildPartial()
public Quota buildPartial()
Type | Description |
Quota |
clear()
public Quota.Builder clear()
Type | Description |
Quota.Builder |
clearField(Descriptors.FieldDescriptor field)
public Quota.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Quota.Builder |
clearLimit()
public Quota.Builder clearLimit()
[Output Only] Quota limit for this metric.
optional double limit = 102976443;
Type | Description |
Quota.Builder | This builder for chaining. |
clearMetric()
public Quota.Builder clearMetric()
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;
Type | Description |
Quota.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Quota.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Quota.Builder |
clearOwner()
public Quota.Builder clearOwner()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;
Type | Description |
Quota.Builder | This builder for chaining. |
clearUsage()
public Quota.Builder clearUsage()
[Output Only] Current usage of this metric.
optional double usage = 111574433;
Type | Description |
Quota.Builder | This builder for chaining. |
clone()
public Quota.Builder clone()
Type | Description |
Quota.Builder |
getDefaultInstanceForType()
public Quota getDefaultInstanceForType()
Type | Description |
Quota |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLimit()
public double getLimit()
[Output Only] Quota limit for this metric.
optional double limit = 102976443;
Type | Description |
double | The limit. |
getMetric()
public String getMetric()
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;
Type | Description |
String | The metric. |
getMetricBytes()
public ByteString getMetricBytes()
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;
Type | Description |
ByteString | The bytes for metric. |
getOwner()
public String getOwner()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;
Type | Description |
String | The owner. |
getOwnerBytes()
public ByteString getOwnerBytes()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;
Type | Description |
ByteString | The bytes for owner. |
getUsage()
public double getUsage()
[Output Only] Current usage of this metric.
optional double usage = 111574433;
Type | Description |
double | The usage. |
hasLimit()
public boolean hasLimit()
[Output Only] Quota limit for this metric.
optional double limit = 102976443;
Type | Description |
boolean | Whether the limit field is set. |
hasMetric()
public boolean hasMetric()
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;
Type | Description |
boolean | Whether the metric field is set. |
hasOwner()
public boolean hasOwner()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;
Type | Description |
boolean | Whether the owner field is set. |
hasUsage()
public boolean hasUsage()
[Output Only] Current usage of this metric.
optional double usage = 111574433;
Type | Description |
boolean | Whether the usage field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Quota other)
public Quota.Builder mergeFrom(Quota other)
Name | Description |
other | Quota |
Type | Description |
Quota.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Quota.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Quota.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Quota.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Quota.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Quota.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Quota.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Quota.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Quota.Builder |
setLimit(double value)
public Quota.Builder setLimit(double value)
[Output Only] Quota limit for this metric.
optional double limit = 102976443;
Name | Description |
value | double The limit to set. |
Type | Description |
Quota.Builder | This builder for chaining. |
setMetric(String value)
public Quota.Builder setMetric(String value)
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;
Name | Description |
value | String The metric to set. |
Type | Description |
Quota.Builder | This builder for chaining. |
setMetricBytes(ByteString value)
public Quota.Builder setMetricBytes(ByteString value)
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;
Name | Description |
value | ByteString The bytes for metric to set. |
Type | Description |
Quota.Builder | This builder for chaining. |
setOwner(String value)
public Quota.Builder setOwner(String value)
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;
Name | Description |
value | String The owner to set. |
Type | Description |
Quota.Builder | This builder for chaining. |
setOwnerBytes(ByteString value)
public Quota.Builder setOwnerBytes(ByteString value)
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;
Name | Description |
value | ByteString The bytes for owner to set. |
Type | Description |
Quota.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Quota.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Quota.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Quota.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Quota.Builder |
setUsage(double value)
public Quota.Builder setUsage(double value)
[Output Only] Current usage of this metric.
optional double usage = 111574433;
Name | Description |
value | double The usage to set. |
Type | Description |
Quota.Builder | This builder for chaining. |