Class OverrideInlineSource.Builder (2.52.0)

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
Type Description
Descriptor

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
Type Description
OverrideInlineSource.Builder

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
Name Description
value QuotaOverride
Returns
Type Description
OverrideInlineSource.Builder

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
Name Description
builderForValue QuotaOverride.Builder
Returns
Type Description
OverrideInlineSource.Builder

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
Name Description
index int
value QuotaOverride
Returns
Type Description
OverrideInlineSource.Builder

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
Name Description
index int
builderForValue QuotaOverride.Builder
Returns
Type Description
OverrideInlineSource.Builder

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
Type Description
QuotaOverride.Builder

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
Name Description
index int
Returns
Type Description
QuotaOverride.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OverrideInlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OverrideInlineSource.Builder
Overrides

build()

public OverrideInlineSource build()
Returns
Type Description
OverrideInlineSource

buildPartial()

public OverrideInlineSource buildPartial()
Returns
Type Description
OverrideInlineSource

clear()

public OverrideInlineSource.Builder clear()
Returns
Type Description
OverrideInlineSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public OverrideInlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OverrideInlineSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OverrideInlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OverrideInlineSource.Builder
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
Type Description
OverrideInlineSource.Builder

clone()

public OverrideInlineSource.Builder clone()
Returns
Type Description
OverrideInlineSource.Builder
Overrides

getDefaultInstanceForType()

public OverrideInlineSource getDefaultInstanceForType()
Returns
Type Description
OverrideInlineSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
QuotaOverride

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
Name Description
index int
Returns
Type Description
QuotaOverride.Builder

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<QuotaOverride>

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
Name Description
index int
Returns
Type Description
QuotaOverrideOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OverrideInlineSource other)

public OverrideInlineSource.Builder mergeFrom(OverrideInlineSource other)
Parameter
Name Description
other OverrideInlineSource
Returns
Type Description
OverrideInlineSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OverrideInlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OverrideInlineSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OverrideInlineSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OverrideInlineSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OverrideInlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OverrideInlineSource.Builder
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
Name Description
index int
Returns
Type Description
OverrideInlineSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OverrideInlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OverrideInlineSource.Builder
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
Name Description
index int
value QuotaOverride
Returns
Type Description
OverrideInlineSource.Builder

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
Name Description
index int
builderForValue QuotaOverride.Builder
Returns
Type Description
OverrideInlineSource.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OverrideInlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OverrideInlineSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OverrideInlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OverrideInlineSource.Builder
Overrides