Class RecrawlUrisResponse.FailureInfo.FailureReason (0.49.0)

public static final class RecrawlUrisResponse.FailureInfo.FailureReason extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RecrawlUrisResponse.FailureInfo.FailureReason

Static Fields

CORPUS_TYPE_FIELD_NUMBER

public static final int CORPUS_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecrawlUrisResponse.FailureInfo.FailureReason getDefaultInstance()
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason

getDescriptor()

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

newBuilder()

public static RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilder()
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

newBuilder(RecrawlUrisResponse.FailureInfo.FailureReason prototype)

public static RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilder(RecrawlUrisResponse.FailureInfo.FailureReason prototype)
Parameter
Name Description
prototype RecrawlUrisResponse.FailureInfo.FailureReason
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

parseDelimitedFrom(InputStream input)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RecrawlUrisResponse.FailureInfo.FailureReason> parser()
Returns
Type Description
Parser<FailureReason>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<RecrawlUrisResponse.FailureInfo.FailureReason> getParserForType()
Returns
Type Description
Parser<FailureReason>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilderForType()
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder toBuilder()
Returns
Type Description
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException