Class RecrawlUrisResponse.FailureInfo (0.44.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
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(RecrawlUrisResponse.FailureInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RecrawlUrisResponse.FailureInfo getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo.FailureReasonOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String getUri()

URI that failed to be crawled.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

URI that failed to be crawled.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RecrawlUrisResponse.FailureInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RecrawlUrisResponse.FailureInfo.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.Builder toBuilder()
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

writeTo(CodedOutputStream output)

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