Class RecrawlUrisResponse.FailureInfo (0.31.0)

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

Inheritance

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

Static Fields

FAILURE_REASONS_FIELD_NUMBER

public static final int FAILURE_REASONS_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(RecrawlUrisResponse.FailureInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.FailureReason

getFailureReasonsCount()

public int getFailureReasonsCount()

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

repeated .google.cloud.discoveryengine.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.RecrawlUrisResponse.FailureInfo.FailureReason failure_reasons = 2;

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

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.Builder newBuilderForType()
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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