public final class UpdateQuotaPreferenceRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateQuotaPreferenceRequestOrBuilder
Message for updating a QuotaPreferenceProtobuf type
google.api.cloudquotas.v1beta.UpdateQuotaPreferenceRequest| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateQuotaPreferenceRequest.Builder
Message for updating a QuotaPreference
Protobuf type
google.api.cloudquotas.v1beta.UpdateQuotaPreferenceRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOW_MISSING_FIELD_NUMBER |
static int |
IGNORE_SAFETY_CHECKS_FIELD_NUMBER |
static int |
QUOTA_PREFERENCE_FIELD_NUMBER |
static int |
UPDATE_MASK_FIELD_NUMBER |
static int |
VALIDATE_ONLY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowMissing()
Optional.
|
static UpdateQuotaPreferenceRequest |
getDefaultInstance() |
UpdateQuotaPreferenceRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
QuotaSafetyCheck |
getIgnoreSafetyChecks(int index)
The list of quota safety checks to be ignored.
|
int |
getIgnoreSafetyChecksCount()
The list of quota safety checks to be ignored.
|
List<QuotaSafetyCheck> |
getIgnoreSafetyChecksList()
The list of quota safety checks to be ignored.
|
int |
getIgnoreSafetyChecksValue(int index)
The list of quota safety checks to be ignored.
|
List<Integer> |
getIgnoreSafetyChecksValueList()
The list of quota safety checks to be ignored.
|
com.google.protobuf.Parser<UpdateQuotaPreferenceRequest> |
getParserForType() |
QuotaPreference |
getQuotaPreference()
Required.
|
QuotaPreferenceOrBuilder |
getQuotaPreferenceOrBuilder()
Required.
|
int |
getSerializedSize() |
com.google.protobuf.FieldMask |
getUpdateMask()
Optional.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Optional.
|
boolean |
getValidateOnly()
Optional.
|
int |
hashCode() |
boolean |
hasQuotaPreference()
Required.
|
boolean |
hasUpdateMask()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UpdateQuotaPreferenceRequest.Builder |
newBuilder() |
static UpdateQuotaPreferenceRequest.Builder |
newBuilder(UpdateQuotaPreferenceRequest prototype) |
UpdateQuotaPreferenceRequest.Builder |
newBuilderForType() |
protected UpdateQuotaPreferenceRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UpdateQuotaPreferenceRequest |
parseDelimitedFrom(InputStream input) |
static UpdateQuotaPreferenceRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateQuotaPreferenceRequest |
parseFrom(byte[] data) |
static UpdateQuotaPreferenceRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateQuotaPreferenceRequest |
parseFrom(ByteBuffer data) |
static UpdateQuotaPreferenceRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateQuotaPreferenceRequest |
parseFrom(com.google.protobuf.ByteString data) |
static UpdateQuotaPreferenceRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateQuotaPreferenceRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UpdateQuotaPreferenceRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateQuotaPreferenceRequest |
parseFrom(InputStream input) |
static UpdateQuotaPreferenceRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UpdateQuotaPreferenceRequest> |
parser() |
UpdateQuotaPreferenceRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int UPDATE_MASK_FIELD_NUMBER
public static final int QUOTA_PREFERENCE_FIELD_NUMBER
public static final int ALLOW_MISSING_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
public static final int IGNORE_SAFETY_CHECKS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
hasUpdateMask in interface UpdateQuotaPreferenceRequestOrBuilderpublic com.google.protobuf.FieldMask getUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMask in interface UpdateQuotaPreferenceRequestOrBuilderpublic com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the QuotaPreference resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder in interface UpdateQuotaPreferenceRequestOrBuilderpublic boolean hasQuotaPreference()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
hasQuotaPreference in interface UpdateQuotaPreferenceRequestOrBuilderpublic QuotaPreference getQuotaPreference()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
getQuotaPreference in interface UpdateQuotaPreferenceRequestOrBuilderpublic QuotaPreferenceOrBuilder getQuotaPreferenceOrBuilder()
Required. The resource being updated
.google.api.cloudquotas.v1beta.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
getQuotaPreferenceOrBuilder in interface UpdateQuotaPreferenceRequestOrBuilderpublic boolean getAllowMissing()
Optional. If set to true, and the quota preference is not found, a new one will be created. In this situation, `update_mask` is ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];getAllowMissing in interface UpdateQuotaPreferenceRequestOrBuilderpublic boolean getValidateOnly()
Optional. If set to true, validate the request, but do not actually update. Note that a request being valid does not mean that the request is guaranteed to be fulfilled.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];getValidateOnly in interface UpdateQuotaPreferenceRequestOrBuilderpublic List<QuotaSafetyCheck> getIgnoreSafetyChecksList()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;getIgnoreSafetyChecksList in interface UpdateQuotaPreferenceRequestOrBuilderpublic int getIgnoreSafetyChecksCount()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;getIgnoreSafetyChecksCount in interface UpdateQuotaPreferenceRequestOrBuilderpublic QuotaSafetyCheck getIgnoreSafetyChecks(int index)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;getIgnoreSafetyChecks in interface UpdateQuotaPreferenceRequestOrBuilderindex - The index of the element to return.public List<Integer> getIgnoreSafetyChecksValueList()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;getIgnoreSafetyChecksValueList in interface UpdateQuotaPreferenceRequestOrBuilderpublic int getIgnoreSafetyChecksValue(int index)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1beta.QuotaSafetyCheck ignore_safety_checks = 5;getIgnoreSafetyChecksValue in interface UpdateQuotaPreferenceRequestOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UpdateQuotaPreferenceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UpdateQuotaPreferenceRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UpdateQuotaPreferenceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UpdateQuotaPreferenceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UpdateQuotaPreferenceRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UpdateQuotaPreferenceRequest.Builder newBuilder()
public static UpdateQuotaPreferenceRequest.Builder newBuilder(UpdateQuotaPreferenceRequest prototype)
public UpdateQuotaPreferenceRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UpdateQuotaPreferenceRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UpdateQuotaPreferenceRequest getDefaultInstance()
public static com.google.protobuf.Parser<UpdateQuotaPreferenceRequest> parser()
public com.google.protobuf.Parser<UpdateQuotaPreferenceRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UpdateQuotaPreferenceRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.