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.v1beta.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.v1beta.SiteSearchEngineService.RecrawlUris] operation. This will be returned by the google.longrunning.Operation.metadata field.Protobuf type
google.cloud.discoveryengine.v1beta.RecrawlUrisMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAllInvalidUris3(Iterable<String> values) Unique URIs in the request that have invalid format.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.addInvalidUris3(String value) Unique URIs in the request that have invalid format.addInvalidUris3Bytes(com.google.protobuf.ByteString value) Unique URIs in the request that have invalid format.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.addUrisNotMatchingTargetSites9Bytes(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 have invalid format.Total number of unique URIs in the request that have invalid format.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.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 don't match any TargetSites.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.DescriptorgetInvalidUris3(int index) Unique URIs in the request that have invalid format.com.google.protobuf.ByteStringgetInvalidUris3Bytes(int index) Unique URIs in the request that have invalid format.intUnique URIs in the request that have invalid format.com.google.protobuf.ProtocolStringListUnique URIs in the request that have invalid format.intTotal number of unique URIs in the request that have invalid format.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.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.com.google.protobuf.ByteStringgetUrisNotMatchingTargetSites9Bytes(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 don't match any TargetSites.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.setInvalidUris3(int index, String value) Unique URIs in the request that have invalid format.setInvalidUrisCount8(int value) Total number of unique URIs in the request that have invalid format.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.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.setUrisNotMatchingTargetSitesCount10(int value) Total number of URIs that don't match any TargetSites.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
-
getInvalidUris3List
public com.google.protobuf.ProtocolStringList getInvalidUris3List()Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Specified by:
getInvalidUris3Listin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- A list containing the invalidUris.
-
getInvalidUris3Count
public int getInvalidUris3Count()Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Specified by:
getInvalidUris3Countin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The count of invalidUris.
-
getInvalidUris3
Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Specified by:
getInvalidUris3in interfaceRecrawlUrisMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The invalidUris at the given index.
-
getInvalidUris3Bytes
public com.google.protobuf.ByteString getInvalidUris3Bytes(int index) Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Specified by:
getInvalidUris3Bytesin interfaceRecrawlUrisMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the invalidUris at the given index.
-
setInvalidUris3
Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Parameters:
index- The index to set the value at.value- The invalidUris to set.- Returns:
- This builder for chaining.
-
addInvalidUris3
Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Parameters:
value- The invalidUris to add.- Returns:
- This builder for chaining.
-
addAllInvalidUris3
Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Parameters:
values- The invalidUris to add.- Returns:
- This builder for chaining.
-
clearInvalidUris3
Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Returns:
- This builder for chaining.
-
addInvalidUris3Bytes
Unique URIs in the request that have invalid format. Sample limited to 1000.
repeated string invalid_uris = 3;- Parameters:
value- The bytes of the invalidUris to add.- Returns:
- This builder for chaining.
-
getInvalidUrisCount8
public int getInvalidUrisCount8()Total number of unique URIs in the request that have invalid format.
int32 invalid_uris_count = 8;- Specified by:
getInvalidUrisCount8in interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The invalidUrisCount.
-
setInvalidUrisCount8
Total number of unique URIs in the request that have invalid format.
int32 invalid_uris_count = 8;- Parameters:
value- The invalidUrisCount to set.- Returns:
- This builder for chaining.
-
clearInvalidUrisCount8
Total number of unique URIs in the request that have invalid format.
int32 invalid_uris_count = 8;- Returns:
- This builder for chaining.
-
getUrisNotMatchingTargetSites9List
public com.google.protobuf.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;- Specified by:
getUrisNotMatchingTargetSites9Listin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- A list containing the urisNotMatchingTargetSites.
-
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;- Specified by:
getUrisNotMatchingTargetSites9Countin interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The count of urisNotMatchingTargetSites.
-
getUrisNotMatchingTargetSites9
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;- Specified by:
getUrisNotMatchingTargetSites9in interfaceRecrawlUrisMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The urisNotMatchingTargetSites at the given index.
-
getUrisNotMatchingTargetSites9Bytes
public com.google.protobuf.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;- Specified by:
getUrisNotMatchingTargetSites9Bytesin interfaceRecrawlUrisMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the urisNotMatchingTargetSites at the given index.
-
setUrisNotMatchingTargetSites9
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:
index- The index to set the value at.value- The urisNotMatchingTargetSites to set.- Returns:
- This builder for chaining.
-
addUrisNotMatchingTargetSites9
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:
value- The urisNotMatchingTargetSites to add.- Returns:
- This builder for chaining.
-
addAllUrisNotMatchingTargetSites9
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:
values- The urisNotMatchingTargetSites to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addUrisNotMatchingTargetSites9Bytes
public RecrawlUrisMetadata.Builder addUrisNotMatchingTargetSites9Bytes(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. Sample limited to 1000.
repeated string uris_not_matching_target_sites = 9;- Parameters:
value- The bytes of the urisNotMatchingTargetSites to add.- Returns:
- This builder for chaining.
-
getUrisNotMatchingTargetSitesCount10
public int getUrisNotMatchingTargetSitesCount10()Total number of URIs that don't match any TargetSites.
int32 uris_not_matching_target_sites_count = 10;- Specified by:
getUrisNotMatchingTargetSitesCount10in interfaceRecrawlUrisMetadataOrBuilder- Returns:
- The urisNotMatchingTargetSitesCount.
-
setUrisNotMatchingTargetSitesCount10
Total number of URIs that don't match any TargetSites.
int32 uris_not_matching_target_sites_count = 10;- Parameters:
value- The urisNotMatchingTargetSitesCount to set.- Returns:
- This builder for chaining.
-
clearUrisNotMatchingTargetSitesCount10
Total number of URIs that don't match any TargetSites.
int32 uris_not_matching_target_sites_count = 10;- 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.
-