Class TargetSite.FailureReason.QuotaFailure.Builder (0.42.0)

public static final class TargetSite.FailureReason.QuotaFailure.Builder extends GeneratedMessageV3.Builder<TargetSite.FailureReason.QuotaFailure.Builder> implements TargetSite.FailureReason.QuotaFailureOrBuilder

Failed due to insufficient quota.

Protobuf type google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetSite.FailureReason.QuotaFailure.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

build()

public TargetSite.FailureReason.QuotaFailure build()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure

buildPartial()

public TargetSite.FailureReason.QuotaFailure buildPartial()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure

clear()

public TargetSite.FailureReason.QuotaFailure.Builder clear()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetSite.FailureReason.QuotaFailure.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetSite.FailureReason.QuotaFailure.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

clearTotalRequiredQuota()

public TargetSite.FailureReason.QuotaFailure.Builder clearTotalRequiredQuota()

This number is an estimation on how much total quota this project needs to successfully complete indexing.

int64 total_required_quota = 1;

Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

This builder for chaining.

clone()

public TargetSite.FailureReason.QuotaFailure.Builder clone()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

getDefaultInstanceForType()

public TargetSite.FailureReason.QuotaFailure getDefaultInstanceForType()
Returns
Type Description
TargetSite.FailureReason.QuotaFailure

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getTotalRequiredQuota()

public long getTotalRequiredQuota()

This number is an estimation on how much total quota this project needs to successfully complete indexing.

int64 total_required_quota = 1;

Returns
Type Description
long

The totalRequiredQuota.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetSite.FailureReason.QuotaFailure other)

public TargetSite.FailureReason.QuotaFailure.Builder mergeFrom(TargetSite.FailureReason.QuotaFailure other)
Parameter
Name Description
other TargetSite.FailureReason.QuotaFailure
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetSite.FailureReason.QuotaFailure.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TargetSite.FailureReason.QuotaFailure.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetSite.FailureReason.QuotaFailure.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TargetSite.FailureReason.QuotaFailure.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TargetSite.FailureReason.QuotaFailure.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

setTotalRequiredQuota(long value)

public TargetSite.FailureReason.QuotaFailure.Builder setTotalRequiredQuota(long value)

This number is an estimation on how much total quota this project needs to successfully complete indexing.

int64 total_required_quota = 1;

Parameter
Name Description
value long

The totalRequiredQuota to set.

Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetSite.FailureReason.QuotaFailure.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder
Overrides