Class RecrawlUrisResponse.FailureInfo.Builder (0.41.0)

public static final class RecrawlUrisResponse.FailureInfo.Builder extends GeneratedMessageV3.Builder<RecrawlUrisResponse.FailureInfo.Builder> implements RecrawlUrisResponse.FailureInfoOrBuilder

Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.

Protobuf type google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo

Static Methods

getDescriptor()

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

Methods

addAllFailureReasons(Iterable<? extends RecrawlUrisResponse.FailureInfo.FailureReason> values)

public RecrawlUrisResponse.FailureInfo.Builder addAllFailureReasons(Iterable<? extends RecrawlUrisResponse.FailureInfo.FailureReason> values)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason>
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

addFailureReasons(RecrawlUrisResponse.FailureInfo.FailureReason value)

public RecrawlUrisResponse.FailureInfo.Builder addFailureReasons(RecrawlUrisResponse.FailureInfo.FailureReason value)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
value RecrawlUrisResponse.FailureInfo.FailureReason
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

addFailureReasons(RecrawlUrisResponse.FailureInfo.FailureReason.Builder builderForValue)

public RecrawlUrisResponse.FailureInfo.Builder addFailureReasons(RecrawlUrisResponse.FailureInfo.FailureReason.Builder builderForValue)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
builderForValue RecrawlUrisResponse.FailureInfo.FailureReason.Builder
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

addFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason value)

public RecrawlUrisResponse.FailureInfo.Builder addFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason value)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
Name Description
index int
value RecrawlUrisResponse.FailureInfo.FailureReason
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

addFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason.Builder builderForValue)

public RecrawlUrisResponse.FailureInfo.Builder addFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason.Builder builderForValue)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
Name Description
index int
builderForValue RecrawlUrisResponse.FailureInfo.FailureReason.Builder
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

addFailureReasonsBuilder()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder addFailureReasonsBuilder()

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

addFailureReasonsBuilder(int index)

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder addFailureReasonsBuilder(int index)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecrawlUrisResponse.FailureInfo build()
Returns
Type Description
RecrawlUrisResponse.FailureInfo

buildPartial()

public RecrawlUrisResponse.FailureInfo buildPartial()
Returns
Type Description
RecrawlUrisResponse.FailureInfo

clear()

public RecrawlUrisResponse.FailureInfo.Builder clear()
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder
Overrides

clearFailureReasons()

public RecrawlUrisResponse.FailureInfo.Builder clearFailureReasons()

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public RecrawlUrisResponse.FailureInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecrawlUrisResponse.FailureInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder
Overrides

clearUri()

public RecrawlUrisResponse.FailureInfo.Builder clearUri()

URI that failed to be crawled.

string uri = 1;

Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

This builder for chaining.

clone()

public RecrawlUrisResponse.FailureInfo.Builder clone()
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder
Overrides

getDefaultInstanceForType()

public RecrawlUrisResponse.FailureInfo getDefaultInstanceForType()
Returns
Type Description
RecrawlUrisResponse.FailureInfo

getDescriptorForType()

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

getFailureReasons(int index)

public RecrawlUrisResponse.FailureInfo.FailureReason getFailureReasons(int index)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason

getFailureReasonsBuilder(int index)

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder getFailureReasonsBuilder(int index)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

getFailureReasonsBuilderList()

public List<RecrawlUrisResponse.FailureInfo.FailureReason.Builder> getFailureReasonsBuilderList()

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
Type Description
List<Builder>

getFailureReasonsCount()

public int getFailureReasonsCount()

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
Type Description
int

getFailureReasonsList()

public List<RecrawlUrisResponse.FailureInfo.FailureReason> getFailureReasonsList()

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
Type Description
List<FailureReason>

getFailureReasonsOrBuilder(int index)

public RecrawlUrisResponse.FailureInfo.FailureReasonOrBuilder getFailureReasonsOrBuilder(int index)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReasonOrBuilder

getFailureReasonsOrBuilderList()

public List<? extends RecrawlUrisResponse.FailureInfo.FailureReasonOrBuilder> getFailureReasonsOrBuilderList()

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReasonOrBuilder>

getUri()

public String getUri()

URI that failed to be crawled.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI that failed to be crawled.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RecrawlUrisResponse.FailureInfo other)

public RecrawlUrisResponse.FailureInfo.Builder mergeFrom(RecrawlUrisResponse.FailureInfo other)
Parameter
Name Description
other RecrawlUrisResponse.FailureInfo
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RecrawlUrisResponse.FailureInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.FailureInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder
Overrides

removeFailureReasons(int index)

public RecrawlUrisResponse.FailureInfo.Builder removeFailureReasons(int index)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

setFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason value)

public RecrawlUrisResponse.FailureInfo.Builder setFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason value)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
Name Description
index int
value RecrawlUrisResponse.FailureInfo.FailureReason
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

setFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason.Builder builderForValue)

public RecrawlUrisResponse.FailureInfo.Builder setFailureReasons(int index, RecrawlUrisResponse.FailureInfo.FailureReason.Builder builderForValue)

List of failure reasons by corpus type (e.g. desktop, mobile).

repeated .google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
Name Description
index int
builderForValue RecrawlUrisResponse.FailureInfo.FailureReason.Builder
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.FailureInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder
Overrides

setUri(String value)

public RecrawlUrisResponse.FailureInfo.Builder setUri(String value)

URI that failed to be crawled.

string uri = 1;

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

This builder for chaining.

setUriBytes(ByteString value)

public RecrawlUrisResponse.FailureInfo.Builder setUriBytes(ByteString value)

URI that failed to be crawled.

string uri = 1;

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

This builder for chaining.