Class RecrawlUrisMetadata.Builder (0.51.0)

public static final class RecrawlUrisMetadata.Builder extends GeneratedMessageV3.Builder<RecrawlUrisMetadata.Builder> implements RecrawlUrisMetadataOrBuilder

Metadata related to the progress of the SiteSearchEngineService.RecrawlUris operation. This will be returned by the google.longrunning.Operation.metadata field.

Protobuf type google.cloud.discoveryengine.v1beta.RecrawlUrisMetadata

Static Methods

getDescriptor()

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

Methods

addAllInvalidUris3(Iterable<String> values)

public RecrawlUrisMetadata.Builder addAllInvalidUris3(Iterable<String> values)

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Parameter
Name Description
values Iterable<String>

The invalidUris to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

addAllUrisNotMatchingTargetSites9(Iterable<String> values)

public RecrawlUrisMetadata.Builder addAllUrisNotMatchingTargetSites9(Iterable<String> values)

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Parameter
Name Description
values Iterable<String>

The urisNotMatchingTargetSites to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

addInvalidUris3(String value)

public RecrawlUrisMetadata.Builder addInvalidUris3(String value)

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Parameter
Name Description
value String

The invalidUris to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

addInvalidUris3Bytes(ByteString value)

public RecrawlUrisMetadata.Builder addInvalidUris3Bytes(ByteString value)

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Parameter
Name Description
value ByteString

The bytes of the invalidUris to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUrisNotMatchingTargetSites9(String value)

public RecrawlUrisMetadata.Builder addUrisNotMatchingTargetSites9(String value)

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Parameter
Name Description
value String

The urisNotMatchingTargetSites to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

addUrisNotMatchingTargetSites9Bytes(ByteString value)

public RecrawlUrisMetadata.Builder addUrisNotMatchingTargetSites9Bytes(ByteString value)

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Parameter
Name Description
value ByteString

The bytes of the urisNotMatchingTargetSites to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

build()

public RecrawlUrisMetadata build()
Returns
Type Description
RecrawlUrisMetadata

buildPartial()

public RecrawlUrisMetadata buildPartial()
Returns
Type Description
RecrawlUrisMetadata

clear()

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

clearCreateTime()

public RecrawlUrisMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
RecrawlUrisMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInvalidUris3()

public RecrawlUrisMetadata.Builder clearInvalidUris3()

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clearInvalidUrisCount8()

public RecrawlUrisMetadata.Builder clearInvalidUrisCount8()

Total number of unique URIs in the request that have invalid format.

int32 invalid_uris_count = 8;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPendingCount()

public RecrawlUrisMetadata.Builder clearPendingCount()

Total number of URIs that have yet to be crawled.

int32 pending_count = 6;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clearQuotaExceededCount()

public RecrawlUrisMetadata.Builder clearQuotaExceededCount()

Total number of URIs that were rejected due to insufficient indexing resources.

int32 quota_exceeded_count = 7;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clearSuccessCount()

public RecrawlUrisMetadata.Builder clearSuccessCount()

Total number of URIs that have been crawled so far.

int32 success_count = 5;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clearUpdateTime()

public RecrawlUrisMetadata.Builder clearUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
RecrawlUrisMetadata.Builder

clearUrisNotMatchingTargetSites9()

public RecrawlUrisMetadata.Builder clearUrisNotMatchingTargetSites9()

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clearUrisNotMatchingTargetSitesCount10()

public RecrawlUrisMetadata.Builder clearUrisNotMatchingTargetSitesCount10()

Total number of URIs that don't match any TargetSites.

int32 uris_not_matching_target_sites_count = 10;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clearValidUrisCount()

public RecrawlUrisMetadata.Builder clearValidUrisCount()

Total number of unique URIs in the request that are not in invalid_uris.

int32 valid_uris_count = 4;

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public RecrawlUrisMetadata getDefaultInstanceForType()
Returns
Type Description
RecrawlUrisMetadata

getDescriptorForType()

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

getInvalidUris3(int index)

public String getInvalidUris3(int index)

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The invalidUris at the given index.

getInvalidUris3Bytes(int index)

public ByteString getInvalidUris3Bytes(int index)

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the invalidUris at the given index.

getInvalidUris3Count()

public int getInvalidUris3Count()

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Returns
Type Description
int

The count of invalidUris.

getInvalidUris3List()

public ProtocolStringList getInvalidUris3List()

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Returns
Type Description
ProtocolStringList

A list containing the invalidUris.

getInvalidUrisCount8()

public int getInvalidUrisCount8()

Total number of unique URIs in the request that have invalid format.

int32 invalid_uris_count = 8;

Returns
Type Description
int

The invalidUrisCount.

getPendingCount()

public int getPendingCount()

Total number of URIs that have yet to be crawled.

int32 pending_count = 6;

Returns
Type Description
int

The pendingCount.

getQuotaExceededCount()

public int getQuotaExceededCount()

Total number of URIs that were rejected due to insufficient indexing resources.

int32 quota_exceeded_count = 7;

Returns
Type Description
int

The quotaExceededCount.

getSuccessCount()

public int getSuccessCount()

Total number of URIs that have been crawled so far.

int32 success_count = 5;

Returns
Type Description
int

The successCount.

getUpdateTime()

public Timestamp getUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
TimestampOrBuilder

getUrisNotMatchingTargetSites9(int index)

public String getUrisNotMatchingTargetSites9(int index)

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The urisNotMatchingTargetSites at the given index.

getUrisNotMatchingTargetSites9Bytes(int index)

public ByteString getUrisNotMatchingTargetSites9Bytes(int index)

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the urisNotMatchingTargetSites at the given index.

getUrisNotMatchingTargetSites9Count()

public int getUrisNotMatchingTargetSites9Count()

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Returns
Type Description
int

The count of urisNotMatchingTargetSites.

getUrisNotMatchingTargetSites9List()

public ProtocolStringList getUrisNotMatchingTargetSites9List()

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Returns
Type Description
ProtocolStringList

A list containing the urisNotMatchingTargetSites.

getUrisNotMatchingTargetSitesCount10()

public int getUrisNotMatchingTargetSitesCount10()

Total number of URIs that don't match any TargetSites.

int32 uris_not_matching_target_sites_count = 10;

Returns
Type Description
int

The urisNotMatchingTargetSitesCount.

getValidUrisCount()

public int getValidUrisCount()

Total number of unique URIs in the request that are not in invalid_uris.

int32 valid_uris_count = 4;

Returns
Type Description
int

The validUrisCount.

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public RecrawlUrisMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
RecrawlUrisMetadata.Builder

mergeFrom(RecrawlUrisMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public RecrawlUrisMetadata.Builder mergeUpdateTime(Timestamp value)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RecrawlUrisMetadata.Builder

setCreateTime(Timestamp value)

public RecrawlUrisMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
RecrawlUrisMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public RecrawlUrisMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RecrawlUrisMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInvalidUris3(int index, String value)

public RecrawlUrisMetadata.Builder setInvalidUris3(int index, String value)

Unique URIs in the request that have invalid format. Sample limited to 1000.

repeated string invalid_uris = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The invalidUris to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

setInvalidUrisCount8(int value)

public RecrawlUrisMetadata.Builder setInvalidUrisCount8(int value)

Total number of unique URIs in the request that have invalid format.

int32 invalid_uris_count = 8;

Parameter
Name Description
value int

The invalidUrisCount to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

setPendingCount(int value)

public RecrawlUrisMetadata.Builder setPendingCount(int value)

Total number of URIs that have yet to be crawled.

int32 pending_count = 6;

Parameter
Name Description
value int

The pendingCount to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

setQuotaExceededCount(int value)

public RecrawlUrisMetadata.Builder setQuotaExceededCount(int value)

Total number of URIs that were rejected due to insufficient indexing resources.

int32 quota_exceeded_count = 7;

Parameter
Name Description
value int

The quotaExceededCount to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

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

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

setSuccessCount(int value)

public RecrawlUrisMetadata.Builder setSuccessCount(int value)

Total number of URIs that have been crawled so far.

int32 success_count = 5;

Parameter
Name Description
value int

The successCount to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public RecrawlUrisMetadata.Builder setUpdateTime(Timestamp value)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RecrawlUrisMetadata.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public RecrawlUrisMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)

Operation last update time. If the operation is done, this is also the finish time.

.google.protobuf.Timestamp update_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RecrawlUrisMetadata.Builder

setUrisNotMatchingTargetSites9(int index, String value)

public RecrawlUrisMetadata.Builder setUrisNotMatchingTargetSites9(int index, String value)

Unique URIs in the request that don't match any TargetSite in the DataStore, only match TargetSites that haven't been fully indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000.

repeated string uris_not_matching_target_sites = 9;

Parameters
Name Description
index int

The index to set the value at.

value String

The urisNotMatchingTargetSites to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

setUrisNotMatchingTargetSitesCount10(int value)

public RecrawlUrisMetadata.Builder setUrisNotMatchingTargetSitesCount10(int value)

Total number of URIs that don't match any TargetSites.

int32 uris_not_matching_target_sites_count = 10;

Parameter
Name Description
value int

The urisNotMatchingTargetSitesCount to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

setValidUrisCount(int value)

public RecrawlUrisMetadata.Builder setValidUrisCount(int value)

Total number of unique URIs in the request that are not in invalid_uris.

int32 valid_uris_count = 4;

Parameter
Name Description
value int

The validUrisCount to set.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.