Class RecrawlUrisResponse.FailureInfo.FailureReason.Builder (0.47.0)

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

Details about why crawling failed for a particular CorpusType, e.g., DESKTOP and MOBILE crawling may fail for different reasons.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCorpusType()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clearCorpusType()

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

This builder for chaining.

clearErrorMessage()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clearErrorMessage()

Reason why the URI was not crawled.

string error_message = 2;

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCorpusType()

public RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType getCorpusType()

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType

The corpusType.

getCorpusTypeValue()

public int getCorpusTypeValue()

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for corpusType.

getDefaultInstanceForType()

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

getDescriptorForType()

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

getErrorMessage()

public String getErrorMessage()

Reason why the URI was not crawled.

string error_message = 2;

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Reason why the URI was not crawled.

string error_message = 2;

Returns
Type Description
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RecrawlUrisResponse.FailureInfo.FailureReason other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCorpusType(RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType value)

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setCorpusType(RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType value)

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;

Parameter
Name Description
value RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType

The corpusType to set.

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

This builder for chaining.

setCorpusTypeValue(int value)

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setCorpusTypeValue(int value)

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

.google.cloud.discoveryengine.v1.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for corpusType to set.

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

This builder for chaining.

setErrorMessage(String value)

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setErrorMessage(String value)

Reason why the URI was not crawled.

string error_message = 2;

Parameter
Name Description
value String

The errorMessage to set.

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

This builder for chaining.

setErrorMessageBytes(ByteString value)

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setErrorMessageBytes(ByteString value)

Reason why the URI was not crawled.

string error_message = 2;

Parameter
Name Description
value ByteString

The bytes for errorMessage to set.

Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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