Class TargetSite.FailureReason.QuotaFailure.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TargetSite.FailureReason.QuotaFailure.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

build()

public TargetSite.FailureReason.QuotaFailure build()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure

buildPartial()

public TargetSite.FailureReason.QuotaFailure buildPartial()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure

clear()

public TargetSite.FailureReason.QuotaFailure.Builder clear()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TargetSite.FailureReason.QuotaFailure.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetSite.FailureReason.QuotaFailure.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

This builder for chaining.

clone()

public TargetSite.FailureReason.QuotaFailure.Builder clone()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

getDefaultInstanceForType()

public TargetSite.FailureReason.QuotaFailure getDefaultInstanceForType()
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
long

The totalRequiredQuota.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetSite.FailureReason.QuotaFailure other)

public TargetSite.FailureReason.QuotaFailure.Builder mergeFrom(TargetSite.FailureReason.QuotaFailure other)
Parameter
NameDescription
otherTargetSite.FailureReason.QuotaFailure
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TargetSite.FailureReason.QuotaFailure.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TargetSite.FailureReason.QuotaFailure.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetSite.FailureReason.QuotaFailure.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TargetSite.FailureReason.QuotaFailure.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The totalRequiredQuota to set.

Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TargetSite.FailureReason.QuotaFailure.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder
Overrides