public static final class BatchGetDocumentsMetadataResponse.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsMetadataResponse.Builder> implements BatchGetDocumentsMetadataResponseOrBuilder
Response message for
DocumentService.BatchGetDocumentsMetadata
method.
Protobuf type google.cloud.discoveryengine.v1.BatchGetDocumentsMetadataResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchGetDocumentsMetadataResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchGetDocumentsMetadataResponse.Builder clone()
Overrides
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 GeneratedMessageV3.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 final BatchGetDocumentsMetadataResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
public BatchGetDocumentsMetadataResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchGetDocumentsMetadataResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final BatchGetDocumentsMetadataResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides