Interface CreateQuotaPreferenceRequestOrBuilder (0.17.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
Name Description
index int

The index of the element to return.

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

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the quotaPreference field is set.