Class TargetSite.FailureReason.Builder (0.33.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.v1.TargetSite.FailureReason

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearFailure()

public TargetSite.FailureReason.Builder clearFailure()
Returns
TypeDescription
TargetSite.FailureReason.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public TargetSite.FailureReason.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TargetSite.FailureReason.Builder
Overrides

clearQuotaFailure()

public TargetSite.FailureReason.Builder clearQuotaFailure()

Failed due to insufficient quota.

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

Returns
TypeDescription
TargetSite.FailureReason.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFailureCase()

public TargetSite.FailureReason.FailureCase getFailureCase()
Returns
TypeDescription
TargetSite.FailureReason.FailureCase

getQuotaFailure()

public TargetSite.FailureReason.QuotaFailure getQuotaFailure()

Failed due to insufficient quota.

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

Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure

The quotaFailure.

getQuotaFailureBuilder()

public TargetSite.FailureReason.QuotaFailure.Builder getQuotaFailureBuilder()

Failed due to insufficient quota.

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

Returns
TypeDescription
TargetSite.FailureReason.QuotaFailure.Builder

getQuotaFailureOrBuilder()

public TargetSite.FailureReason.QuotaFailureOrBuilder getQuotaFailureOrBuilder()

Failed due to insufficient quota.

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

Returns
TypeDescription
TargetSite.FailureReason.QuotaFailureOrBuilder

hasQuotaFailure()

public boolean hasQuotaFailure()

Failed due to insufficient quota.

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

Returns
TypeDescription
boolean

Whether the quotaFailure field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetSite.FailureReason other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TargetSite.FailureReason.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Parameter
NameDescription
valueTargetSite.FailureReason.QuotaFailure
Returns
TypeDescription
TargetSite.FailureReason.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

Parameter
NameDescription
valueTargetSite.FailureReason.QuotaFailure
Returns
TypeDescription
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.v1.TargetSite.FailureReason.QuotaFailure quota_failure = 1;

Parameter
NameDescription
builderForValueTargetSite.FailureReason.QuotaFailure.Builder
Returns
TypeDescription
TargetSite.FailureReason.Builder

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

public TargetSite.FailureReason.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TargetSite.FailureReason.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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