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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RecrawlUrisResponse.FailureInfo.FailureReason build()
buildPartial()
public RecrawlUrisResponse.FailureInfo.FailureReason buildPartial()
clear()
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clear()
Overrides
clearCorpusType()
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clearCorpusType()
DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;
clearErrorMessage()
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clearErrorMessage()
Reason why the URI was not crawled.
string error_message = 2;
clearField(Descriptors.FieldDescriptor field)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder clone()
Overrides
getCorpusType()
public RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType getCorpusType()
DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;
getCorpusTypeValue()
public int getCorpusTypeValue()
DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
.google.cloud.discoveryengine.v1beta.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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RecrawlUrisResponse.FailureInfo.FailureReason other)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder mergeFrom(RecrawlUrisResponse.FailureInfo.FailureReason other)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecrawlUrisResponse.FailureInfo.FailureReason.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;
setCorpusTypeValue(int value)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setCorpusTypeValue(int value)
DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType corpus_type = 1;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for corpusType to set.
|
setErrorMessage(String value)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setErrorMessage(String value)
Reason why the URI was not crawled.
string error_message = 2;
Parameter |
Name |
Description |
value |
String
The errorMessage to set.
|
setErrorMessageBytes(ByteString value)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setErrorMessageBytes(ByteString value)
Reason why the URI was not crawled.
string error_message = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for errorMessage to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecrawlUrisResponse.FailureInfo.FailureReason.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecrawlUrisResponse.FailureInfo.FailureReason.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides