Interface CreateQuotaPreferenceRequestOrBuilder (0.2.0)

public interface CreateQuotaPreferenceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIgnoreSafetyChecks(int index)

public abstract QuotaSafetyCheck getIgnoreSafetyChecks(int index)

The list of quota safety checks to be ignored.

repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
QuotaSafetyCheck

The ignoreSafetyChecks at the given index.

getIgnoreSafetyChecksCount()

public abstract int getIgnoreSafetyChecksCount()

The list of quota safety checks to be ignored.

repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;

Returns
TypeDescription
int

The count of ignoreSafetyChecks.

getIgnoreSafetyChecksList()

public abstract List<QuotaSafetyCheck> getIgnoreSafetyChecksList()

The list of quota safety checks to be ignored.

repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;

Returns
TypeDescription
List<QuotaSafetyCheck>

A list containing the ignoreSafetyChecks.

getIgnoreSafetyChecksValue(int index)

public abstract int getIgnoreSafetyChecksValue(int index)

The list of quota safety checks to be ignored.

repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

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

getIgnoreSafetyChecksValueList()

public abstract List<Integer> getIgnoreSafetyChecksValueList()

The list of quota safety checks to be ignored.

repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;

Returns
TypeDescription
List<Integer>

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

getParent()

public abstract String getParent()

Required. Value for parent.

Example: projects/123/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Value for parent.

Example: projects/123/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getQuotaPreference()

public abstract QuotaPreference getQuotaPreference()

Required. The resource being created

.google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
QuotaPreference

The quotaPreference.

getQuotaPreferenceId()

public abstract String getQuotaPreferenceId()

Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.

string quota_preference_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The quotaPreferenceId.

getQuotaPreferenceIdBytes()

public abstract ByteString getQuotaPreferenceIdBytes()

Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.

string quota_preference_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for quotaPreferenceId.

getQuotaPreferenceOrBuilder()

public abstract QuotaPreferenceOrBuilder getQuotaPreferenceOrBuilder()

Required. The resource being created

.google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
QuotaPreferenceOrBuilder

hasQuotaPreference()

public abstract boolean hasQuotaPreference()

Required. The resource being created

.google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the quotaPreference field is set.