public static final class ImportDocumentsRequest.InlineSource extends GeneratedMessageV3 implements ImportDocumentsRequest.InlineSourceOrBuilder
The inline source for the input config for ImportDocuments method.
Protobuf type google.cloud.discoveryengine.v1beta.ImportDocumentsRequest.InlineSource
Static Fields
DOCUMENTS_FIELD_NUMBER
public static final int DOCUMENTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ImportDocumentsRequest.InlineSource getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ImportDocumentsRequest.InlineSource.Builder newBuilder()
Returns
newBuilder(ImportDocumentsRequest.InlineSource prototype)
public static ImportDocumentsRequest.InlineSource.Builder newBuilder(ImportDocumentsRequest.InlineSource prototype)
Parameter
Returns
public static ImportDocumentsRequest.InlineSource parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportDocumentsRequest.InlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ImportDocumentsRequest.InlineSource parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportDocumentsRequest.InlineSource parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImportDocumentsRequest.InlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportDocumentsRequest.InlineSource parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportDocumentsRequest.InlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ImportDocumentsRequest.InlineSource> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ImportDocumentsRequest.InlineSource getDefaultInstanceForType()
Returns
getDocuments(int index)
public Document getDocuments(int index)
Required. A list of documents to update/create. Each document must have a
valid Document.id.
Recommended max of 100 items.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getDocumentsCount()
public int getDocumentsCount()
Required. A list of documents to update/create. Each document must have a
valid Document.id.
Recommended max of 100 items.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDocumentsList()
public List<Document> getDocumentsList()
Required. A list of documents to update/create. Each document must have a
valid Document.id.
Recommended max of 100 items.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDocumentsOrBuilder(int index)
public DocumentOrBuilder getDocumentsOrBuilder(int index)
Required. A list of documents to update/create. Each document must have a
valid Document.id.
Recommended max of 100 items.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getDocumentsOrBuilderList()
public List<? extends DocumentOrBuilder> getDocumentsOrBuilderList()
Required. A list of documents to update/create. Each document must have a
valid Document.id.
Recommended max of 100 items.
repeated .google.cloud.discoveryengine.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1beta.DocumentOrBuilder> | |
getParserForType()
public Parser<ImportDocumentsRequest.InlineSource> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ImportDocumentsRequest.InlineSource.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportDocumentsRequest.InlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ImportDocumentsRequest.InlineSource.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions