Class TargetSite.FailureReason.Builder (0.38.0)

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

Site search indexing failure reasons.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearFailure()

public TargetSite.FailureReason.Builder clearFailure()
Returns
Type Description
TargetSite.FailureReason.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuotaFailure()

public TargetSite.FailureReason.Builder clearQuotaFailure()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
TargetSite.FailureReason.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getFailureCase()

public TargetSite.FailureReason.FailureCase getFailureCase()
Returns
Type Description
TargetSite.FailureReason.FailureCase

getQuotaFailure()

public TargetSite.FailureReason.QuotaFailure getQuotaFailure()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
TargetSite.FailureReason.QuotaFailure

The quotaFailure.

getQuotaFailureBuilder()

public TargetSite.FailureReason.QuotaFailure.Builder getQuotaFailureBuilder()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
TargetSite.FailureReason.QuotaFailure.Builder

getQuotaFailureOrBuilder()

public TargetSite.FailureReason.QuotaFailureOrBuilder getQuotaFailureOrBuilder()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
TargetSite.FailureReason.QuotaFailureOrBuilder

hasQuotaFailure()

public boolean hasQuotaFailure()

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Returns
Type Description
boolean

Whether the quotaFailure field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TargetSite.FailureReason other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeQuotaFailure(TargetSite.FailureReason.QuotaFailure value)

public TargetSite.FailureReason.Builder mergeQuotaFailure(TargetSite.FailureReason.QuotaFailure value)

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Parameter
Name Description
value TargetSite.FailureReason.QuotaFailure
Returns
Type Description
TargetSite.FailureReason.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setQuotaFailure(TargetSite.FailureReason.QuotaFailure value)

public TargetSite.FailureReason.Builder setQuotaFailure(TargetSite.FailureReason.QuotaFailure value)

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Parameter
Name Description
value TargetSite.FailureReason.QuotaFailure
Returns
Type Description
TargetSite.FailureReason.Builder

setQuotaFailure(TargetSite.FailureReason.QuotaFailure.Builder builderForValue)

public TargetSite.FailureReason.Builder setQuotaFailure(TargetSite.FailureReason.QuotaFailure.Builder builderForValue)

Failed due to insufficient quota.

.google.cloud.discoveryengine.v1alpha.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Parameter
Name Description
builderForValue TargetSite.FailureReason.QuotaFailure.Builder
Returns
Type Description
TargetSite.FailureReason.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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