Class RecrawlUrisResponse.Builder (0.35.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.v1beta.RecrawlUrisResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The failedUris to add.

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo>
Returns
TypeDescription
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
NameDescription
valueString

The failedUris to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the failedUris to add.

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
valueRecrawlUrisResponse.FailureInfo
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
builderForValueRecrawlUrisResponse.FailureInfo.Builder
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
NameDescription
indexint
valueRecrawlUrisResponse.FailureInfo
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
NameDescription
indexint
builderForValueRecrawlUrisResponse.FailureInfo.Builder
Returns
TypeDescription
RecrawlUrisResponse.Builder

addFailureSamplesBuilder()

public RecrawlUrisResponse.FailureInfo.Builder addFailureSamplesBuilder()

Details for a sample of up to 10 failed_uris.

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

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RecrawlUrisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

build()

public RecrawlUrisResponse build()
Returns
TypeDescription
RecrawlUrisResponse

buildPartial()

public RecrawlUrisResponse buildPartial()
Returns
TypeDescription
RecrawlUrisResponse

clear()

public RecrawlUrisResponse.Builder clear()
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

clearFailedUris()

public RecrawlUrisResponse.Builder clearFailedUris()

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Returns
TypeDescription
RecrawlUrisResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public RecrawlUrisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RecrawlUrisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

clone()

public RecrawlUrisResponse.Builder clone()
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

getDefaultInstanceForType()

public RecrawlUrisResponse getDefaultInstanceForType()
Returns
TypeDescription
RecrawlUrisResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of failedUris.

getFailedUrisList()

public ProtocolStringList getFailedUrisList()

URIs that were not crawled before the LRO terminated.

repeated string failed_uris = 2;

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RecrawlUrisResponse.FailureInfo.Builder

getFailureSamplesBuilderList()

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

Details for a sample of up to 10 failed_uris.

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

Returns
TypeDescription
List<Builder>

getFailureSamplesCount()

public int getFailureSamplesCount()

Details for a sample of up to 10 failed_uris.

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

Returns
TypeDescription
int

getFailureSamplesList()

public List<RecrawlUrisResponse.FailureInfo> getFailureSamplesList()

Details for a sample of up to 10 failed_uris.

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

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
RecrawlUrisResponse.FailureInfoOrBuilder

getFailureSamplesOrBuilderList()

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

Details for a sample of up to 10 failed_uris.

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

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RecrawlUrisResponse other)

public RecrawlUrisResponse.Builder mergeFrom(RecrawlUrisResponse other)
Parameter
NameDescription
otherRecrawlUrisResponse
Returns
TypeDescription
RecrawlUrisResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RecrawlUrisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RecrawlUrisResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The failedUris to set.

Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
NameDescription
indexint
valueRecrawlUrisResponse.FailureInfo
Returns
TypeDescription
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.v1beta.RecrawlUrisResponse.FailureInfo failure_samples = 1;

Parameters
NameDescription
indexint
builderForValueRecrawlUrisResponse.FailureInfo.Builder
Returns
TypeDescription
RecrawlUrisResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecrawlUrisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

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

public RecrawlUrisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RecrawlUrisResponse.Builder
Overrides