Class OverrideInlineSource.Builder (2.35.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.serviceusage.v1beta1.QuotaOverride>
Returns
TypeDescription
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
NameDescription
valueQuotaOverride
Returns
TypeDescription
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
NameDescription
builderForValueQuotaOverride.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueQuotaOverride
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQuotaOverride.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QuotaOverride.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OverrideInlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides

build()

public OverrideInlineSource build()
Returns
TypeDescription
OverrideInlineSource

buildPartial()

public OverrideInlineSource buildPartial()
Returns
TypeDescription
OverrideInlineSource

clear()

public OverrideInlineSource.Builder clear()
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public OverrideInlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OverrideInlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
OverrideInlineSource.Builder

clone()

public OverrideInlineSource.Builder clone()
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides

getDefaultInstanceForType()

public OverrideInlineSource getDefaultInstanceForType()
Returns
TypeDescription
OverrideInlineSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.api.serviceusage.v1beta1.QuotaOverrideOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OverrideInlineSource other)

public OverrideInlineSource.Builder mergeFrom(OverrideInlineSource other)
Parameter
NameDescription
otherOverrideInlineSource
Returns
TypeDescription
OverrideInlineSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OverrideInlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OverrideInlineSource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OverrideInlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
OverrideInlineSource.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public OverrideInlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueQuotaOverride
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQuotaOverride.Builder
Returns
TypeDescription
OverrideInlineSource.Builder

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

public OverrideInlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OverrideInlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OverrideInlineSource.Builder
Overrides