Package com.google.api.cloudquotas.v1
Interface CreateQuotaPreferenceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateQuotaPreferenceRequest,CreateQuotaPreferenceRequest.Builder
@Generated
public interface CreateQuotaPreferenceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetIgnoreSafetyChecks(int index) The list of quota safety checks to be ignored.intThe list of quota safety checks to be ignored.The list of quota safety checks to be ignored.intgetIgnoreSafetyChecksValue(int index) The list of quota safety checks to be ignored.The list of quota safety checks to be ignored.Required.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. Value for parent. Example: `projects/123/locations/global`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. Value for parent. Example: `projects/123/locations/global`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getQuotaPreferenceId
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:
- The quotaPreferenceId.
-
getQuotaPreferenceIdBytes
com.google.protobuf.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:
- The bytes for quotaPreferenceId.
-
hasQuotaPreference
boolean hasQuotaPreference()Required. The resource being created
.google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the quotaPreference field is set.
-
getQuotaPreference
QuotaPreference getQuotaPreference()Required. The resource being created
.google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The quotaPreference.
-
getQuotaPreferenceOrBuilder
QuotaPreferenceOrBuilder getQuotaPreferenceOrBuilder()Required. The resource being created
.google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED]; -
getIgnoreSafetyChecksList
List<QuotaSafetyCheck> getIgnoreSafetyChecksList()The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;- Returns:
- A list containing the ignoreSafetyChecks.
-
getIgnoreSafetyChecksCount
int getIgnoreSafetyChecksCount()The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;- Returns:
- The count of ignoreSafetyChecks.
-
getIgnoreSafetyChecks
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;- Parameters:
index- The index of the element to return.- Returns:
- The ignoreSafetyChecks at the given index.
-
getIgnoreSafetyChecksValueList
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;- Returns:
- A list containing the enum numeric values on the wire for ignoreSafetyChecks.
-
getIgnoreSafetyChecksValue
int getIgnoreSafetyChecksValue(int index) The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of ignoreSafetyChecks at the given index.
-