Class RecrawlUrisResponse.Builder (0.42.0)

public static final class RecrawlUrisResponse.Builder extends GeneratedMessageV3.Builder<RecrawlUrisResponse.Builder> implements RecrawlUrisResponseOrBuilder

Response message for SiteSearchEngineService.RecrawlUris method.

Protobuf type google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse

Static Methods

getDescriptor()

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

Methods

addAllFailedUris(Iterable<String> values)

public RecrawlUrisResponse.Builder addAllFailedUris(Iterable<String> values)

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Parameter
Name Description
values Iterable<String>

The failedUris to add.

Returns
Type Description
RecrawlUrisResponse.Builder

This builder for chaining.

addAllFailureSamples(Iterable<? extends RecrawlUrisResponse.FailureInfo> values)

public RecrawlUrisResponse.Builder addAllFailureSamples(Iterable<? extends RecrawlUrisResponse.FailureInfo> values)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo>
Returns
Type Description
RecrawlUrisResponse.Builder

addFailedUris(String value)

public RecrawlUrisResponse.Builder addFailedUris(String value)

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Parameter
Name Description
value String

The failedUris to add.

Returns
Type Description
RecrawlUrisResponse.Builder

This builder for chaining.

addFailedUrisBytes(ByteString value)

public RecrawlUrisResponse.Builder addFailedUrisBytes(ByteString value)

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Parameter
Name Description
value ByteString

The bytes of the failedUris to add.

Returns
Type Description
RecrawlUrisResponse.Builder

This builder for chaining.

addFailureSamples(RecrawlUrisResponse.FailureInfo value)

public RecrawlUrisResponse.Builder addFailureSamples(RecrawlUrisResponse.FailureInfo value)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
value RecrawlUrisResponse.FailureInfo
Returns
Type Description
RecrawlUrisResponse.Builder

addFailureSamples(RecrawlUrisResponse.FailureInfo.Builder builderForValue)

public RecrawlUrisResponse.Builder addFailureSamples(RecrawlUrisResponse.FailureInfo.Builder builderForValue)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
builderForValue RecrawlUrisResponse.FailureInfo.Builder
Returns
Type Description
RecrawlUrisResponse.Builder

addFailureSamples(int index, RecrawlUrisResponse.FailureInfo value)

public RecrawlUrisResponse.Builder addFailureSamples(int index, RecrawlUrisResponse.FailureInfo value)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
Name Description
index int
value RecrawlUrisResponse.FailureInfo
Returns
Type Description
RecrawlUrisResponse.Builder

addFailureSamples(int index, RecrawlUrisResponse.FailureInfo.Builder builderForValue)

public RecrawlUrisResponse.Builder addFailureSamples(int index, RecrawlUrisResponse.FailureInfo.Builder builderForValue)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
Name Description
index int
builderForValue RecrawlUrisResponse.FailureInfo.Builder
Returns
Type Description
RecrawlUrisResponse.Builder

addFailureSamplesBuilder()

public RecrawlUrisResponse.FailureInfo.Builder addFailureSamplesBuilder()

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

addFailureSamplesBuilder(int index)

public RecrawlUrisResponse.FailureInfo.Builder addFailureSamplesBuilder(int index)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecrawlUrisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

build()

public RecrawlUrisResponse build()
Returns
Type Description
RecrawlUrisResponse

buildPartial()

public RecrawlUrisResponse buildPartial()
Returns
Type Description
RecrawlUrisResponse

clear()

public RecrawlUrisResponse.Builder clear()
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

clearFailedUris()

public RecrawlUrisResponse.Builder clearFailedUris()

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Returns
Type Description
RecrawlUrisResponse.Builder

This builder for chaining.

clearFailureSamples()

public RecrawlUrisResponse.Builder clearFailureSamples()

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Returns
Type Description
RecrawlUrisResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public RecrawlUrisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecrawlUrisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

clone()

public RecrawlUrisResponse.Builder clone()
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

getDefaultInstanceForType()

public RecrawlUrisResponse getDefaultInstanceForType()
Returns
Type Description
RecrawlUrisResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFailedUris(int index)

public String getFailedUris(int index)

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The failedUris at the given index.

getFailedUrisBytes(int index)

public ByteString getFailedUrisBytes(int index)

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the failedUris at the given index.

getFailedUrisCount()

public int getFailedUrisCount()

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Returns
Type Description
int

The count of failedUris.

getFailedUrisList()

public ProtocolStringList getFailedUrisList()

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Returns
Type Description
ProtocolStringList

A list containing the failedUris.

getFailureSamples(int index)

public RecrawlUrisResponse.FailureInfo getFailureSamples(int index)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo

getFailureSamplesBuilder(int index)

public RecrawlUrisResponse.FailureInfo.Builder getFailureSamplesBuilder(int index)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfo.Builder

getFailureSamplesBuilderList()

public List<RecrawlUrisResponse.FailureInfo.Builder> getFailureSamplesBuilderList()

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Returns
Type Description
List<Builder>

getFailureSamplesCount()

public int getFailureSamplesCount()

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Returns
Type Description
int

getFailureSamplesList()

public List<RecrawlUrisResponse.FailureInfo> getFailureSamplesList()

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Returns
Type Description
List<FailureInfo>

getFailureSamplesOrBuilder(int index)

public RecrawlUrisResponse.FailureInfoOrBuilder getFailureSamplesOrBuilder(int index)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.FailureInfoOrBuilder

getFailureSamplesOrBuilderList()

public List<? extends RecrawlUrisResponse.FailureInfoOrBuilder> getFailureSamplesOrBuilderList()

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfoOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RecrawlUrisResponse other)

public RecrawlUrisResponse.Builder mergeFrom(RecrawlUrisResponse other)
Parameter
Name Description
other RecrawlUrisResponse
Returns
Type Description
RecrawlUrisResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecrawlUrisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RecrawlUrisResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

removeFailureSamples(int index)

public RecrawlUrisResponse.Builder removeFailureSamples(int index)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
Name Description
index int
Returns
Type Description
RecrawlUrisResponse.Builder

setFailedUris(int index, String value)

public RecrawlUrisResponse.Builder setFailedUris(int index, String value)

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The failedUris to set.

Returns
Type Description
RecrawlUrisResponse.Builder

This builder for chaining.

setFailureSamples(int index, RecrawlUrisResponse.FailureInfo value)

public RecrawlUrisResponse.Builder setFailureSamples(int index, RecrawlUrisResponse.FailureInfo value)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
Name Description
index int
value RecrawlUrisResponse.FailureInfo
Returns
Type Description
RecrawlUrisResponse.Builder

setFailureSamples(int index, RecrawlUrisResponse.FailureInfo.Builder builderForValue)

public RecrawlUrisResponse.Builder setFailureSamples(int index, RecrawlUrisResponse.FailureInfo.Builder builderForValue)

Details for a sample of up to 10 failed_uris.

repeated .google.cloud.discoveryengine.v1alpha.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
Name Description
index int
builderForValue RecrawlUrisResponse.FailureInfo.Builder
Returns
Type Description
RecrawlUrisResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecrawlUrisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RecrawlUrisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RecrawlUrisResponse.Builder
Overrides