Class ImportDocumentsRequest.InlineSource

    • Field Detail

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getDocumentsList

        public List<Document> getDocumentsList()
         Required. A list of documents to update/create. Each document must have a
         valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id].
         Recommended max of 100 items.
         
        repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDocumentsList in interface ImportDocumentsRequest.InlineSourceOrBuilder
      • getDocumentsOrBuilderList

        public List<? extends DocumentOrBuilder> getDocumentsOrBuilderList()
         Required. A list of documents to update/create. Each document must have a
         valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id].
         Recommended max of 100 items.
         
        repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDocumentsOrBuilderList in interface ImportDocumentsRequest.InlineSourceOrBuilder
      • getDocumentsCount

        public int getDocumentsCount()
         Required. A list of documents to update/create. Each document must have a
         valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id].
         Recommended max of 100 items.
         
        repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDocumentsCount in interface ImportDocumentsRequest.InlineSourceOrBuilder
      • getDocuments

        public Document getDocuments​(int index)
         Required. A list of documents to update/create. Each document must have a
         valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id].
         Recommended max of 100 items.
         
        repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDocuments in interface ImportDocumentsRequest.InlineSourceOrBuilder
      • getDocumentsOrBuilder

        public DocumentOrBuilder getDocumentsOrBuilder​(int index)
         Required. A list of documents to update/create. Each document must have a
         valid [Document.id][google.cloud.discoveryengine.v1beta.Document.id].
         Recommended max of 100 items.
         
        repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDocumentsOrBuilder in interface ImportDocumentsRequest.InlineSourceOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static ImportDocumentsRequest.InlineSource parseFrom​(ByteBuffer data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ImportDocumentsRequest.InlineSource parseFrom​(com.google.protobuf.ByteString data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ImportDocumentsRequest.InlineSource parseFrom​(com.google.protobuf.ByteString data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ImportDocumentsRequest.InlineSource parseFrom​(byte[] data)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ImportDocumentsRequest.InlineSource parseFrom​(byte[] data,
                                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public ImportDocumentsRequest.InlineSource.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected ImportDocumentsRequest.InlineSource.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<ImportDocumentsRequest.InlineSource> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public ImportDocumentsRequest.InlineSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder