public final class UpdateConsumerOverrideRequest extends GeneratedMessageV3 implements UpdateConsumerOverrideRequestOrBuilder
Request message for UpdateConsumerOverride.
Protobuf type google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
FORCE_FIELD_NUMBER
public static final int FORCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FORCE_ONLY_FIELD_NUMBER
public static final int FORCE_ONLY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OVERRIDE_FIELD_NUMBER
public static final int OVERRIDE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UpdateConsumerOverrideRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateConsumerOverrideRequest.Builder newBuilder()
newBuilder(UpdateConsumerOverrideRequest prototype)
public static UpdateConsumerOverrideRequest.Builder newBuilder(UpdateConsumerOverrideRequest prototype)
public static UpdateConsumerOverrideRequest parseDelimitedFrom(InputStream input)
public static UpdateConsumerOverrideRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateConsumerOverrideRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateConsumerOverrideRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateConsumerOverrideRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateConsumerOverrideRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateConsumerOverrideRequest parseFrom(CodedInputStream input)
public static UpdateConsumerOverrideRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateConsumerOverrideRequest parseFrom(InputStream input)
public static UpdateConsumerOverrideRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateConsumerOverrideRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateConsumerOverrideRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateConsumerOverrideRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public UpdateConsumerOverrideRequest getDefaultInstanceForType()
getForce()
public 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;
Returns |
---|
Type | Description |
boolean | The force.
|
getForceOnly(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
getForceOnlyCount()
public 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;
Returns |
---|
Type | Description |
int | The count of forceOnly.
|
getForceOnlyList()
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 = 5;
getForceOnlyValue(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
int | The enum numeric value on the wire of forceOnly at the given index.
|
getForceOnlyValueList()
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;
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for forceOnly.
|
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;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getOverride()
public QuotaOverride getOverride()
The new override.
Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
getOverrideOrBuilder()
public QuotaOverrideOrBuilder getOverrideOrBuilder()
The new override.
Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
getParserForType()
public Parser<UpdateConsumerOverrideRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Update only the specified fields of the override.
If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Update only the specified fields of the override.
If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;
hasOverride()
public boolean hasOverride()
The new override.
Only the override_value is updated; all other fields are ignored.
.google.api.serviceusage.v1beta1.QuotaOverride override = 2;
Returns |
---|
Type | Description |
boolean | Whether the override field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Update only the specified fields of the override.
If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateConsumerOverrideRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateConsumerOverrideRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateConsumerOverrideRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides