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.v1.ImportDocumentsRequest.InlineSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
DOCUMENTS_FIELD_NUMBER
public static final int DOCUMENTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ImportDocumentsRequest.InlineSource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImportDocumentsRequest.InlineSource.Builder newBuilder()
newBuilder(ImportDocumentsRequest.InlineSource prototype)
public static ImportDocumentsRequest.InlineSource.Builder newBuilder(ImportDocumentsRequest.InlineSource prototype)
public static ImportDocumentsRequest.InlineSource parseDelimitedFrom(InputStream input)
public static ImportDocumentsRequest.InlineSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImportDocumentsRequest.InlineSource parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(CodedInputStream input)
public static ImportDocumentsRequest.InlineSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(InputStream input)
public static ImportDocumentsRequest.InlineSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportDocumentsRequest.InlineSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImportDocumentsRequest.InlineSource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ImportDocumentsRequest.InlineSource getDefaultInstanceForType()
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.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
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.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
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.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
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.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.DocumentOrBuilder> | |
getParserForType()
public Parser<ImportDocumentsRequest.InlineSource> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImportDocumentsRequest.InlineSource.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportDocumentsRequest.InlineSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ImportDocumentsRequest.InlineSource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides