Interface PurgeDocumentsRequest.InlineSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PurgeDocumentsRequest.InlineSource, PurgeDocumentsRequest.InlineSource.Builder
Enclosing class:
PurgeDocumentsRequest

public static interface PurgeDocumentsRequest.InlineSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getDocuments(int index)
    Required.
    com.google.protobuf.ByteString
    getDocumentsBytes(int index)
    Required.
    int
    Required.
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDocumentsList

      List<String> getDocumentsList()
       Required. A list of full resource name of documents to purge. In the
       format
       `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.
       Recommended max of 100 items.
       
      repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the documents.
    • getDocumentsCount

      int getDocumentsCount()
       Required. A list of full resource name of documents to purge. In the
       format
       `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.
       Recommended max of 100 items.
       
      repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The count of documents.
    • getDocuments

      String getDocuments(int index)
       Required. A list of full resource name of documents to purge. In the
       format
       `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.
       Recommended max of 100 items.
       
      repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The documents at the given index.
    • getDocumentsBytes

      com.google.protobuf.ByteString getDocumentsBytes(int index)
       Required. A list of full resource name of documents to purge. In the
       format
       `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`.
       Recommended max of 100 items.
       
      repeated string documents = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the documents at the given index.