public final class UpdateQuotaPreferenceRequest extends GeneratedMessageV3 implements UpdateQuotaPreferenceRequestOrBuilder
Message for updating a QuotaPreference
Protobuf type google.api.cloudquotas.v1.UpdateQuotaPreferenceRequest
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
ALLOW_MISSING_FIELD_NUMBER
public static final int ALLOW_MISSING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IGNORE_SAFETY_CHECKS_FIELD_NUMBER
public static final int IGNORE_SAFETY_CHECKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
QUOTA_PREFERENCE_FIELD_NUMBER
public static final int QUOTA_PREFERENCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UpdateQuotaPreferenceRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UpdateQuotaPreferenceRequest.Builder newBuilder()
newBuilder(UpdateQuotaPreferenceRequest prototype)
public static UpdateQuotaPreferenceRequest.Builder newBuilder(UpdateQuotaPreferenceRequest prototype)
public static UpdateQuotaPreferenceRequest parseDelimitedFrom(InputStream input)
public static UpdateQuotaPreferenceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UpdateQuotaPreferenceRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateQuotaPreferenceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UpdateQuotaPreferenceRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateQuotaPreferenceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateQuotaPreferenceRequest parseFrom(CodedInputStream input)
public static UpdateQuotaPreferenceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateQuotaPreferenceRequest parseFrom(InputStream input)
public static UpdateQuotaPreferenceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UpdateQuotaPreferenceRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateQuotaPreferenceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UpdateQuotaPreferenceRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAllowMissing()
public boolean getAllowMissing()
Optional. If set to true, and the quota preference is not found, a new one
will be created. In this situation, update_mask
is ignored.
bool allow_missing = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | The allowMissing.
|
getDefaultInstanceForType()
public UpdateQuotaPreferenceRequest getDefaultInstanceForType()
getIgnoreSafetyChecks(int index)
public QuotaSafetyCheck getIgnoreSafetyChecks(int index)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
QuotaSafetyCheck | The ignoreSafetyChecks at the given index.
|
getIgnoreSafetyChecksCount()
public int getIgnoreSafetyChecksCount()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
Returns |
---|
Type | Description |
int | The count of ignoreSafetyChecks.
|
getIgnoreSafetyChecksList()
public List<QuotaSafetyCheck> getIgnoreSafetyChecksList()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
getIgnoreSafetyChecksValue(int index)
public int getIgnoreSafetyChecksValue(int index)
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
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 List<Integer> getIgnoreSafetyChecksValueList()
The list of quota safety checks to be ignored.
repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 5;
Returns |
---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for ignoreSafetyChecks.
|
getParserForType()
public Parser<UpdateQuotaPreferenceRequest> getParserForType()
Overrides
getQuotaPreference()
public QuotaPreference getQuotaPreference()
Required. The resource being updated
.google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
getQuotaPreferenceOrBuilder()
public QuotaPreferenceOrBuilder getQuotaPreferenceOrBuilder()
Required. The resource being updated
.google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
QuotaPreference resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Field mask is used to specify the fields to be overwritten in the
QuotaPreference resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
getValidateOnly()
public boolean getValidateOnly()
Optional. If set to true, validate the request, but do not actually update.
Note that a request being valid does not mean that the request is
guaranteed to be fulfilled.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | The validateOnly.
|
hasQuotaPreference()
public boolean hasQuotaPreference()
Required. The resource being updated
.google.api.cloudquotas.v1.QuotaPreference quota_preference = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the quotaPreference field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Field mask is used to specify the fields to be overwritten in the
QuotaPreference resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the updateMask field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UpdateQuotaPreferenceRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateQuotaPreferenceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UpdateQuotaPreferenceRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides