public static final class UpdateConsumerOverrideRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder> implements UpdateConsumerOverrideRequestOrBuilder
Request message for UpdateConsumerOverride.Protobuf type
google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest| Modifier and Type | Method and Description |
|---|---|
UpdateConsumerOverrideRequest.Builder |
addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)
The list of quota safety checks to ignore before the override mutation.
|
UpdateConsumerOverrideRequest.Builder |
addAllForceOnlyValue(Iterable<Integer> values)
The list of quota safety checks to ignore before the override mutation.
|
UpdateConsumerOverrideRequest.Builder |
addForceOnly(QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateConsumerOverrideRequest.Builder |
addForceOnlyValue(int value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateConsumerOverrideRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateConsumerOverrideRequest |
build() |
UpdateConsumerOverrideRequest |
buildPartial() |
UpdateConsumerOverrideRequest.Builder |
clear() |
UpdateConsumerOverrideRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpdateConsumerOverrideRequest.Builder |
clearForce()
Whether to force the update of the quota override.
|
UpdateConsumerOverrideRequest.Builder |
clearForceOnly()
The list of quota safety checks to ignore before the override mutation.
|
UpdateConsumerOverrideRequest.Builder |
clearName()
The resource name of the override to update.
|
UpdateConsumerOverrideRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpdateConsumerOverrideRequest.Builder |
clearOverride()
The new override.
|
UpdateConsumerOverrideRequest.Builder |
clearUpdateMask()
Update only the specified fields of the override.
|
UpdateConsumerOverrideRequest.Builder |
clone() |
UpdateConsumerOverrideRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForce()
Whether to force the update 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.
|
String |
getName()
The resource name of the override to update.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the override to update.
|
QuotaOverride |
getOverride()
The new override.
|
QuotaOverride.Builder |
getOverrideBuilder()
The new override.
|
QuotaOverrideOrBuilder |
getOverrideOrBuilder()
The new override.
|
com.google.protobuf.FieldMask |
getUpdateMask()
Update only the specified fields of the override.
|
com.google.protobuf.FieldMask.Builder |
getUpdateMaskBuilder()
Update only the specified fields of the override.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Update only the specified fields of the override.
|
boolean |
hasOverride()
The new override.
|
boolean |
hasUpdateMask()
Update only the specified fields of the override.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UpdateConsumerOverrideRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateConsumerOverrideRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateConsumerOverrideRequest.Builder |
mergeFrom(UpdateConsumerOverrideRequest other) |
UpdateConsumerOverrideRequest.Builder |
mergeOverride(QuotaOverride value)
The new override.
|
UpdateConsumerOverrideRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateConsumerOverrideRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Update only the specified fields of the override.
|
UpdateConsumerOverrideRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateConsumerOverrideRequest.Builder |
setForce(boolean value)
Whether to force the update of the quota override.
|
UpdateConsumerOverrideRequest.Builder |
setForceOnly(int index,
QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateConsumerOverrideRequest.Builder |
setForceOnlyValue(int index,
int value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateConsumerOverrideRequest.Builder |
setName(String value)
The resource name of the override to update.
|
UpdateConsumerOverrideRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the override to update.
|
UpdateConsumerOverrideRequest.Builder |
setOverride(QuotaOverride.Builder builderForValue)
The new override.
|
UpdateConsumerOverrideRequest.Builder |
setOverride(QuotaOverride value)
The new override.
|
UpdateConsumerOverrideRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UpdateConsumerOverrideRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateConsumerOverrideRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Update only the specified fields of the override.
|
UpdateConsumerOverrideRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask value)
Update only the specified fields of the override.
|
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<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.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<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpdateConsumerOverrideRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpdateConsumerOverrideRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpdateConsumerOverrideRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.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<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.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<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.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<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.Builder mergeFrom(UpdateConsumerOverrideRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder>public UpdateConsumerOverrideRequest.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<UpdateConsumerOverrideRequest.Builder>IOExceptionpublic String getName()
The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;getName in interface UpdateConsumerOverrideRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;getNameBytes in interface UpdateConsumerOverrideRequestOrBuilderpublic UpdateConsumerOverrideRequest.Builder setName(String value)
The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;value - The name to set.public UpdateConsumerOverrideRequest.Builder clearName()
The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;public UpdateConsumerOverrideRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the override to update. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;value - The bytes for name to set.public boolean hasOverride()
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;hasOverride in interface UpdateConsumerOverrideRequestOrBuilderpublic QuotaOverride getOverride()
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;getOverride in interface UpdateConsumerOverrideRequestOrBuilderpublic UpdateConsumerOverrideRequest.Builder setOverride(QuotaOverride value)
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public UpdateConsumerOverrideRequest.Builder setOverride(QuotaOverride.Builder builderForValue)
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public UpdateConsumerOverrideRequest.Builder mergeOverride(QuotaOverride value)
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public UpdateConsumerOverrideRequest.Builder clearOverride()
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public QuotaOverride.Builder getOverrideBuilder()
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;public QuotaOverrideOrBuilder getOverrideOrBuilder()
The new override. Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;getOverrideOrBuilder in interface UpdateConsumerOverrideRequestOrBuilderpublic boolean getForce()
Whether to force the update 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 UpdateConsumerOverrideRequestOrBuilderpublic UpdateConsumerOverrideRequest.Builder setForce(boolean value)
Whether to force the update 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 UpdateConsumerOverrideRequest.Builder clearForce()
Whether to force the update 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 boolean hasUpdateMask()
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;hasUpdateMask in interface UpdateConsumerOverrideRequestOrBuilderpublic com.google.protobuf.FieldMask getUpdateMask()
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;getUpdateMask in interface UpdateConsumerOverrideRequestOrBuilderpublic UpdateConsumerOverrideRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;public UpdateConsumerOverrideRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;public UpdateConsumerOverrideRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;public UpdateConsumerOverrideRequest.Builder clearUpdateMask()
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;getUpdateMaskOrBuilder in interface UpdateConsumerOverrideRequestOrBuilderpublic 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 = 5;getForceOnlyList in interface UpdateConsumerOverrideRequestOrBuilderpublic 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 = 5;getForceOnlyCount in interface UpdateConsumerOverrideRequestOrBuilderpublic 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 = 5;getForceOnly in interface UpdateConsumerOverrideRequestOrBuilderindex - The index of the element to return.public UpdateConsumerOverrideRequest.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 = 5;index - The index to set the value at.value - The forceOnly to set.public UpdateConsumerOverrideRequest.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 = 5;value - The forceOnly to add.public UpdateConsumerOverrideRequest.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 = 5;values - The forceOnly to add.public UpdateConsumerOverrideRequest.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 = 5;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 = 5;getForceOnlyValueList in interface UpdateConsumerOverrideRequestOrBuilderpublic 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 = 5;getForceOnlyValue in interface UpdateConsumerOverrideRequestOrBuilderindex - The index of the value to return.public UpdateConsumerOverrideRequest.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 = 5;index - The index to set the value at.value - The enum numeric value on the wire for forceOnly to set.public UpdateConsumerOverrideRequest.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 = 5;value - The enum numeric value on the wire for forceOnly to add.public UpdateConsumerOverrideRequest.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 = 5;values - The enum numeric values on the wire for forceOnly to add.public final UpdateConsumerOverrideRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder>public final UpdateConsumerOverrideRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.