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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RecrawlUrisMetadata.Builder>
    • getDefaultInstanceForType

      public RecrawlUrisMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RecrawlUrisMetadata build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RecrawlUrisMetadata buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RecrawlUrisMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecrawlUrisMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecrawlUrisMetadata.Builder>
      Throws:
      IOException
    • hasCreateTime

      public boolean hasCreateTime()
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
      Specified by:
      hasCreateTime in interface RecrawlUrisMetadataOrBuilder
      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:
      getCreateTime in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public RecrawlUrisMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
       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

      public RecrawlUrisMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Operation create time.
       
      .google.protobuf.Timestamp create_time = 1;
    • clearCreateTime

      public RecrawlUrisMetadata.Builder 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:
      getCreateTimeOrBuilder in interface RecrawlUrisMetadataOrBuilder
    • 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:
      hasUpdateTime in interface RecrawlUrisMetadataOrBuilder
      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:
      getUpdateTime in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public RecrawlUrisMetadata.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       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

      public RecrawlUrisMetadata.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Operation last update time. If the operation is done, this is also the
       finish time.
       
      .google.protobuf.Timestamp update_time = 2;
    • 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;
    • 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:
      getUpdateTimeOrBuilder in interface RecrawlUrisMetadataOrBuilder
    • 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:
      getInvalidUris3List in interface RecrawlUrisMetadataOrBuilder
      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:
      getInvalidUris3Count in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The count of invalidUris.
    • getInvalidUris3

      public String getInvalidUris3(int index)
       Unique URIs in the request that have invalid format. Sample limited to
       1000.
       
      repeated string invalid_uris = 3;
      Specified by:
      getInvalidUris3 in interface RecrawlUrisMetadataOrBuilder
      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:
      getInvalidUris3Bytes in interface RecrawlUrisMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the invalidUris at the given index.
    • setInvalidUris3

      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:
      index - The index to set the value at.
      value - The invalidUris to set.
      Returns:
      This builder for chaining.
    • addInvalidUris3

      public RecrawlUrisMetadata.Builder addInvalidUris3(String value)
       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

      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;
      Parameters:
      values - The invalidUris to add.
      Returns:
      This builder for chaining.
    • clearInvalidUris3

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

      public RecrawlUrisMetadata.Builder addInvalidUris3Bytes(com.google.protobuf.ByteString value)
       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:
      getInvalidUrisCount8 in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The invalidUrisCount.
    • setInvalidUrisCount8

      public RecrawlUrisMetadata.Builder setInvalidUrisCount8(int value)
       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

      public RecrawlUrisMetadata.Builder 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:
      getUrisNotMatchingTargetSites9List in interface RecrawlUrisMetadataOrBuilder
      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:
      getUrisNotMatchingTargetSites9Count in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The count of urisNotMatchingTargetSites.
    • getUrisNotMatchingTargetSites9

      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;
      Specified by:
      getUrisNotMatchingTargetSites9 in interface RecrawlUrisMetadataOrBuilder
      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:
      getUrisNotMatchingTargetSites9Bytes in interface RecrawlUrisMetadataOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the urisNotMatchingTargetSites at the given index.
    • setUrisNotMatchingTargetSites9

      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:
      index - The index to set the value at.
      value - The urisNotMatchingTargetSites to set.
      Returns:
      This builder for chaining.
    • addUrisNotMatchingTargetSites9

      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;
      Parameters:
      value - The urisNotMatchingTargetSites to add.
      Returns:
      This builder for chaining.
    • addAllUrisNotMatchingTargetSites9

      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;
      Parameters:
      values - The urisNotMatchingTargetSites to add.
      Returns:
      This builder for chaining.
    • 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:
      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:
      getUrisNotMatchingTargetSitesCount10 in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The urisNotMatchingTargetSitesCount.
    • setUrisNotMatchingTargetSitesCount10

      public RecrawlUrisMetadata.Builder setUrisNotMatchingTargetSitesCount10(int value)
       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

      public RecrawlUrisMetadata.Builder 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:
      getValidUrisCount in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The validUrisCount.
    • setValidUrisCount

      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;
      Parameters:
      value - The validUrisCount to set.
      Returns:
      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:
      This builder for chaining.
    • getSuccessCount

      public int getSuccessCount()
       Total number of URIs that have been crawled so far.
       
      int32 success_count = 5;
      Specified by:
      getSuccessCount in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The successCount.
    • setSuccessCount

      public RecrawlUrisMetadata.Builder setSuccessCount(int value)
       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

      public RecrawlUrisMetadata.Builder 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:
      getPendingCount in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The pendingCount.
    • setPendingCount

      public RecrawlUrisMetadata.Builder setPendingCount(int value)
       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

      public RecrawlUrisMetadata.Builder 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:
      getQuotaExceededCount in interface RecrawlUrisMetadataOrBuilder
      Returns:
      The quotaExceededCount.
    • setQuotaExceededCount

      public RecrawlUrisMetadata.Builder setQuotaExceededCount(int value)
       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

      public RecrawlUrisMetadata.Builder clearQuotaExceededCount()
       Total number of URIs that were rejected due to insufficient indexing
       resources.
       
      int32 quota_exceeded_count = 7;
      Returns:
      This builder for chaining.