Class RecrawlUrisResponse.FailureInfo.FailureReason.Builder (0.28.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.v1alpha.RecrawlUrisResponse.FailureInfo.FailureReason

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clear()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder
Overrides

clearCorpusType()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clearCorpusType()

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

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

Returns
TypeDescription
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
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCorpusType()

public RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType getCorpusType()

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

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

Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType

The corpusType.

getCorpusTypeValue()

public int getCorpusTypeValue()

DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.

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

Returns
TypeDescription
int

The enum numeric value on the wire for corpusType.

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrorMessage()

public String getErrorMessage()

Reason why the URI was not crawled.

string error_message = 2;

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public ByteString getErrorMessageBytes()

Reason why the URI was not crawled.

string error_message = 2;

Returns
TypeDescription
ByteString

The bytes for errorMessage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RecrawlUrisResponse.FailureInfo.FailureReason other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.FailureInfo.FailureReason.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1alpha.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;

Parameter
NameDescription
valueRecrawlUrisResponse.FailureInfo.FailureReason.CorpusType

The corpusType to set.

Returns
TypeDescription
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.v1alpha.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;

Parameter
NameDescription
valueint

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

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

The errorMessage to set.

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

The bytes for errorMessage to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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