public static final class CreateConsumerOverrideRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.Builder> implements CreateConsumerOverrideRequestOrBuilder
Request message for CreateConsumerOverride.Protobuf type
google.api.serviceusage.v1beta1.CreateConsumerOverrideRequest| Modifier and Type | Method and Description |
|---|---|
CreateConsumerOverrideRequest.Builder |
addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)
The list of quota safety checks to ignore before the override mutation.
|
CreateConsumerOverrideRequest.Builder |
addAllForceOnlyValue(Iterable<Integer> values)
The list of quota safety checks to ignore before the override mutation.
|
CreateConsumerOverrideRequest.Builder |
addForceOnly(QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
CreateConsumerOverrideRequest.Builder |
addForceOnlyValue(int value)
The list of quota safety checks to ignore before the override mutation.
|
CreateConsumerOverrideRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateConsumerOverrideRequest |
build() |
CreateConsumerOverrideRequest |
buildPartial() |
CreateConsumerOverrideRequest.Builder |
clear() |
CreateConsumerOverrideRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateConsumerOverrideRequest.Builder |
clearForce()
Whether to force the creation of the quota override.
|
CreateConsumerOverrideRequest.Builder |
clearForceOnly()
The list of quota safety checks to ignore before the override mutation.
|
CreateConsumerOverrideRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateConsumerOverrideRequest.Builder |
clearOverride()
The override to create.
|
CreateConsumerOverrideRequest.Builder |
clearParent()
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
CreateConsumerOverrideRequest.Builder |
clone() |
CreateConsumerOverrideRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForce()
Whether to force the creation of the quota override.
|
QuotaSafetyCheck |
getForceOnly(int index)
The list of quota safety checks to ignore before the override mutation.
|
int |
getForceOnlyCount()
The list of quota safety checks to ignore before the override mutation.
|
List<QuotaSafetyCheck> |
getForceOnlyList()
The list of quota safety checks to ignore before the override mutation.
|
int |
getForceOnlyValue(int index)
The list of quota safety checks to ignore before the override mutation.
|
List<Integer> |
getForceOnlyValueList()
The list of quota safety checks to ignore before the override mutation.
|
QuotaOverride |
getOverride()
The override to create.
|
QuotaOverride.Builder |
getOverrideBuilder()
The override to create.
|
QuotaOverrideOrBuilder |
getOverrideOrBuilder()
The override to create.
|
String |
getParent()
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
com.google.protobuf.ByteString |
getParentBytes()
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
boolean |
hasOverride()
The override to create.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateConsumerOverrideRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateConsumerOverrideRequest.Builder |
mergeFrom(CreateConsumerOverrideRequest other) |
CreateConsumerOverrideRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateConsumerOverrideRequest.Builder |
mergeOverride(QuotaOverride value)
The override to create.
|
CreateConsumerOverrideRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateConsumerOverrideRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateConsumerOverrideRequest.Builder |
setForce(boolean value)
Whether to force the creation of the quota override.
|
CreateConsumerOverrideRequest.Builder |
setForceOnly(int index,
QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
CreateConsumerOverrideRequest.Builder |
setForceOnlyValue(int index,
int value)
The list of quota safety checks to ignore before the override mutation.
|
CreateConsumerOverrideRequest.Builder |
setOverride(QuotaOverride.Builder builderForValue)
The override to create.
|
CreateConsumerOverrideRequest.Builder |
setOverride(QuotaOverride value)
The override to create.
|
CreateConsumerOverrideRequest.Builder |
setParent(String value)
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
CreateConsumerOverrideRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
The resource name of the parent quota limit, returned by a
ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
CreateConsumerOverrideRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateConsumerOverrideRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.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<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateConsumerOverrideRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateConsumerOverrideRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateConsumerOverrideRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.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<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.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<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.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<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.Builder mergeFrom(CreateConsumerOverrideRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.Builder>public CreateConsumerOverrideRequest.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<CreateConsumerOverrideRequest.Builder>IOExceptionpublic String getParent()
The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
string parent = 1;getParent in interface CreateConsumerOverrideRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
string parent = 1;getParentBytes in interface CreateConsumerOverrideRequestOrBuilderpublic CreateConsumerOverrideRequest.Builder setParent(String value)
The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
string parent = 1;value - The parent to set.public CreateConsumerOverrideRequest.Builder clearParent()
The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
string parent = 1;public CreateConsumerOverrideRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
string parent = 1;value - The bytes for parent to set.public boolean hasOverride()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;hasOverride in interface CreateConsumerOverrideRequestOrBuilderpublic QuotaOverride getOverride()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;getOverride in interface CreateConsumerOverrideRequestOrBuilderpublic CreateConsumerOverrideRequest.Builder setOverride(QuotaOverride value)
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public CreateConsumerOverrideRequest.Builder setOverride(QuotaOverride.Builder builderForValue)
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public CreateConsumerOverrideRequest.Builder mergeOverride(QuotaOverride value)
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public CreateConsumerOverrideRequest.Builder clearOverride()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public QuotaOverride.Builder getOverrideBuilder()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public QuotaOverrideOrBuilder getOverrideOrBuilder()
The override to create.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;getOverrideOrBuilder in interface CreateConsumerOverrideRequestOrBuilderpublic boolean getForce()
Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
bool force = 3;getForce in interface CreateConsumerOverrideRequestOrBuilderpublic CreateConsumerOverrideRequest.Builder setForce(boolean value)
Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
bool force = 3;value - The force to set.public CreateConsumerOverrideRequest.Builder clearForce()
Whether to force the creation of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
bool force = 3;public List<QuotaSafetyCheck> getForceOnlyList()
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;getForceOnlyList in interface CreateConsumerOverrideRequestOrBuilderpublic int getForceOnlyCount()
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;getForceOnlyCount in interface CreateConsumerOverrideRequestOrBuilderpublic QuotaSafetyCheck getForceOnly(int index)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;getForceOnly in interface CreateConsumerOverrideRequestOrBuilderindex - The index of the element to return.public CreateConsumerOverrideRequest.Builder setForceOnly(int index, QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;index - The index to set the value at.value - The forceOnly to set.public CreateConsumerOverrideRequest.Builder addForceOnly(QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;value - The forceOnly to add.public CreateConsumerOverrideRequest.Builder addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;values - The forceOnly to add.public CreateConsumerOverrideRequest.Builder clearForceOnly()
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;public List<Integer> getForceOnlyValueList()
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;getForceOnlyValueList in interface CreateConsumerOverrideRequestOrBuilderpublic int getForceOnlyValue(int index)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;getForceOnlyValue in interface CreateConsumerOverrideRequestOrBuilderindex - The index of the value to return.public CreateConsumerOverrideRequest.Builder setForceOnlyValue(int index, int value)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;index - The index to set the value at.value - The enum numeric value on the wire for forceOnly to set.public CreateConsumerOverrideRequest.Builder addForceOnlyValue(int value)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;value - The enum numeric value on the wire for forceOnly to add.public CreateConsumerOverrideRequest.Builder addAllForceOnlyValue(Iterable<Integer> values)
The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.
repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 4;values - The enum numeric values on the wire for forceOnly to add.public final CreateConsumerOverrideRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.Builder>public final CreateConsumerOverrideRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateConsumerOverrideRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.