Class DeleteConsumerOverrideRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
- com.google.api.serviceusage.v1beta1.DeleteConsumerOverrideRequest.Builder
-
- All Implemented Interfaces:
DeleteConsumerOverrideRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeleteConsumerOverrideRequest
public static final class DeleteConsumerOverrideRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder> implements DeleteConsumerOverrideRequestOrBuilder
Request message for DeleteConsumerOverride.
Protobuf typegoogle.api.serviceusage.v1beta1.DeleteConsumerOverrideRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteConsumerOverrideRequest.BuilderaddAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)The list of quota safety checks to ignore before the override mutation.DeleteConsumerOverrideRequest.BuilderaddAllForceOnlyValue(Iterable<Integer> values)The list of quota safety checks to ignore before the override mutation.DeleteConsumerOverrideRequest.BuilderaddForceOnly(QuotaSafetyCheck value)The list of quota safety checks to ignore before the override mutation.DeleteConsumerOverrideRequest.BuilderaddForceOnlyValue(int value)The list of quota safety checks to ignore before the override mutation.DeleteConsumerOverrideRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeleteConsumerOverrideRequestbuild()DeleteConsumerOverrideRequestbuildPartial()DeleteConsumerOverrideRequest.Builderclear()DeleteConsumerOverrideRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DeleteConsumerOverrideRequest.BuilderclearForce()Whether to force the deletion of the quota override.DeleteConsumerOverrideRequest.BuilderclearForceOnly()The list of quota safety checks to ignore before the override mutation.DeleteConsumerOverrideRequest.BuilderclearName()The resource name of the override to delete.DeleteConsumerOverrideRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DeleteConsumerOverrideRequest.Builderclone()DeleteConsumerOverrideRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetForce()Whether to force the deletion of the quota override.QuotaSafetyCheckgetForceOnly(int index)The list of quota safety checks to ignore before the override mutation.intgetForceOnlyCount()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.intgetForceOnlyValue(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.StringgetName()The resource name of the override to delete.com.google.protobuf.ByteStringgetNameBytes()The resource name of the override to delete.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DeleteConsumerOverrideRequest.BuildermergeFrom(DeleteConsumerOverrideRequest other)DeleteConsumerOverrideRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DeleteConsumerOverrideRequest.BuildermergeFrom(com.google.protobuf.Message other)DeleteConsumerOverrideRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DeleteConsumerOverrideRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeleteConsumerOverrideRequest.BuildersetForce(boolean value)Whether to force the deletion of the quota override.DeleteConsumerOverrideRequest.BuildersetForceOnly(int index, QuotaSafetyCheck value)The list of quota safety checks to ignore before the override mutation.DeleteConsumerOverrideRequest.BuildersetForceOnlyValue(int index, int value)The list of quota safety checks to ignore before the override mutation.DeleteConsumerOverrideRequest.BuildersetName(String value)The resource name of the override to delete.DeleteConsumerOverrideRequest.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the override to delete.DeleteConsumerOverrideRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DeleteConsumerOverrideRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
clear
public DeleteConsumerOverrideRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
getDefaultInstanceForType
public DeleteConsumerOverrideRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeleteConsumerOverrideRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeleteConsumerOverrideRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeleteConsumerOverrideRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
setField
public DeleteConsumerOverrideRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
clearField
public DeleteConsumerOverrideRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
clearOneof
public DeleteConsumerOverrideRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
setRepeatedField
public DeleteConsumerOverrideRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
addRepeatedField
public DeleteConsumerOverrideRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
mergeFrom
public DeleteConsumerOverrideRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeleteConsumerOverrideRequest.Builder>
-
mergeFrom
public DeleteConsumerOverrideRequest.Builder mergeFrom(DeleteConsumerOverrideRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
mergeFrom
public DeleteConsumerOverrideRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeleteConsumerOverrideRequest.Builder>- Throws:
IOException
-
getName
public String getName()
The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;- Specified by:
getNamein interfaceDeleteConsumerOverrideRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;- Specified by:
getNameBytesin interfaceDeleteConsumerOverrideRequestOrBuilder- Returns:
- The bytes for name.
-
setName
public DeleteConsumerOverrideRequest.Builder setName(String value)
The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DeleteConsumerOverrideRequest.Builder clearName()
The resource name of the override to delete. 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:
- This builder for chaining.
-
setNameBytes
public DeleteConsumerOverrideRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the override to delete. An example name would be: `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getForce
public boolean getForce()
Whether to force the deletion 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 = 2;- Specified by:
getForcein interfaceDeleteConsumerOverrideRequestOrBuilder- Returns:
- The force.
-
setForce
public DeleteConsumerOverrideRequest.Builder setForce(boolean value)
Whether to force the deletion 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 = 2;- Parameters:
value- The force to set.- Returns:
- This builder for chaining.
-
clearForce
public DeleteConsumerOverrideRequest.Builder clearForce()
Whether to force the deletion 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 = 2;- Returns:
- This builder for chaining.
-
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 = 3;- Specified by:
getForceOnlyListin interfaceDeleteConsumerOverrideRequestOrBuilder- Returns:
- A list containing the forceOnly.
-
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 = 3;- Specified by:
getForceOnlyCountin interfaceDeleteConsumerOverrideRequestOrBuilder- Returns:
- The count of forceOnly.
-
getForceOnly
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 = 3;- Specified by:
getForceOnlyin interfaceDeleteConsumerOverrideRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The forceOnly at the given index.
-
setForceOnly
public DeleteConsumerOverrideRequest.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 = 3;- Parameters:
index- The index to set the value at.value- The forceOnly to set.- Returns:
- This builder for chaining.
-
addForceOnly
public DeleteConsumerOverrideRequest.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 = 3;- Parameters:
value- The forceOnly to add.- Returns:
- This builder for chaining.
-
addAllForceOnly
public DeleteConsumerOverrideRequest.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 = 3;- Parameters:
values- The forceOnly to add.- Returns:
- This builder for chaining.
-
clearForceOnly
public DeleteConsumerOverrideRequest.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 = 3;- Returns:
- This builder for chaining.
-
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 = 3;- Specified by:
getForceOnlyValueListin interfaceDeleteConsumerOverrideRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for forceOnly.
-
getForceOnlyValue
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 = 3;- Specified by:
getForceOnlyValuein interfaceDeleteConsumerOverrideRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of forceOnly at the given index.
-
setForceOnlyValue
public DeleteConsumerOverrideRequest.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 = 3;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for forceOnly to set.- Returns:
- This builder for chaining.
-
addForceOnlyValue
public DeleteConsumerOverrideRequest.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 = 3;- Parameters:
value- The enum numeric value on the wire for forceOnly to add.- Returns:
- This builder for chaining.
-
addAllForceOnlyValue
public DeleteConsumerOverrideRequest.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 = 3;- Parameters:
values- The enum numeric values on the wire for forceOnly to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DeleteConsumerOverrideRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
mergeUnknownFields
public final DeleteConsumerOverrideRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteConsumerOverrideRequest.Builder>
-
-