public final class UpdateConsumerOverrideRequest extends com.google.protobuf.GeneratedMessageV3 implements UpdateConsumerOverrideRequestOrBuilder
Request message for UpdateConsumerOverride.Protobuf type
google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest| Modifier and Type | Class and Description |
|---|---|
static class |
UpdateConsumerOverrideRequest.Builder
Request message for UpdateConsumerOverride.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FORCE_FIELD_NUMBER |
static int |
FORCE_ONLY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OVERRIDE_FIELD_NUMBER |
static int |
UPDATE_MASK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static UpdateConsumerOverrideRequest |
getDefaultInstance() |
UpdateConsumerOverrideRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
QuotaOverrideOrBuilder |
getOverrideOrBuilder()
The new override.
|
com.google.protobuf.Parser<UpdateConsumerOverrideRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.FieldMask |
getUpdateMask()
Update only the specified fields of the override.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Update only the specified fields of the override.
|
int |
hashCode() |
boolean |
hasOverride()
The new override.
|
boolean |
hasUpdateMask()
Update only the specified fields of the override.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UpdateConsumerOverrideRequest.Builder |
newBuilder() |
static UpdateConsumerOverrideRequest.Builder |
newBuilder(UpdateConsumerOverrideRequest prototype) |
UpdateConsumerOverrideRequest.Builder |
newBuilderForType() |
protected UpdateConsumerOverrideRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UpdateConsumerOverrideRequest |
parseDelimitedFrom(InputStream input) |
static UpdateConsumerOverrideRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateConsumerOverrideRequest |
parseFrom(byte[] data) |
static UpdateConsumerOverrideRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateConsumerOverrideRequest |
parseFrom(ByteBuffer data) |
static UpdateConsumerOverrideRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateConsumerOverrideRequest |
parseFrom(com.google.protobuf.ByteString data) |
static UpdateConsumerOverrideRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateConsumerOverrideRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UpdateConsumerOverrideRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UpdateConsumerOverrideRequest |
parseFrom(InputStream input) |
static UpdateConsumerOverrideRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UpdateConsumerOverrideRequest> |
parser() |
UpdateConsumerOverrideRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 NAME_FIELD_NUMBER
public static final int OVERRIDE_FIELD_NUMBER
public static final int FORCE_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
public static final int FORCE_ONLY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 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 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 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 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 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 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 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 UpdateConsumerOverrideRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateConsumerOverrideRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateConsumerOverrideRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateConsumerOverrideRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateConsumerOverrideRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateConsumerOverrideRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UpdateConsumerOverrideRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static UpdateConsumerOverrideRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UpdateConsumerOverrideRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UpdateConsumerOverrideRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UpdateConsumerOverrideRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UpdateConsumerOverrideRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UpdateConsumerOverrideRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UpdateConsumerOverrideRequest.Builder newBuilder()
public static UpdateConsumerOverrideRequest.Builder newBuilder(UpdateConsumerOverrideRequest prototype)
public UpdateConsumerOverrideRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UpdateConsumerOverrideRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UpdateConsumerOverrideRequest getDefaultInstance()
public static com.google.protobuf.Parser<UpdateConsumerOverrideRequest> parser()
public com.google.protobuf.Parser<UpdateConsumerOverrideRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UpdateConsumerOverrideRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.