- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.8
public static final class UpdateConsumerOverrideRequest.Builder extends GeneratedMessageV3.Builder<UpdateConsumerOverrideRequest.Builder> implements UpdateConsumerOverrideRequestOrBuilder
Request message for UpdateConsumerOverride.
Protobuf type google.api.serviceusage.v1beta1.UpdateConsumerOverrideRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateConsumerOverrideRequest.BuilderImplements
UpdateConsumerOverrideRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)
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;
Name | Description |
values | Iterable<? extends com.google.api.serviceusage.v1beta1.QuotaSafetyCheck> The forceOnly to add. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
addAllForceOnlyValue(Iterable<Integer> values)
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;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for forceOnly to add. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
addForceOnly(QuotaSafetyCheck value)
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;
Name | Description |
value | QuotaSafetyCheck The forceOnly to add. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
addForceOnlyValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for forceOnly to add. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateConsumerOverrideRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
build()
public UpdateConsumerOverrideRequest build()
Type | Description |
UpdateConsumerOverrideRequest |
buildPartial()
public UpdateConsumerOverrideRequest buildPartial()
Type | Description |
UpdateConsumerOverrideRequest |
clear()
public UpdateConsumerOverrideRequest.Builder clear()
Type | Description |
UpdateConsumerOverrideRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateConsumerOverrideRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
clearForce()
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;
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
clearForceOnly()
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;
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
clearName()
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;
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateConsumerOverrideRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
clearOverride()
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;
Type | Description |
UpdateConsumerOverrideRequest.Builder |
clearUpdateMask()
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;
Type | Description |
UpdateConsumerOverrideRequest.Builder |
clone()
public UpdateConsumerOverrideRequest.Builder clone()
Type | Description |
UpdateConsumerOverrideRequest.Builder |
getDefaultInstanceForType()
public UpdateConsumerOverrideRequest getDefaultInstanceForType()
Type | Description |
UpdateConsumerOverrideRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
QuotaSafetyCheck | The forceOnly at the given index. |
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;
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;
Type | Description |
List<QuotaSafetyCheck> | A list containing the forceOnly. |
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;
Name | Description |
index | int The index of the value to return. |
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;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for forceOnly. |
getName()
public 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;
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;
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;
Type | Description |
QuotaOverride | The override. |
getOverrideBuilder()
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;
Type | Description |
QuotaOverride.Builder |
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;
Type | Description |
QuotaOverrideOrBuilder |
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;
Type | Description |
FieldMask | The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;
Type | Description |
Builder |
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;
Type | Description |
FieldMaskOrBuilder |
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;
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;
Type | Description |
boolean | Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(UpdateConsumerOverrideRequest other)
public UpdateConsumerOverrideRequest.Builder mergeFrom(UpdateConsumerOverrideRequest other)
Name | Description |
other | UpdateConsumerOverrideRequest |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateConsumerOverrideRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateConsumerOverrideRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
mergeOverride(QuotaOverride value)
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;
Name | Description |
value | QuotaOverride |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConsumerOverrideRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
mergeUpdateMask(FieldMask value)
public UpdateConsumerOverrideRequest.Builder mergeUpdateMask(FieldMask value)
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;
Name | Description |
value | FieldMask |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateConsumerOverrideRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
setForce(boolean value)
public 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;
Name | Description |
value | boolean The force to set. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
setForceOnly(int index, QuotaSafetyCheck value)
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;
Name | Description |
index | int The index to set the value at. |
value | QuotaSafetyCheck The forceOnly to set. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
setForceOnlyValue(int index, int value)
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;
Name | Description |
index | int The index of the value to return. |
value | int |
Type | Description |
UpdateConsumerOverrideRequest.Builder | The enum numeric value on the wire of forceOnly at the given index. |
setName(String value)
public 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;
Name | Description |
value | String The name to set. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public UpdateConsumerOverrideRequest.Builder setNameBytes(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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
UpdateConsumerOverrideRequest.Builder | This builder for chaining. |
setOverride(QuotaOverride value)
public 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;
Name | Description |
value | QuotaOverride |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
setOverride(QuotaOverride.Builder builderForValue)
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;
Name | Description |
builderForValue | QuotaOverride.Builder |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateConsumerOverrideRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateConsumerOverrideRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
setUpdateMask(FieldMask value)
public UpdateConsumerOverrideRequest.Builder setUpdateMask(FieldMask value)
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;
Name | Description |
value | FieldMask |
Type | Description |
UpdateConsumerOverrideRequest.Builder |
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateConsumerOverrideRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Update only the specified fields of the override. If unset, all fields will be updated.
.google.protobuf.FieldMask update_mask = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
UpdateConsumerOverrideRequest.Builder |