Class RecrawlUrisMetadata.Builder (0.40.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.v1alpha.RecrawlUrisMetadata

Static Methods

getDescriptor()

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

Methods

addAllInvalidUris(Iterable<String> values)

public RecrawlUrisMetadata.Builder addAllInvalidUris(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.

repeated string invalid_uris = 3;

Parameter
Name Description
values Iterable<String>

The invalidUris to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

addInvalidUris(String value)

public RecrawlUrisMetadata.Builder addInvalidUris(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.

repeated string invalid_uris = 3;

Parameter
Name Description
value String

The invalidUris to add.

Returns
Type Description
RecrawlUrisMetadata.Builder

This builder for chaining.

addInvalidUrisBytes(ByteString value)

public RecrawlUrisMetadata.Builder addInvalidUrisBytes(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.

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

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

clearInvalidUris()

public RecrawlUrisMetadata.Builder clearInvalidUris()

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.

repeated string invalid_uris = 3;

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

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

getInvalidUris(int index)

public String getInvalidUris(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.

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.

getInvalidUrisBytes(int index)

public ByteString getInvalidUrisBytes(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.

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.

getInvalidUrisCount()

public int getInvalidUrisCount()

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.

repeated string invalid_uris = 3;

Returns
Type Description
int

The count of invalidUris.

getInvalidUrisList()

public ProtocolStringList getInvalidUrisList()

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.

repeated string invalid_uris = 3;

Returns
Type Description
ProtocolStringList

A list containing the invalidUris.

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

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

setInvalidUris(int index, String value)

public RecrawlUrisMetadata.Builder setInvalidUris(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.

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.

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

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.