public static final class OverrideInlineSource.Builder extends GeneratedMessageV3.Builder<OverrideInlineSource.Builder> implements OverrideInlineSourceOrBuilder
Import data embedded in the request message
Protobuf type google.api.serviceusage.v1beta1.OverrideInlineSource
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllOverrides(Iterable<? extends QuotaOverride> values)
public OverrideInlineSource.Builder addAllOverrides(Iterable<? extends QuotaOverride> values)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.api.serviceusage.v1beta1.QuotaOverride>
|
Returns
addOverrides(QuotaOverride value)
public OverrideInlineSource.Builder addOverrides(QuotaOverride value)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Returns
addOverrides(QuotaOverride.Builder builderForValue)
public OverrideInlineSource.Builder addOverrides(QuotaOverride.Builder builderForValue)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Returns
addOverrides(int index, QuotaOverride value)
public OverrideInlineSource.Builder addOverrides(int index, QuotaOverride value)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameters
Returns
addOverrides(int index, QuotaOverride.Builder builderForValue)
public OverrideInlineSource.Builder addOverrides(int index, QuotaOverride.Builder builderForValue)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameters
Returns
addOverridesBuilder()
public QuotaOverride.Builder addOverridesBuilder()
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Returns
addOverridesBuilder(int index)
public QuotaOverride.Builder addOverridesBuilder(int index)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OverrideInlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public OverrideInlineSource build()
Returns
buildPartial()
public OverrideInlineSource buildPartial()
Returns
clear()
public OverrideInlineSource.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public OverrideInlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OverrideInlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOverrides()
public OverrideInlineSource.Builder clearOverrides()
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Returns
clone()
public OverrideInlineSource.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public OverrideInlineSource getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOverrides(int index)
public QuotaOverride getOverrides(int index)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Returns
getOverridesBuilder(int index)
public QuotaOverride.Builder getOverridesBuilder(int index)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Returns
getOverridesBuilderList()
public List<QuotaOverride.Builder> getOverridesBuilderList()
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Returns
getOverridesCount()
public int getOverridesCount()
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Returns
getOverridesList()
public List<QuotaOverride> getOverridesList()
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Returns
getOverridesOrBuilder(int index)
public QuotaOverrideOrBuilder getOverridesOrBuilder(int index)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Returns
getOverridesOrBuilderList()
public List<? extends QuotaOverrideOrBuilder> getOverridesOrBuilderList()
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Returns
Type | Description |
List<? extends com.google.api.serviceusage.v1beta1.QuotaOverrideOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(OverrideInlineSource other)
public OverrideInlineSource.Builder mergeFrom(OverrideInlineSource other)
Parameter
Returns
public OverrideInlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OverrideInlineSource.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OverrideInlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeOverrides(int index)
public OverrideInlineSource.Builder removeOverrides(int index)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OverrideInlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOverrides(int index, QuotaOverride value)
public OverrideInlineSource.Builder setOverrides(int index, QuotaOverride value)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameters
Returns
setOverrides(int index, QuotaOverride.Builder builderForValue)
public OverrideInlineSource.Builder setOverrides(int index, QuotaOverride.Builder builderForValue)
The overrides to create.
Each override must have a value for 'metric' and 'unit', to specify
which metric and which limit the override should be applied to.
The 'name' field of the override does not need to be set; it is ignored.
repeated .google.api.serviceusage.v1beta1.QuotaOverride overrides = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OverrideInlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OverrideInlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides