public static final class Quota.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder> implements QuotaOrBuilder
A quotas entry.Protobuf type
google.cloud.compute.v1.Quota| Modifier and Type | Method and Description |
|---|---|
Quota.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Quota |
build() |
Quota |
buildPartial() |
Quota.Builder |
clear() |
Quota.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Quota.Builder |
clearLimit()
[Output Only] Quota limit for this metric.
|
Quota.Builder |
clearMetric()
[Output Only] Name of the quota metric.
|
Quota.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Quota.Builder |
clearOwner()
[Output Only] Owning resource.
|
Quota.Builder |
clearUsage()
[Output Only] Current usage of this metric.
|
Quota.Builder |
clone() |
Quota |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getLimit()
[Output Only] Quota limit for this metric.
|
String |
getMetric()
[Output Only] Name of the quota metric.
|
com.google.protobuf.ByteString |
getMetricBytes()
[Output Only] Name of the quota metric.
|
String |
getOwner()
[Output Only] Owning resource.
|
com.google.protobuf.ByteString |
getOwnerBytes()
[Output Only] Owning resource.
|
double |
getUsage()
[Output Only] Current usage of this metric.
|
boolean |
hasLimit()
[Output Only] Quota limit for this metric.
|
boolean |
hasMetric()
[Output Only] Name of the quota metric.
|
boolean |
hasOwner()
[Output Only] Owning resource.
|
boolean |
hasUsage()
[Output Only] Current usage of this metric.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Quota.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Quota.Builder |
mergeFrom(com.google.protobuf.Message other) |
Quota.Builder |
mergeFrom(Quota other) |
Quota.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Quota.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Quota.Builder |
setLimit(double value)
[Output Only] Quota limit for this metric.
|
Quota.Builder |
setMetric(String value)
[Output Only] Name of the quota metric.
|
Quota.Builder |
setMetricBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the quota metric.
|
Quota.Builder |
setOwner(String value)
[Output Only] Owning resource.
|
Quota.Builder |
setOwnerBytes(com.google.protobuf.ByteString value)
[Output Only] Owning resource.
|
Quota.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Quota.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Quota.Builder |
setUsage(double value)
[Output Only] Current usage of this metric.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Quota build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Quota buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Quota.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Quota.Builder>public Quota.Builder mergeFrom(Quota other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public Quota.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Quota.Builder>IOExceptionpublic boolean hasLimit()
[Output Only] Quota limit for this metric.
optional double limit = 102976443;hasLimit in interface QuotaOrBuilderpublic double getLimit()
[Output Only] Quota limit for this metric.
optional double limit = 102976443;getLimit in interface QuotaOrBuilderpublic Quota.Builder setLimit(double value)
[Output Only] Quota limit for this metric.
optional double limit = 102976443;value - The limit to set.public Quota.Builder clearLimit()
[Output Only] Quota limit for this metric.
optional double limit = 102976443;public boolean hasMetric()
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;hasMetric in interface QuotaOrBuilderpublic String getMetric()
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;getMetric in interface QuotaOrBuilderpublic com.google.protobuf.ByteString getMetricBytes()
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;getMetricBytes in interface QuotaOrBuilderpublic 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;value - The metric to set.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;public Quota.Builder setMetricBytes(com.google.protobuf.ByteString value)
[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;value - The bytes for metric to set.public boolean hasOwner()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;hasOwner in interface QuotaOrBuilderpublic String getOwner()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;getOwner in interface QuotaOrBuilderpublic com.google.protobuf.ByteString getOwnerBytes()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;getOwnerBytes in interface QuotaOrBuilderpublic Quota.Builder setOwner(String value)
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;value - The owner to set.public Quota.Builder clearOwner()
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;public Quota.Builder setOwnerBytes(com.google.protobuf.ByteString value)
[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;value - The bytes for owner to set.public boolean hasUsage()
[Output Only] Current usage of this metric.
optional double usage = 111574433;hasUsage in interface QuotaOrBuilderpublic double getUsage()
[Output Only] Current usage of this metric.
optional double usage = 111574433;getUsage in interface QuotaOrBuilderpublic Quota.Builder setUsage(double value)
[Output Only] Current usage of this metric.
optional double usage = 111574433;value - The usage to set.public Quota.Builder clearUsage()
[Output Only] Current usage of this metric.
optional double usage = 111574433;public final Quota.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>public final Quota.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Quota.Builder>Copyright © 2023 Google LLC. All rights reserved.