Interface ImportAdminOverridesRequestOrBuilder (2.9.0)

public interface ImportAdminOverridesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForce()

public abstract 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
TypeDescription
boolean

The force.

getForceOnly(int index)

public abstract 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
QuotaSafetyCheck

The forceOnly at the given index.

getForceOnlyCount()

public abstract 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
TypeDescription
int

The count of forceOnly.

getForceOnlyList()

public abstract 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
TypeDescription
List<QuotaSafetyCheck>

A list containing the forceOnly.

getForceOnlyValue(int index)

public abstract 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of forceOnly at the given index.

getForceOnlyValueList()

public abstract 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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for forceOnly.

getInlineSource()

public abstract OverrideInlineSource getInlineSource()

The import data is specified in the request message itself

.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;

Returns
TypeDescription
OverrideInlineSource

The inlineSource.

getInlineSourceOrBuilder()

public abstract OverrideInlineSourceOrBuilder getInlineSourceOrBuilder()

The import data is specified in the request message itself

.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;

Returns
TypeDescription
OverrideInlineSourceOrBuilder

getParent()

public abstract String getParent()

The resource name of the consumer. An example name would be: projects/123/services/compute.googleapis.com

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The resource name of the consumer. An example name would be: projects/123/services/compute.googleapis.com

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getSourceCase()

public abstract ImportAdminOverridesRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportAdminOverridesRequest.SourceCase

hasInlineSource()

public abstract boolean hasInlineSource()

The import data is specified in the request message itself

.google.api.serviceusage.v1beta1.OverrideInlineSource inline_source = 2;

Returns
TypeDescription
boolean

Whether the inlineSource field is set.