Class QuotaAdjusterSettings (0.44.0)
public final class QuotaAdjusterSettings extends GeneratedMessageV3 implements QuotaAdjusterSettingsOrBuilder
The QuotaAdjusterSettings resource defines the settings for the Quota
Adjuster.
Protobuf type google.api.cloudquotas.v1beta.QuotaAdjusterSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENABLEMENT_FIELD_NUMBER
public static final int ENABLEMENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INHERITED_FIELD_NUMBER
public static final int INHERITED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INHERITED_FROM_FIELD_NUMBER
public static final int INHERITED_FROM_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static QuotaAdjusterSettings getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static QuotaAdjusterSettings.Builder newBuilder()
newBuilder(QuotaAdjusterSettings prototype)
public static QuotaAdjusterSettings.Builder newBuilder(QuotaAdjusterSettings prototype)
public static QuotaAdjusterSettings parseDelimitedFrom(InputStream input)
public static QuotaAdjusterSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static QuotaAdjusterSettings parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static QuotaAdjusterSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static QuotaAdjusterSettings parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuotaAdjusterSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static QuotaAdjusterSettings parseFrom(CodedInputStream input)
public static QuotaAdjusterSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static QuotaAdjusterSettings parseFrom(InputStream input)
public static QuotaAdjusterSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static QuotaAdjusterSettings parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static QuotaAdjusterSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<QuotaAdjusterSettings> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public QuotaAdjusterSettings getDefaultInstanceForType()
getEnablement()
public QuotaAdjusterSettings.Enablement getEnablement()
Optional. The configured value of the enablement at the given resource.
.google.api.cloudquotas.v1beta.QuotaAdjusterSettings.Enablement enablement = 2 [(.google.api.field_behavior) = OPTIONAL];
getEnablementValue()
public int getEnablementValue()
Optional. The configured value of the enablement at the given resource.
.google.api.cloudquotas.v1beta.QuotaAdjusterSettings.Enablement enablement = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for enablement.
|
getEtag()
Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is
provided on update and does not match the current server's ETag in the
QuotaAdjusterSettings, the request is blocked and returns an ABORTED error.
See https://google.aip.dev/134#etags for more details on ETags.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The etag.
|
getEtagBytes()
public ByteString getEtagBytes()
Optional. The current ETag of the QuotaAdjusterSettings. If an ETag is
provided on update and does not match the current server's ETag in the
QuotaAdjusterSettings, the request is blocked and returns an ABORTED error.
See https://google.aip.dev/134#etags for more details on ETags.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for etag.
|
getInherited()
public boolean getInherited()
Optional. Indicates whether the setting is inherited or explicitly
specified.
bool inherited = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The inherited.
|
getInheritedFrom()
public String getInheritedFrom()
Output only. The resource container from which the setting is inherited.
This refers to the nearest ancestor with enablement set (either ENABLED or
DISABLED). The value can be an organizations/{organization_id},
folders/{folder_id}, or can be 'default' if no ancestor exists with
enablement set. The value will be empty when enablement is directly set on
this container.
string inherited_from = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The inheritedFrom.
|
getInheritedFromBytes()
public ByteString getInheritedFromBytes()
Output only. The resource container from which the setting is inherited.
This refers to the nearest ancestor with enablement set (either ENABLED or
DISABLED). The value can be an organizations/{organization_id},
folders/{folder_id}, or can be 'default' if no ancestor exists with
enablement set. The value will be empty when enablement is directly set on
this container.
string inherited_from = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for inheritedFrom.
|
getName()
Identifier. Name of the config would be of the format:
projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings
folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings
organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. Name of the config would be of the format:
projects/PROJECT_NUMBER/locations/global/quotaAdjusterSettings
folders/FOLDER_NUMBER/locations/global/quotaAdjusterSettings
organizations/ORGANIZATION_NUMBER/locations/global/quotaAdjusterSettings
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<QuotaAdjusterSettings> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The timestamp when the QuotaAdjusterSettings resource was last
updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The timestamp when the QuotaAdjusterSettings resource was last
updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The timestamp when the QuotaAdjusterSettings resource was last
updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public QuotaAdjusterSettings.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected QuotaAdjusterSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public QuotaAdjusterSettings.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]