public static final class BatchGetDocumentsMetadataResponse.Builder extends GeneratedMessage.Builder<BatchGetDocumentsMetadataResponse.Builder> implements BatchGetDocumentsMetadataResponseOrBuilder
Response message for
DocumentService.BatchGetDocumentsMetadata
method.
Protobuf type google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchGetDocumentsMetadataResponse.Builder addAllDocumentsMetadata(Iterable<? extends BatchGetDocumentsMetadataResponse.DocumentMetadata> values)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata>
|
public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(BatchGetDocumentsMetadataResponse.DocumentMetadata value)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata value)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder addDocumentsMetadataBuilder()
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder addDocumentsMetadataBuilder(int index)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Parameter |
| Name |
Description |
index |
int
|
public BatchGetDocumentsMetadataResponse build()
public BatchGetDocumentsMetadataResponse buildPartial()
public BatchGetDocumentsMetadataResponse.Builder clear()
Overrides
public BatchGetDocumentsMetadataResponse.Builder clearDocumentsMetadata()
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public BatchGetDocumentsMetadataResponse.DocumentMetadata getDocumentsMetadata(int index)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Parameter |
| Name |
Description |
index |
int
|
public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder getDocumentsMetadataBuilder(int index)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Parameter |
| Name |
Description |
index |
int
|
public List<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder> getDocumentsMetadataBuilderList()
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public int getDocumentsMetadataCount()
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Returns |
| Type |
Description |
int |
|
public List<BatchGetDocumentsMetadataResponse.DocumentMetadata> getDocumentsMetadataList()
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder getDocumentsMetadataOrBuilder(int index)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder> getDocumentsMetadataOrBuilderList()
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchGetDocumentsMetadataResponse.Builder mergeFrom(BatchGetDocumentsMetadataResponse other)
public BatchGetDocumentsMetadataResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchGetDocumentsMetadataResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public BatchGetDocumentsMetadataResponse.Builder removeDocumentsMetadata(int index)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
| Parameter |
| Name |
Description |
index |
int
|
public BatchGetDocumentsMetadataResponse.Builder setDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata value)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;
public BatchGetDocumentsMetadataResponse.Builder setDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)
The metadata of the Documents.
repeated .google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;