Class RecrawlUrisMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
com.google.cloud.discoveryengine.v1alpha.RecrawlUrisMetadata.Builder
- All Implemented Interfaces:
RecrawlUrisMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RecrawlUrisMetadata
public static final class RecrawlUrisMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
implements RecrawlUrisMetadataOrBuilder
Metadata related to the progress of the [SiteSearchEngineService.RecrawlUris][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.RecrawlUris] operation. This will be returned by the google.longrunning.Operation.metadata field.Protobuf type
google.cloud.discoveryengine.v1alpha.RecrawlUrisMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllInvalidUris(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.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.addInvalidUrisBytes(com.google.protobuf.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.build()clear()Operation create time.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.Total number of URIs that have yet to be crawled.Total number of URIs that were rejected due to insufficient indexing resources.Total number of URIs that have been crawled so far.Operation last update time.Total number of unique URIs in the request that are not in invalid_uris.com.google.protobuf.TimestampOperation create time.com.google.protobuf.Timestamp.BuilderOperation create time.com.google.protobuf.TimestampOrBuilderOperation create time.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInvalidUris(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.com.google.protobuf.ByteStringgetInvalidUrisBytes(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.intUnique 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.com.google.protobuf.ProtocolStringListUnique 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.intTotal number of URIs that have yet to be crawled.intTotal number of URIs that were rejected due to insufficient indexing resources.intTotal number of URIs that have been crawled so far.com.google.protobuf.TimestampOperation last update time.com.google.protobuf.Timestamp.BuilderOperation last update time.com.google.protobuf.TimestampOrBuilderOperation last update time.intTotal number of unique URIs in the request that are not in invalid_uris.booleanOperation create time.booleanOperation last update time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Operation create time.mergeFrom(RecrawlUrisMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Operation last update time.setCreateTime(com.google.protobuf.Timestamp value) Operation create time.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation create time.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.setPendingCount(int value) Total number of URIs that have yet to be crawled.setQuotaExceededCount(int value) Total number of URIs that were rejected due to insufficient indexing resources.setSuccessCount(int value) Total number of URIs that have been crawled so far.setUpdateTime(com.google.protobuf.Timestamp value) Operation last update time.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation last update time.setValidUrisCount(int value) Total number of unique URIs in the request that are not in invalid_uris.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecrawlUrisMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
-
mergeFrom
public RecrawlUrisMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecrawlUrisMetadata.Builder>- Throws:
IOException
-
hasCreateTime
public boolean hasCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Specified by:
hasCreateTimein interfaceRecrawlUrisMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Specified by:
getCreateTimein interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 1; -
setCreateTime
public RecrawlUrisMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation create time.
.google.protobuf.Timestamp create_time = 1; -
mergeCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 1; -
clearCreateTime
Operation create time.
.google.protobuf.Timestamp create_time = 1; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Operation create time.
.google.protobuf.Timestamp create_time = 1; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Operation create time.
.google.protobuf.Timestamp create_time = 1;- Specified by:
getCreateTimeOrBuilderin interfaceRecrawlUrisMetadataOrBuilder
-
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;- Specified by:
hasUpdateTimein interfaceRecrawlUrisMetadataOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2;- Specified by:
getUpdateTimein interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
setUpdateTime
public RecrawlUrisMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
mergeUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
clearUpdateTime
Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Operation last update time. If the operation is done, this is also the finish time.
.google.protobuf.Timestamp update_time = 2;- Specified by:
getUpdateTimeOrBuilderin interfaceRecrawlUrisMetadataOrBuilder
-
getInvalidUrisList
public com.google.protobuf.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;- Specified by:
getInvalidUrisListin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- A list containing the invalidUris.
-
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;- Specified by:
getInvalidUrisCountin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The count of invalidUris.
-
getInvalidUris
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;- Specified by:
getInvalidUrisin interfaceRecrawlUrisMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The invalidUris at the given index.
-
getInvalidUrisBytes
public com.google.protobuf.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;- Specified by:
getInvalidUrisBytesin interfaceRecrawlUrisMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the invalidUris at the given index.
-
setInvalidUris
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:
index- The index to set the value at.value- The invalidUris to set.- Returns:
- This builder for chaining.
-
addInvalidUris
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:
value- The invalidUris to add.- Returns:
- This builder for chaining.
-
addAllInvalidUris
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:
values- The invalidUris to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addInvalidUrisBytes
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:
value- The bytes of the invalidUris to add.- Returns:
- This builder for chaining.
-
getValidUrisCount
public int getValidUrisCount()Total number of unique URIs in the request that are not in invalid_uris.
int32 valid_uris_count = 4;- Specified by:
getValidUrisCountin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The validUrisCount.
-
setValidUrisCount
Total number of unique URIs in the request that are not in invalid_uris.
int32 valid_uris_count = 4;- Parameters:
value- The validUrisCount to set.- Returns:
- This builder for chaining.
-
clearValidUrisCount
Total number of unique URIs in the request that are not in invalid_uris.
int32 valid_uris_count = 4;- Returns:
- This builder for chaining.
-
getSuccessCount
public int getSuccessCount()Total number of URIs that have been crawled so far.
int32 success_count = 5;- Specified by:
getSuccessCountin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The successCount.
-
setSuccessCount
Total number of URIs that have been crawled so far.
int32 success_count = 5;- Parameters:
value- The successCount to set.- Returns:
- This builder for chaining.
-
clearSuccessCount
Total number of URIs that have been crawled so far.
int32 success_count = 5;- Returns:
- This builder for chaining.
-
getPendingCount
public int getPendingCount()Total number of URIs that have yet to be crawled.
int32 pending_count = 6;- Specified by:
getPendingCountin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The pendingCount.
-
setPendingCount
Total number of URIs that have yet to be crawled.
int32 pending_count = 6;- Parameters:
value- The pendingCount to set.- Returns:
- This builder for chaining.
-
clearPendingCount
Total number of URIs that have yet to be crawled.
int32 pending_count = 6;- Returns:
- This builder for chaining.
-
getQuotaExceededCount
public int getQuotaExceededCount()Total number of URIs that were rejected due to insufficient indexing resources.
int32 quota_exceeded_count = 7;- Specified by:
getQuotaExceededCountin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The quotaExceededCount.
-
setQuotaExceededCount
Total number of URIs that were rejected due to insufficient indexing resources.
int32 quota_exceeded_count = 7;- Parameters:
value- The quotaExceededCount to set.- Returns:
- This builder for chaining.
-
clearQuotaExceededCount
Total number of URIs that were rejected due to insufficient indexing resources.
int32 quota_exceeded_count = 7;- Returns:
- This builder for chaining.
-