Package com.google.api.cloudquotas.v1
Class QuotaPreference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
com.google.api.cloudquotas.v1.QuotaPreference.Builder
- All Implemented Interfaces:
QuotaPreferenceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QuotaPreference
public static final class QuotaPreference.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
implements QuotaPreferenceOrBuilder
QuotaPreference represents the preferred quota configuration specified for a project, folder or organization. There is only one QuotaPreference resource for a quota value targeting a unique set of dimensions.Protobuf type
google.api.cloudquotas.v1.QuotaPreference-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Input only.Output only.Optional.The reason / justification for this quota preference.Required except in the CREATE requests.Required.Required.Output only.Required.Output only.booleancontainsDimensions(String key) Immutable.Input only.com.google.protobuf.ByteStringInput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intImmutable.Immutable.getDimensionsOrDefault(String key, String defaultValue) Immutable.Immutable.getEtag()Optional.com.google.protobuf.ByteStringOptional.The reason / justification for this quota preference.com.google.protobuf.ByteStringThe reason / justification for this quota preference.Deprecated.getName()Required except in the CREATE requests.com.google.protobuf.ByteStringRequired except in the CREATE requests.Required.Required.Required.Required.com.google.protobuf.ByteStringRequired.booleanOutput only.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(QuotaPreference other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeQuotaConfig(QuotaConfig value) Required.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllDimensions(Map<String, String> values) Immutable.putDimensions(String key, String value) Immutable.removeDimensions(String key) Immutable.setContactEmail(String value) Input only.setContactEmailBytes(com.google.protobuf.ByteString value) Input only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Optional.setEtagBytes(com.google.protobuf.ByteString value) Optional.setJustification(String value) The reason / justification for this quota preference.setJustificationBytes(com.google.protobuf.ByteString value) The reason / justification for this quota preference.Required except in the CREATE requests.setNameBytes(com.google.protobuf.ByteString value) Required except in the CREATE requests.setQuotaConfig(QuotaConfig value) Required.setQuotaConfig(QuotaConfig.Builder builderForValue) Required.setQuotaId(String value) Required.setQuotaIdBytes(com.google.protobuf.ByteString value) Required.setReconciling(boolean value) Output only.setService(String value) Required.setServiceBytes(com.google.protobuf.ByteString value) Required.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuotaPreference.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QuotaPreference.Builder>
-
mergeFrom
public QuotaPreference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuotaPreference.Builder>- Throws:
IOException
-
getName
Required except in the CREATE requests. The resource name of the quota preference. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`
string name = 1;- Specified by:
getNamein interfaceQuotaPreferenceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required except in the CREATE requests. The resource name of the quota preference. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`
string name = 1;- Specified by:
getNameBytesin interfaceQuotaPreferenceOrBuilder- Returns:
- The bytes for name.
-
setName
Required except in the CREATE requests. The resource name of the quota preference. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required except in the CREATE requests. The resource name of the quota preference. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Required except in the CREATE requests. The resource name of the quota preference. The ID component following "locations/" must be "global". Example: `projects/123/locations/global/quotaPreferences/my-config-for-us-east1`
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDimensionsCount
public int getDimensionsCount()Description copied from interface:QuotaPreferenceOrBuilderImmutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDimensionsCountin interfaceQuotaPreferenceOrBuilder
-
containsDimensions
Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
containsDimensionsin interfaceQuotaPreferenceOrBuilder
-
getDimensions
Deprecated.UsegetDimensionsMap()instead.- Specified by:
getDimensionsin interfaceQuotaPreferenceOrBuilder
-
getDimensionsMap
Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDimensionsMapin interfaceQuotaPreferenceOrBuilder
-
getDimensionsOrDefault
Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDimensionsOrDefaultin interfaceQuotaPreferenceOrBuilder
-
getDimensionsOrThrow
Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getDimensionsOrThrowin interfaceQuotaPreferenceOrBuilder
-
clearDimensions
-
removeDimensions
Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE]; -
getMutableDimensions
Deprecated.Use alternate mutation accessors instead. -
putDimensions
Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE]; -
putAllDimensions
Immutable. The dimensions that this quota preference applies to. The key of the map entry is the name of a dimension, such as "region", "zone", "network_id", and the value of the map entry is the dimension value. If a dimension is missing from the map of dimensions, the quota preference applies to all the dimension values except for those that have other quota preferences configured for the specific value. NOTE: QuotaPreferences can only be applied across all values of "user" and "resource" dimension. Do not set values for "user" or "resource" in the dimension map. Example: {"provider", "Foo Inc"} where "provider" is a service specific dimension.map<string, string> dimensions = 2 [(.google.api.field_behavior) = IMMUTABLE]; -
hasQuotaConfig
public boolean hasQuotaConfig()Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasQuotaConfigin interfaceQuotaPreferenceOrBuilder- Returns:
- Whether the quotaConfig field is set.
-
getQuotaConfig
Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuotaConfigin interfaceQuotaPreferenceOrBuilder- Returns:
- The quotaConfig.
-
setQuotaConfig
Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED]; -
setQuotaConfig
Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED]; -
mergeQuotaConfig
Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED]; -
clearQuotaConfig
Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED]; -
getQuotaConfigBuilder
Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED]; -
getQuotaConfigOrBuilder
Required. Preferred quota configuration.
.google.api.cloudquotas.v1.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuotaConfigOrBuilderin interfaceQuotaPreferenceOrBuilder
-
getEtag
Optional. The current etag of the quota preference. If an etag is provided on update and does not match the current server's etag of the quota preference, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagin interfaceQuotaPreferenceOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Optional. The current etag of the quota preference. If an etag is provided on update and does not match the current server's etag of the quota preference, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEtagBytesin interfaceQuotaPreferenceOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Optional. The current etag of the quota preference. If an etag is provided on update and does not match the current server's etag of the quota preference, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Optional. The current etag of the quota preference. If an etag is provided on update and does not match the current server's etag of the quota preference, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setEtagBytes
Optional. The current etag of the quota preference. If an etag is provided on update and does not match the current server's etag of the quota preference, the request will be blocked and an ABORTED error will be returned. See https://google.aip.dev/134#etags for more details on etags.
string etag = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceQuotaPreferenceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceQuotaPreferenceOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceQuotaPreferenceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceQuotaPreferenceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceQuotaPreferenceOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceQuotaPreferenceOrBuilder
-
getService
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getServicein interfaceQuotaPreferenceOrBuilder- Returns:
- The service.
-
getServiceBytes
public com.google.protobuf.ByteString getServiceBytes()Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getServiceBytesin interfaceQuotaPreferenceOrBuilder- Returns:
- The bytes for service.
-
setService
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The service to set.- Returns:
- This builder for chaining.
-
clearService
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setServiceBytes
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for service to set.- Returns:
- This builder for chaining.
-
getQuotaId
Required. The id of the quota to which the quota preference is applied. A quota name is unique in the service. Example: `CpusPerProjectPerRegion`
string quota_id = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuotaIdin interfaceQuotaPreferenceOrBuilder- Returns:
- The quotaId.
-
getQuotaIdBytes
public com.google.protobuf.ByteString getQuotaIdBytes()Required. The id of the quota to which the quota preference is applied. A quota name is unique in the service. Example: `CpusPerProjectPerRegion`
string quota_id = 8 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getQuotaIdBytesin interfaceQuotaPreferenceOrBuilder- Returns:
- The bytes for quotaId.
-
setQuotaId
Required. The id of the quota to which the quota preference is applied. A quota name is unique in the service. Example: `CpusPerProjectPerRegion`
string quota_id = 8 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The quotaId to set.- Returns:
- This builder for chaining.
-
clearQuotaId
Required. The id of the quota to which the quota preference is applied. A quota name is unique in the service. Example: `CpusPerProjectPerRegion`
string quota_id = 8 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setQuotaIdBytes
Required. The id of the quota to which the quota preference is applied. A quota name is unique in the service. Example: `CpusPerProjectPerRegion`
string quota_id = 8 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for quotaId to set.- Returns:
- This builder for chaining.
-
getReconciling
public boolean getReconciling()Output only. Is the quota preference pending Google Cloud approval and fulfillment.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconcilingin interfaceQuotaPreferenceOrBuilder- Returns:
- The reconciling.
-
setReconciling
Output only. Is the quota preference pending Google Cloud approval and fulfillment.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
Output only. Is the quota preference pending Google Cloud approval and fulfillment.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getJustification
The reason / justification for this quota preference.
string justification = 11;- Specified by:
getJustificationin interfaceQuotaPreferenceOrBuilder- Returns:
- The justification.
-
getJustificationBytes
public com.google.protobuf.ByteString getJustificationBytes()The reason / justification for this quota preference.
string justification = 11;- Specified by:
getJustificationBytesin interfaceQuotaPreferenceOrBuilder- Returns:
- The bytes for justification.
-
setJustification
The reason / justification for this quota preference.
string justification = 11;- Parameters:
value- The justification to set.- Returns:
- This builder for chaining.
-
clearJustification
The reason / justification for this quota preference.
string justification = 11;- Returns:
- This builder for chaining.
-
setJustificationBytes
The reason / justification for this quota preference.
string justification = 11;- Parameters:
value- The bytes for justification to set.- Returns:
- This builder for chaining.
-
getContactEmail
Input only. An email address that can be used to contact the the user, in case Google Cloud needs more information to make a decision before additional quota can be granted. When requesting a quota increase, the email address is required. When requesting a quota decrease, the email address is optional. For example, the email address is optional when the `QuotaConfig.preferred_value` is smaller than the `QuotaDetails.reset_value`.
string contact_email = 12 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContactEmailin interfaceQuotaPreferenceOrBuilder- Returns:
- The contactEmail.
-
getContactEmailBytes
public com.google.protobuf.ByteString getContactEmailBytes()Input only. An email address that can be used to contact the the user, in case Google Cloud needs more information to make a decision before additional quota can be granted. When requesting a quota increase, the email address is required. When requesting a quota decrease, the email address is optional. For example, the email address is optional when the `QuotaConfig.preferred_value` is smaller than the `QuotaDetails.reset_value`.
string contact_email = 12 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getContactEmailBytesin interfaceQuotaPreferenceOrBuilder- Returns:
- The bytes for contactEmail.
-
setContactEmail
Input only. An email address that can be used to contact the the user, in case Google Cloud needs more information to make a decision before additional quota can be granted. When requesting a quota increase, the email address is required. When requesting a quota decrease, the email address is optional. For example, the email address is optional when the `QuotaConfig.preferred_value` is smaller than the `QuotaDetails.reset_value`.
string contact_email = 12 [(.google.api.field_behavior) = INPUT_ONLY];- Parameters:
value- The contactEmail to set.- Returns:
- This builder for chaining.
-
clearContactEmail
Input only. An email address that can be used to contact the the user, in case Google Cloud needs more information to make a decision before additional quota can be granted. When requesting a quota increase, the email address is required. When requesting a quota decrease, the email address is optional. For example, the email address is optional when the `QuotaConfig.preferred_value` is smaller than the `QuotaDetails.reset_value`.
string contact_email = 12 [(.google.api.field_behavior) = INPUT_ONLY];- Returns:
- This builder for chaining.
-
setContactEmailBytes
Input only. An email address that can be used to contact the the user, in case Google Cloud needs more information to make a decision before additional quota can be granted. When requesting a quota increase, the email address is required. When requesting a quota decrease, the email address is optional. For example, the email address is optional when the `QuotaConfig.preferred_value` is smaller than the `QuotaDetails.reset_value`.
string contact_email = 12 [(.google.api.field_behavior) = INPUT_ONLY];- Parameters:
value- The bytes for contactEmail to set.- Returns:
- This builder for chaining.
-