- 0.50.0 (latest)
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Quota.Builder extends GeneratedMessageV3.Builder<Quota.Builder> implements QuotaOrBuilder
Represents quota for Edge Container resources.
Protobuf type google.cloud.edgecontainer.v1.Quota
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Quota.BuilderImplements
QuotaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
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()
Quota limit for this metric.
double limit = 2;
Type | Description |
Quota.Builder | This builder for chaining. |
clearMetric()
public Quota.Builder clearMetric()
Name of the quota metric.
string metric = 1;
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 |
clearUsage()
public Quota.Builder clearUsage()
Current usage of this metric.
double usage = 3;
Type | Description |
Quota.Builder | This builder for chaining. |
clone()
public Quota.Builder clone()
Type | Description |
Quota.Builder |
getDefaultInstanceForType()
public Quota getDefaultInstanceForType()
Type | Description |
Quota |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLimit()
public double getLimit()
Quota limit for this metric.
double limit = 2;
Type | Description |
double | The limit. |
getMetric()
public String getMetric()
Name of the quota metric.
string metric = 1;
Type | Description |
String | The metric. |
getMetricBytes()
public ByteString getMetricBytes()
Name of the quota metric.
string metric = 1;
Type | Description |
ByteString | The bytes for metric. |
getUsage()
public double getUsage()
Current usage of this metric.
double usage = 3;
Type | Description |
double | The usage. |
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)
Quota limit for this metric.
double limit = 2;
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)
Name of the quota metric.
string metric = 1;
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)
Name of the quota metric.
string metric = 1;
Name | Description |
value | ByteString The bytes for metric 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)
Current usage of this metric.
double usage = 3;
Name | Description |
value | double The usage to set. |
Type | Description |
Quota.Builder | This builder for chaining. |