- 2.53.0 (latest)
- 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 ImportConsumerOverridesRequest.Builder extends GeneratedMessageV3.Builder<ImportConsumerOverridesRequest.Builder> implements ImportConsumerOverridesRequestOrBuilder
Request message for ImportConsumerOverrides
Protobuf type google.api.serviceusage.v1beta1.ImportConsumerOverridesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportConsumerOverridesRequest.BuilderImplements
ImportConsumerOverridesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllForceOnly(Iterable<? extends QuotaSafetyCheck> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.api.serviceusage.v1beta1.QuotaSafetyCheck> The forceOnly to add. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
addAllForceOnlyValue(Iterable<Integer> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for forceOnly to add. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
addForceOnly(QuotaSafetyCheck value)
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;
Parameter | |
---|---|
Name | Description |
value | QuotaSafetyCheck The forceOnly to add. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
addForceOnlyValue(int value)
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for forceOnly to add. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportConsumerOverridesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
build()
public ImportConsumerOverridesRequest build()
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest |
buildPartial()
public ImportConsumerOverridesRequest buildPartial()
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest |
clear()
public ImportConsumerOverridesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImportConsumerOverridesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
clearForce()
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;
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
clearForceOnly()
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;
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
clearInlineSource()
public ImportConsumerOverridesRequest.Builder clearInlineSource()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportConsumerOverridesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
clearParent()
public ImportConsumerOverridesRequest.Builder clearParent()
The resource name of the consumer.
An example name would be:
projects/123/services/compute.googleapis.com
string parent = 1;
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
clearSource()
public ImportConsumerOverridesRequest.Builder clearSource()
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
clone()
public ImportConsumerOverridesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
getDefaultInstanceForType()
public ImportConsumerOverridesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getForce()
public 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;
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 = 4;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
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 = 4;
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 = 4;
Returns | |
---|---|
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 = 4;
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 = 4;
Returns | |
---|---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for forceOnly. |
getInlineSource()
public OverrideInlineSource getInlineSource()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;
Returns | |
---|---|
Type | Description |
OverrideInlineSource | The inlineSource. |
getInlineSourceBuilder()
public OverrideInlineSource.Builder getInlineSourceBuilder()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;
Returns | |
---|---|
Type | Description |
OverrideInlineSource.Builder |
getInlineSourceOrBuilder()
public OverrideInlineSourceOrBuilder getInlineSourceOrBuilder()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;
Returns | |
---|---|
Type | Description |
OverrideInlineSourceOrBuilder |
getParent()
public String getParent()
The resource name of the consumer.
An example name would be:
projects/123/services/compute.googleapis.com
string parent = 1;
Returns | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
The resource name of the consumer.
An example name would be:
projects/123/services/compute.googleapis.com
string parent = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
getSourceCase()
public ImportConsumerOverridesRequest.SourceCase getSourceCase()
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.SourceCase |
hasInlineSource()
public boolean hasInlineSource()
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the inlineSource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ImportConsumerOverridesRequest other)
public ImportConsumerOverridesRequest.Builder mergeFrom(ImportConsumerOverridesRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportConsumerOverridesRequest |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportConsumerOverridesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportConsumerOverridesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
mergeInlineSource(OverrideInlineSource value)
public ImportConsumerOverridesRequest.Builder mergeInlineSource(OverrideInlineSource value)
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;
Parameter | |
---|---|
Name | Description |
value | OverrideInlineSource |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportConsumerOverridesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportConsumerOverridesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
setForce(boolean value)
public 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;
Parameter | |
---|---|
Name | Description |
value | boolean The force to set. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
setForceOnly(int index, QuotaSafetyCheck value)
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | QuotaSafetyCheck The forceOnly to set. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
setForceOnlyValue(int index, int value)
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for forceOnly to set. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
setInlineSource(OverrideInlineSource value)
public ImportConsumerOverridesRequest.Builder setInlineSource(OverrideInlineSource value)
The import data is specified in the request message itself
.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;
Parameter | |
---|---|
Name | Description |
value | OverrideInlineSource |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
setInlineSource(OverrideInlineSource.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | OverrideInlineSource.Builder |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
setParent(String value)
public 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;
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ImportConsumerOverridesRequest.Builder setParentBytes(ByteString value)
The resource name of the consumer.
An example name would be:
projects/123/services/compute.googleapis.com
string parent = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportConsumerOverridesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportConsumerOverridesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportConsumerOverridesRequest.Builder |