public static final class ImportConsumerOverridesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder> implements ImportConsumerOverridesRequestOrBuilder
Request message for ImportConsumerOverridesProtobuf type
google.api.serviceusage.v1beta1.ImportConsumerOverridesRequest| Modifier and Type | Method and Description |
|---|---|
ImportConsumerOverridesRequest.Builder |
addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)
The list of quota safety checks to ignore before the override mutation.
|
ImportConsumerOverridesRequest.Builder |
addAllForceOnlyValue(Iterable<Integer> values)
The list of quota safety checks to ignore before the override mutation.
|
ImportConsumerOverridesRequest.Builder |
addForceOnly(QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
ImportConsumerOverridesRequest.Builder |
addForceOnlyValue(int value)
The list of quota safety checks to ignore before the override mutation.
|
ImportConsumerOverridesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportConsumerOverridesRequest |
build() |
ImportConsumerOverridesRequest |
buildPartial() |
ImportConsumerOverridesRequest.Builder |
clear() |
ImportConsumerOverridesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportConsumerOverridesRequest.Builder |
clearForce()
Whether to force the creation of the quota overrides.
|
ImportConsumerOverridesRequest.Builder |
clearForceOnly()
The list of quota safety checks to ignore before the override mutation.
|
ImportConsumerOverridesRequest.Builder |
clearInlineSource()
The import data is specified in the request message itself
|
ImportConsumerOverridesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportConsumerOverridesRequest.Builder |
clearParent()
The resource name of the consumer.
|
ImportConsumerOverridesRequest.Builder |
clearSource() |
ImportConsumerOverridesRequest.Builder |
clone() |
ImportConsumerOverridesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForce()
Whether to force the creation of the quota overrides.
|
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.
|
OverrideInlineSource |
getInlineSource()
The import data is specified in the request message itself
|
OverrideInlineSource.Builder |
getInlineSourceBuilder()
The import data is specified in the request message itself
|
OverrideInlineSourceOrBuilder |
getInlineSourceOrBuilder()
The import data is specified in the request message itself
|
String |
getParent()
The resource name of the consumer.
|
com.google.protobuf.ByteString |
getParentBytes()
The resource name of the consumer.
|
ImportConsumerOverridesRequest.SourceCase |
getSourceCase() |
boolean |
hasInlineSource()
The import data is specified in the request message itself
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportConsumerOverridesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportConsumerOverridesRequest.Builder |
mergeFrom(ImportConsumerOverridesRequest other) |
ImportConsumerOverridesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportConsumerOverridesRequest.Builder |
mergeInlineSource(OverrideInlineSource value)
The import data is specified in the request message itself
|
ImportConsumerOverridesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportConsumerOverridesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportConsumerOverridesRequest.Builder |
setForce(boolean value)
Whether to force the creation of the quota overrides.
|
ImportConsumerOverridesRequest.Builder |
setForceOnly(int index,
QuotaSafetyCheck value)
The list of quota safety checks to ignore before the override mutation.
|
ImportConsumerOverridesRequest.Builder |
setForceOnlyValue(int index,
int value)
The list of quota safety checks to ignore before the override mutation.
|
ImportConsumerOverridesRequest.Builder |
setInlineSource(OverrideInlineSource.Builder builderForValue)
The import data is specified in the request message itself
|
ImportConsumerOverridesRequest.Builder |
setInlineSource(OverrideInlineSource value)
The import data is specified in the request message itself
|
ImportConsumerOverridesRequest.Builder |
setParent(String value)
The resource name of the consumer.
|
ImportConsumerOverridesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
The resource name of the consumer.
|
ImportConsumerOverridesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportConsumerOverridesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportConsumerOverridesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportConsumerOverridesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportConsumerOverridesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder mergeFrom(ImportConsumerOverridesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public ImportConsumerOverridesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportConsumerOverridesRequest.Builder>IOExceptionpublic ImportConsumerOverridesRequest.SourceCase getSourceCase()
getSourceCase in interface ImportConsumerOverridesRequestOrBuilderpublic ImportConsumerOverridesRequest.Builder clearSource()
public String getParent()
The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
string parent = 1;getParent in interface ImportConsumerOverridesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
string parent = 1;getParentBytes in interface ImportConsumerOverridesRequestOrBuilderpublic ImportConsumerOverridesRequest.Builder setParent(String value)
The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
string parent = 1;value - The parent to set.public ImportConsumerOverridesRequest.Builder clearParent()
The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
string parent = 1;public ImportConsumerOverridesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
The resource name of the consumer. An example name would be: `projects/123/services/compute.googleapis.com`
string parent = 1;value - The bytes for parent to set.public boolean hasInlineSource()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;hasInlineSource in interface ImportConsumerOverridesRequestOrBuilderpublic OverrideInlineSource getInlineSource()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;getInlineSource in interface ImportConsumerOverridesRequestOrBuilderpublic ImportConsumerOverridesRequest.Builder setInlineSource(OverrideInlineSource value)
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;public ImportConsumerOverridesRequest.Builder setInlineSource(OverrideInlineSource.Builder builderForValue)
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;public ImportConsumerOverridesRequest.Builder mergeInlineSource(OverrideInlineSource value)
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;public ImportConsumerOverridesRequest.Builder clearInlineSource()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;public OverrideInlineSource.Builder getInlineSourceBuilder()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;public OverrideInlineSourceOrBuilder getInlineSourceOrBuilder()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;getInlineSourceOrBuilder in interface ImportConsumerOverridesRequestOrBuilderpublic boolean getForce()
Whether to force the creation of the quota overrides. 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 ImportConsumerOverridesRequestOrBuilderpublic ImportConsumerOverridesRequest.Builder setForce(boolean value)
Whether to force the creation of the quota overrides. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
bool force = 3;value - The force to set.public ImportConsumerOverridesRequest.Builder clearForce()
Whether to force the creation of the quota overrides. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.
bool force = 3;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 = 4;getForceOnlyList in interface ImportConsumerOverridesRequestOrBuilderpublic 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 = 4;getForceOnlyCount in interface ImportConsumerOverridesRequestOrBuilderpublic 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 = 4;getForceOnly in interface ImportConsumerOverridesRequestOrBuilderindex - The index of the element to return.public ImportConsumerOverridesRequest.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 = 4;index - The index to set the value at.value - The forceOnly to set.public ImportConsumerOverridesRequest.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 = 4;value - The forceOnly to add.public ImportConsumerOverridesRequest.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 = 4;values - The forceOnly to add.public ImportConsumerOverridesRequest.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 = 4;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 = 4;getForceOnlyValueList in interface ImportConsumerOverridesRequestOrBuilderpublic 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 = 4;getForceOnlyValue in interface ImportConsumerOverridesRequestOrBuilderindex - The index of the value to return.public ImportConsumerOverridesRequest.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 = 4;index - The index to set the value at.value - The enum numeric value on the wire for forceOnly to set.public ImportConsumerOverridesRequest.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 = 4;value - The enum numeric value on the wire for forceOnly to add.public ImportConsumerOverridesRequest.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 = 4;values - The enum numeric values on the wire for forceOnly to add.public final ImportConsumerOverridesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>public final ImportConsumerOverridesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder>Copyright © 2022 Google LLC. All rights reserved.