public static final class QuotaPreference.Builder extends com.google.protobuf.GeneratedMessageV3.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.v1beta.QuotaPreference| Modifier and Type | Method and Description |
|---|---|
QuotaPreference.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QuotaPreference |
build() |
QuotaPreference |
buildPartial() |
QuotaPreference.Builder |
clear() |
QuotaPreference.Builder |
clearContactEmail()
Input only.
|
QuotaPreference.Builder |
clearCreateTime()
Output only.
|
QuotaPreference.Builder |
clearDimensions() |
QuotaPreference.Builder |
clearEtag()
Optional.
|
QuotaPreference.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QuotaPreference.Builder |
clearJustification()
The reason / justification for this quota preference.
|
QuotaPreference.Builder |
clearName()
Required except in the CREATE requests.
|
QuotaPreference.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QuotaPreference.Builder |
clearQuotaConfig()
Required.
|
QuotaPreference.Builder |
clearQuotaId()
Required.
|
QuotaPreference.Builder |
clearReconciling()
Output only.
|
QuotaPreference.Builder |
clearService()
Required.
|
QuotaPreference.Builder |
clearUpdateTime()
Output only.
|
QuotaPreference.Builder |
clone() |
boolean |
containsDimensions(String key)
Immutable.
|
String |
getContactEmail()
Input only.
|
com.google.protobuf.ByteString |
getContactEmailBytes()
Input only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
QuotaPreference |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,String> |
getDimensions()
Deprecated.
|
int |
getDimensionsCount()
Immutable.
|
Map<String,String> |
getDimensionsMap()
Immutable.
|
String |
getDimensionsOrDefault(String key,
String defaultValue)
Immutable.
|
String |
getDimensionsOrThrow(String key)
Immutable.
|
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
String |
getJustification()
The reason / justification for this quota preference.
|
com.google.protobuf.ByteString |
getJustificationBytes()
The reason / justification for this quota preference.
|
Map<String,String> |
getMutableDimensions()
Deprecated.
|
String |
getName()
Required except in the CREATE requests.
|
com.google.protobuf.ByteString |
getNameBytes()
Required except in the CREATE requests.
|
QuotaConfig |
getQuotaConfig()
Required.
|
QuotaConfig.Builder |
getQuotaConfigBuilder()
Required.
|
QuotaConfigOrBuilder |
getQuotaConfigOrBuilder()
Required.
|
String |
getQuotaId()
Required.
|
com.google.protobuf.ByteString |
getQuotaIdBytes()
Required.
|
boolean |
getReconciling()
Output only.
|
String |
getService()
Required.
|
com.google.protobuf.ByteString |
getServiceBytes()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasQuotaConfig()
Required.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
QuotaPreference.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
QuotaPreference.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuotaPreference.Builder |
mergeFrom(com.google.protobuf.Message other) |
QuotaPreference.Builder |
mergeFrom(QuotaPreference other) |
QuotaPreference.Builder |
mergeQuotaConfig(QuotaConfig value)
Required.
|
QuotaPreference.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QuotaPreference.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
QuotaPreference.Builder |
putAllDimensions(Map<String,String> values)
Immutable.
|
QuotaPreference.Builder |
putDimensions(String key,
String value)
Immutable.
|
QuotaPreference.Builder |
removeDimensions(String key)
Immutable.
|
QuotaPreference.Builder |
setContactEmail(String value)
Input only.
|
QuotaPreference.Builder |
setContactEmailBytes(com.google.protobuf.ByteString value)
Input only.
|
QuotaPreference.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
QuotaPreference.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
QuotaPreference.Builder |
setEtag(String value)
Optional.
|
QuotaPreference.Builder |
setEtagBytes(com.google.protobuf.ByteString value)
Optional.
|
QuotaPreference.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QuotaPreference.Builder |
setJustification(String value)
The reason / justification for this quota preference.
|
QuotaPreference.Builder |
setJustificationBytes(com.google.protobuf.ByteString value)
The reason / justification for this quota preference.
|
QuotaPreference.Builder |
setName(String value)
Required except in the CREATE requests.
|
QuotaPreference.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required except in the CREATE requests.
|
QuotaPreference.Builder |
setQuotaConfig(QuotaConfig.Builder builderForValue)
Required.
|
QuotaPreference.Builder |
setQuotaConfig(QuotaConfig value)
Required.
|
QuotaPreference.Builder |
setQuotaId(String value)
Required.
|
QuotaPreference.Builder |
setQuotaIdBytes(com.google.protobuf.ByteString value)
Required.
|
QuotaPreference.Builder |
setReconciling(boolean value)
Output only.
|
QuotaPreference.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QuotaPreference.Builder |
setService(String value)
Required.
|
QuotaPreference.Builder |
setServiceBytes(com.google.protobuf.ByteString value)
Required.
|
QuotaPreference.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QuotaPreference.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
QuotaPreference.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QuotaPreference build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QuotaPreference buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QuotaPreference.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaPreference.Builder>public QuotaPreference.Builder mergeFrom(QuotaPreference other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public QuotaPreference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuotaPreference.Builder>IOExceptionpublic String 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;getName in interface QuotaPreferenceOrBuilderpublic 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;getNameBytes in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setName(String value)
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;value - The name to set.public QuotaPreference.Builder 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;public QuotaPreference.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public int getDimensionsCount()
QuotaPreferenceOrBuilder
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];
getDimensionsCount in interface QuotaPreferenceOrBuilderpublic boolean containsDimensions(String key)
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];
containsDimensions in interface QuotaPreferenceOrBuilder@Deprecated public Map<String,String> getDimensions()
getDimensionsMap() instead.getDimensions in interface QuotaPreferenceOrBuilderpublic Map<String,String> 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];
getDimensionsMap in interface QuotaPreferenceOrBuilderpublic String getDimensionsOrDefault(String key, String defaultValue)
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];
getDimensionsOrDefault in interface QuotaPreferenceOrBuilderpublic String getDimensionsOrThrow(String key)
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];
getDimensionsOrThrow in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder clearDimensions()
public QuotaPreference.Builder removeDimensions(String key)
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];
@Deprecated public Map<String,String> getMutableDimensions()
public QuotaPreference.Builder putDimensions(String key, String value)
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];
public QuotaPreference.Builder putAllDimensions(Map<String,String> values)
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];
public boolean hasQuotaConfig()
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
hasQuotaConfig in interface QuotaPreferenceOrBuilderpublic QuotaConfig getQuotaConfig()
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
getQuotaConfig in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setQuotaConfig(QuotaConfig value)
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
public QuotaPreference.Builder setQuotaConfig(QuotaConfig.Builder builderForValue)
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
public QuotaPreference.Builder mergeQuotaConfig(QuotaConfig value)
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
public QuotaPreference.Builder clearQuotaConfig()
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
public QuotaConfig.Builder getQuotaConfigBuilder()
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
public QuotaConfigOrBuilder getQuotaConfigOrBuilder()
Required. Preferred quota configuration.
.google.api.cloudquotas.v1beta.QuotaConfig quota_config = 3 [(.google.api.field_behavior) = REQUIRED];
getQuotaConfigOrBuilder in interface QuotaPreferenceOrBuilderpublic String 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];getEtag in interface QuotaPreferenceOrBuilderpublic 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];getEtagBytes in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setEtag(String value)
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];value - The etag to set.public QuotaPreference.Builder 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];public QuotaPreference.Builder setEtagBytes(com.google.protobuf.ByteString value)
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];value - The bytes for etag to set.public boolean hasCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface QuotaPreferenceOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QuotaPreference.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QuotaPreference.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QuotaPreference.Builder clearCreateTime()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time stamp
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface QuotaPreferenceOrBuilderpublic boolean hasUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface QuotaPreferenceOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QuotaPreference.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QuotaPreference.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public QuotaPreference.Builder clearUpdateTime()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update time stamp
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface QuotaPreferenceOrBuilderpublic String getService()
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];getService in interface QuotaPreferenceOrBuilderpublic 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];getServiceBytes in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setService(String value)
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];value - The service to set.public QuotaPreference.Builder clearService()
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];public QuotaPreference.Builder setServiceBytes(com.google.protobuf.ByteString value)
Required. The name of the service to which the quota preference is applied.
string service = 7 [(.google.api.field_behavior) = REQUIRED];value - The bytes for service to set.public String 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];getQuotaId in interface QuotaPreferenceOrBuilderpublic 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];getQuotaIdBytes in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setQuotaId(String value)
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];value - The quotaId to set.public QuotaPreference.Builder 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];public QuotaPreference.Builder setQuotaIdBytes(com.google.protobuf.ByteString value)
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];value - The bytes for quotaId to set.public boolean getReconciling()
Output only. Is the quota preference pending Google Cloud approval and fulfillment.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getReconciling in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setReconciling(boolean value)
Output only. Is the quota preference pending Google Cloud approval and fulfillment.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The reconciling to set.public QuotaPreference.Builder clearReconciling()
Output only. Is the quota preference pending Google Cloud approval and fulfillment.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getJustification()
The reason / justification for this quota preference.
string justification = 11;getJustification in interface QuotaPreferenceOrBuilderpublic com.google.protobuf.ByteString getJustificationBytes()
The reason / justification for this quota preference.
string justification = 11;getJustificationBytes in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setJustification(String value)
The reason / justification for this quota preference.
string justification = 11;value - The justification to set.public QuotaPreference.Builder clearJustification()
The reason / justification for this quota preference.
string justification = 11;public QuotaPreference.Builder setJustificationBytes(com.google.protobuf.ByteString value)
The reason / justification for this quota preference.
string justification = 11;value - The bytes for justification to set.public String 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];getContactEmail in interface QuotaPreferenceOrBuilderpublic 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];getContactEmailBytes in interface QuotaPreferenceOrBuilderpublic QuotaPreference.Builder setContactEmail(String value)
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];value - The contactEmail to set.public QuotaPreference.Builder 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];public QuotaPreference.Builder setContactEmailBytes(com.google.protobuf.ByteString value)
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];value - The bytes for contactEmail to set.public final QuotaPreference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>public final QuotaPreference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QuotaPreference.Builder>Copyright © 2025 Google LLC. All rights reserved.