public static final class UpdateAdminOverrideRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.Builder> implements UpdateAdminOverrideRequestOrBuilder
Request message for UpdateAdminOverride.Protobuf type
google.api.serviceusage.v1beta1.UpdateAdminOverrideRequest| Modifier and Type | Method and Description |
|---|---|
UpdateAdminOverrideRequest.Builder |
addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)
The list of quota safety checks to ignore before the override mutation.
|
UpdateAdminOverrideRequest.Builder |
addAllForceOnlyValue(Iterable<Integer> values)
The list of quota safety checks to ignore before the override mutation.
|
UpdateAdminOverrideRequest.Builder |
addForceOnly(QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateAdminOverrideRequest.Builder |
addForceOnlyValue(int value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateAdminOverrideRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateAdminOverrideRequest |
build() |
UpdateAdminOverrideRequest |
buildPartial() |
UpdateAdminOverrideRequest.Builder |
clear() |
UpdateAdminOverrideRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UpdateAdminOverrideRequest.Builder |
clearForce()
Whether to force the update of the quota override.
|
UpdateAdminOverrideRequest.Builder |
clearForceOnly()
The list of quota safety checks to ignore before the override mutation.
|
UpdateAdminOverrideRequest.Builder |
clearName()
The resource name of the override to update.
|
UpdateAdminOverrideRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UpdateAdminOverrideRequest.Builder |
clearOverride()
The new override.
|
UpdateAdminOverrideRequest.Builder |
clearUpdateMask()
Update only the specified fields of the override.
|
UpdateAdminOverrideRequest.Builder |
clone() |
UpdateAdminOverrideRequest |
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() |
UpdateAdminOverrideRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UpdateAdminOverrideRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
UpdateAdminOverrideRequest.Builder |
mergeFrom(UpdateAdminOverrideRequest other) |
UpdateAdminOverrideRequest.Builder |
mergeOverride(QuotaOverride value)
The new override.
|
UpdateAdminOverrideRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateAdminOverrideRequest.Builder |
mergeUpdateMask(com.google.protobuf.FieldMask value)
Update only the specified fields of the override.
|
UpdateAdminOverrideRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UpdateAdminOverrideRequest.Builder |
setForce(boolean value)
Whether to force the update of the quota override.
|
UpdateAdminOverrideRequest.Builder |
setForceOnly(int index,
QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateAdminOverrideRequest.Builder |
setForceOnlyValue(int index,
int value)
The list of quota safety checks to ignore before the override mutation.
|
UpdateAdminOverrideRequest.Builder |
setName(String value)
The resource name of the override to update.
|
UpdateAdminOverrideRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the override to update.
|
UpdateAdminOverrideRequest.Builder |
setOverride(QuotaOverride.Builder builderForValue)
The new override.
|
UpdateAdminOverrideRequest.Builder |
setOverride(QuotaOverride value)
The new override.
|
UpdateAdminOverrideRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UpdateAdminOverrideRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UpdateAdminOverrideRequest.Builder |
setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Update only the specified fields of the override.
|
UpdateAdminOverrideRequest.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<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.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<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UpdateAdminOverrideRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UpdateAdminOverrideRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UpdateAdminOverrideRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.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<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.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<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.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<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.Builder mergeFrom(UpdateAdminOverrideRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.Builder>public UpdateAdminOverrideRequest.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<UpdateAdminOverrideRequest.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/adminOverrides/4a3f2c1d`
string name = 1;getName in interface UpdateAdminOverrideRequestOrBuilderpublic 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/adminOverrides/4a3f2c1d`
string name = 1;getNameBytes in interface UpdateAdminOverrideRequestOrBuilderpublic UpdateAdminOverrideRequest.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/adminOverrides/4a3f2c1d`
string name = 1;value - The name to set.public UpdateAdminOverrideRequest.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/adminOverrides/4a3f2c1d`
string name = 1;public UpdateAdminOverrideRequest.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/adminOverrides/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 UpdateAdminOverrideRequestOrBuilderpublic 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 UpdateAdminOverrideRequestOrBuilderpublic UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequestOrBuilderpublic 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 UpdateAdminOverrideRequestOrBuilderpublic UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequestOrBuilderpublic 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 UpdateAdminOverrideRequestOrBuilderpublic UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequestOrBuilderpublic 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 UpdateAdminOverrideRequestOrBuilderpublic 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 UpdateAdminOverrideRequestOrBuilderpublic 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 UpdateAdminOverrideRequestOrBuilderindex - The index of the element to return.public UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequestOrBuilderpublic 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 UpdateAdminOverrideRequestOrBuilderindex - The index of the value to return.public UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.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 UpdateAdminOverrideRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.Builder>public final UpdateAdminOverrideRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateAdminOverrideRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.