Class RecrawlUrisResponse.FailureInfo.FailureReason (0.26.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.v1alpha.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
TypeDescription
int

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecrawlUrisResponse.FailureInfo.FailureReason getDefaultInstance()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason

getDescriptor()

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

newBuilder()

public static RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilder()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

newBuilder(RecrawlUrisResponse.FailureInfo.FailureReason prototype)

public static RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilder(RecrawlUrisResponse.FailureInfo.FailureReason prototype)
Parameter
NameDescription
prototypeRecrawlUrisResponse.FailureInfo.FailureReason
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

parseDelimitedFrom(InputStream input)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RecrawlUrisResponse.FailureInfo.FailureReason parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilderForType()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecrawlUrisResponse.FailureInfo.FailureReason.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RecrawlUrisResponse.FailureInfo.FailureReason.Builder toBuilder()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException