Class UpdateAdminOverrideRequest (2.39.0)

public final class UpdateAdminOverrideRequest extends GeneratedMessageV3 implements UpdateAdminOverrideRequestOrBuilder

Request message for UpdateAdminOverride.

Protobuf type google.api.serviceusage.v1beta1.UpdateAdminOverrideRequest

Static Fields

FORCE_FIELD_NUMBER

public static final int FORCE_FIELD_NUMBER
Field Value
TypeDescription
int

FORCE_ONLY_FIELD_NUMBER

public static final int FORCE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OVERRIDE_FIELD_NUMBER

public static final int OVERRIDE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateAdminOverrideRequest getDefaultInstance()
Returns
TypeDescription
UpdateAdminOverrideRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateAdminOverrideRequest.Builder newBuilder()
Returns
TypeDescription
UpdateAdminOverrideRequest.Builder

newBuilder(UpdateAdminOverrideRequest prototype)

public static UpdateAdminOverrideRequest.Builder newBuilder(UpdateAdminOverrideRequest prototype)
Parameter
NameDescription
prototypeUpdateAdminOverrideRequest
Returns
TypeDescription
UpdateAdminOverrideRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateAdminOverrideRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAdminOverrideRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateAdminOverrideRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateAdminOverrideRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateAdminOverrideRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateAdminOverrideRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateAdminOverrideRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAdminOverrideRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateAdminOverrideRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateAdminOverrideRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateAdminOverrideRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateAdminOverrideRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateAdminOverrideRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateAdminOverrideRequest> parser()
Returns
TypeDescription
Parser<UpdateAdminOverrideRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdateAdminOverrideRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAdminOverrideRequest

getForce()

public boolean getForce()

Whether to force the update of the quota override. Setting the force parameter to 'true' ignores all quota safety checks that would fail the request. QuotaSafetyCheck lists all such validations.

bool force = 3;

Returns
TypeDescription
boolean

The force.

getForceOnly(int index)

public QuotaSafetyCheck getForceOnly(int index)

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
QuotaSafetyCheck

The forceOnly at the given index.

getForceOnlyCount()

public int getForceOnlyCount()

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Returns
TypeDescription
int

The count of forceOnly.

getForceOnlyList()

public List<QuotaSafetyCheck> getForceOnlyList()

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Returns
TypeDescription
List<QuotaSafetyCheck>

A list containing the forceOnly.

getForceOnlyValue(int index)

public int getForceOnlyValue(int index)

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of forceOnly at the given index.

getForceOnlyValueList()

public List<Integer> getForceOnlyValueList()

The list of quota safety checks to ignore before the override mutation. Unlike 'force' field that ignores all the quota safety checks, the 'force_only' field ignores only the specified checks; other checks are still enforced. The 'force' and 'force_only' fields cannot both be set.

repeated .google.api.serviceusage.v1beta1.QuotaSafetyCheck force_only = 5;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for forceOnly.

getName()

public String getName()

The resource name of the override to update.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The resource name of the override to update.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getOverride()

public QuotaOverride getOverride()

The new override. Only the override_value is updated; all other fields are ignored.

.google.api.serviceusage.v1beta1.QuotaOverride override = 2;

Returns
TypeDescription
QuotaOverride

The override.

getOverrideOrBuilder()

public QuotaOverrideOrBuilder getOverrideOrBuilder()

The new override. Only the override_value is updated; all other fields are ignored.

.google.api.serviceusage.v1beta1.QuotaOverride override = 2;

Returns
TypeDescription
QuotaOverrideOrBuilder

getParserForType()

public Parser<UpdateAdminOverrideRequest> getParserForType()
Returns
TypeDescription
Parser<UpdateAdminOverrideRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Update only the specified fields of the override. If unset, all fields will be updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Update only the specified fields of the override. If unset, all fields will be updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
TypeDescription
FieldMaskOrBuilder

hasOverride()

public boolean hasOverride()

The new override. Only the override_value is updated; all other fields are ignored.

.google.api.serviceusage.v1beta1.QuotaOverride override = 2;

Returns
TypeDescription
boolean

Whether the override field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Update only the specified fields of the override. If unset, all fields will be updated.

.google.protobuf.FieldMask update_mask = 4;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateAdminOverrideRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdateAdminOverrideRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateAdminOverrideRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateAdminOverrideRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateAdminOverrideRequest.Builder toBuilder()
Returns
TypeDescription
UpdateAdminOverrideRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException