Class RecrawlUrisMetadata.Builder (0.36.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
TypeDescription
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
NameDescription
valuesIterable<String>

The invalidUris to add.

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

The invalidUris to add.

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

The bytes of the invalidUris to add.

Returns
TypeDescription
RecrawlUrisMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RecrawlUrisMetadata build()
Returns
TypeDescription
RecrawlUrisMetadata

buildPartial()

public RecrawlUrisMetadata buildPartial()
Returns
TypeDescription
RecrawlUrisMetadata

clear()

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

clearCreateTime()

public RecrawlUrisMetadata.Builder clearCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
RecrawlUrisMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public RecrawlUrisMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RecrawlUrisMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPendingCount()

public RecrawlUrisMetadata.Builder clearPendingCount()

Total number of URIs that have yet to be crawled.

int32 pending_count = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RecrawlUrisMetadata.Builder

This builder for chaining.

clone()

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

getCreateTime()

public Timestamp getCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public RecrawlUrisMetadata getDefaultInstanceForType()
Returns
TypeDescription
RecrawlUrisMetadata

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

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

The quotaExceededCount.

getSuccessCount()

public int getSuccessCount()

Total number of URIs that have been crawled so far.

int32 success_count = 5;

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

The validUrisCount.

hasCreateTime()

public boolean hasCreateTime()

Operation create time.

.google.protobuf.Timestamp create_time = 1;

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

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public RecrawlUrisMetadata.Builder mergeCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
RecrawlUrisMetadata.Builder

mergeFrom(RecrawlUrisMetadata other)

public RecrawlUrisMetadata.Builder mergeFrom(RecrawlUrisMetadata other)
Parameter
NameDescription
otherRecrawlUrisMetadata
Returns
TypeDescription
RecrawlUrisMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
RecrawlUrisMetadata.Builder

setCreateTime(Timestamp value)

public RecrawlUrisMetadata.Builder setCreateTime(Timestamp value)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
RecrawlUrisMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public RecrawlUrisMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Operation create time.

.google.protobuf.Timestamp create_time = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
RecrawlUrisMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RecrawlUrisMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The invalidUris to set.

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

The pendingCount to set.

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

The quotaExceededCount to set.

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

The successCount to set.

Returns
TypeDescription
RecrawlUrisMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RecrawlUrisMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueint

The validUrisCount to set.

Returns
TypeDescription
RecrawlUrisMetadata.Builder

This builder for chaining.