Class Document.IndexStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder>
com.google.cloud.discoveryengine.v1beta.Document.IndexStatus.Builder
All Implemented Interfaces:
Document.IndexStatusOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Document.IndexStatus

public static final class Document.IndexStatus.Builder extends com.google.protobuf.GeneratedMessage.Builder<Document.IndexStatus.Builder> implements Document.IndexStatusOrBuilder
 Index status of the document.
 
Protobuf type google.cloud.discoveryengine.v1beta.Document.IndexStatus
  • 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<Document.IndexStatus.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<Document.IndexStatus.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<Document.IndexStatus.Builder>
    • getDefaultInstanceForType

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

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

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

      public Document.IndexStatus.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<Document.IndexStatus.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<Document.IndexStatus.Builder>
    • mergeFrom

      public Document.IndexStatus.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<Document.IndexStatus.Builder>
      Throws:
      IOException
    • hasIndexTime

      public boolean hasIndexTime()
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
      Specified by:
      hasIndexTime in interface Document.IndexStatusOrBuilder
      Returns:
      Whether the indexTime field is set.
    • getIndexTime

      public com.google.protobuf.Timestamp getIndexTime()
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
      Specified by:
      getIndexTime in interface Document.IndexStatusOrBuilder
      Returns:
      The indexTime.
    • setIndexTime

      public Document.IndexStatus.Builder setIndexTime(com.google.protobuf.Timestamp value)
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
    • setIndexTime

      public Document.IndexStatus.Builder setIndexTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
    • mergeIndexTime

      public Document.IndexStatus.Builder mergeIndexTime(com.google.protobuf.Timestamp value)
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
    • clearIndexTime

      public Document.IndexStatus.Builder clearIndexTime()
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
    • getIndexTimeBuilder

      public com.google.protobuf.Timestamp.Builder getIndexTimeBuilder()
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
    • getIndexTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getIndexTimeOrBuilder()
       The time when the document was indexed.
       If this field is populated, it means the document has been indexed.
       
      .google.protobuf.Timestamp index_time = 1;
      Specified by:
      getIndexTimeOrBuilder in interface Document.IndexStatusOrBuilder
    • getErrorSamplesList

      public List<Status> getErrorSamplesList()
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
      Specified by:
      getErrorSamplesList in interface Document.IndexStatusOrBuilder
    • getErrorSamplesCount

      public int getErrorSamplesCount()
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
      Specified by:
      getErrorSamplesCount in interface Document.IndexStatusOrBuilder
    • getErrorSamples

      public Status getErrorSamples(int index)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
      Specified by:
      getErrorSamples in interface Document.IndexStatusOrBuilder
    • setErrorSamples

      public Document.IndexStatus.Builder setErrorSamples(int index, Status value)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • setErrorSamples

      public Document.IndexStatus.Builder setErrorSamples(int index, Status.Builder builderForValue)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • addErrorSamples

      public Document.IndexStatus.Builder addErrorSamples(Status value)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • addErrorSamples

      public Document.IndexStatus.Builder addErrorSamples(int index, Status value)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • addErrorSamples

      public Document.IndexStatus.Builder addErrorSamples(Status.Builder builderForValue)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • addErrorSamples

      public Document.IndexStatus.Builder addErrorSamples(int index, Status.Builder builderForValue)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • addAllErrorSamples

      public Document.IndexStatus.Builder addAllErrorSamples(Iterable<? extends Status> values)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • clearErrorSamples

      public Document.IndexStatus.Builder clearErrorSamples()
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • removeErrorSamples

      public Document.IndexStatus.Builder removeErrorSamples(int index)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • getErrorSamplesBuilder

      public Status.Builder getErrorSamplesBuilder(int index)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • getErrorSamplesOrBuilder

      public StatusOrBuilder getErrorSamplesOrBuilder(int index)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
      Specified by:
      getErrorSamplesOrBuilder in interface Document.IndexStatusOrBuilder
    • getErrorSamplesOrBuilderList

      public List<? extends StatusOrBuilder> getErrorSamplesOrBuilderList()
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
      Specified by:
      getErrorSamplesOrBuilderList in interface Document.IndexStatusOrBuilder
    • addErrorSamplesBuilder

      public Status.Builder addErrorSamplesBuilder()
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • addErrorSamplesBuilder

      public Status.Builder addErrorSamplesBuilder(int index)
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;
    • getErrorSamplesBuilderList

      public List<Status.Builder> getErrorSamplesBuilderList()
       A sample of errors encountered while indexing the document.
       If this field is populated, the document is not indexed due to errors.
       
      repeated .google.rpc.Status error_samples = 2;