Class RecrawlUrisResponse.FailureInfo.Builder (0.32.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.v1beta.RecrawlUrisResponse.FailureInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason>
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
valueRecrawlUrisResponse.FailureInfo.FailureReason
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
builderForValueRecrawlUrisResponse.FailureInfo.FailureReason.Builder
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
NameDescription
indexint
valueRecrawlUrisResponse.FailureInfo.FailureReason
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
NameDescription
indexint
builderForValueRecrawlUrisResponse.FailureInfo.FailureReason.Builder
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecrawlUrisResponse.FailureInfo build()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo

buildPartial()

public RecrawlUrisResponse.FailureInfo buildPartial()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo

clear()

public RecrawlUrisResponse.FailureInfo.Builder clear()
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public RecrawlUrisResponse.FailureInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecrawlUrisResponse.FailureInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder
Overrides

clearUri()

public RecrawlUrisResponse.FailureInfo.Builder clearUri()

URI that failed to be crawled.

string uri = 1;

Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

This builder for chaining.

clone()

public RecrawlUrisResponse.FailureInfo.Builder clone()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder
Overrides

getDefaultInstanceForType()

public RecrawlUrisResponse.FailureInfo getDefaultInstanceForType()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
TypeDescription
List<Builder>

getFailureReasonsCount()

public int getFailureReasonsCount()

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

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

Returns
TypeDescription
int

getFailureReasonsList()

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

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

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

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReasonOrBuilder>

getUri()

public String getUri()

URI that failed to be crawled.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI that failed to be crawled.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RecrawlUrisResponse.FailureInfo other)

public RecrawlUrisResponse.FailureInfo.Builder mergeFrom(RecrawlUrisResponse.FailureInfo other)
Parameter
NameDescription
otherRecrawlUrisResponse.FailureInfo
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RecrawlUrisResponse.FailureInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.FailureInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
NameDescription
indexint
valueRecrawlUrisResponse.FailureInfo.FailureReason
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

Parameters
NameDescription
indexint
builderForValueRecrawlUrisResponse.FailureInfo.FailureReason.Builder
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecrawlUrisResponse.FailureInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.FailureInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder
Overrides

setUri(String value)

public RecrawlUrisResponse.FailureInfo.Builder setUri(String value)

URI that failed to be crawled.

string uri = 1;

Parameter
NameDescription
valueString

The uri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uri to set.

Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

This builder for chaining.