Class BatchGetDocumentsMetadataResponse.Builder (0.48.0)

public static final class BatchGetDocumentsMetadataResponse.Builder extends GeneratedMessageV3.Builder<BatchGetDocumentsMetadataResponse.Builder> implements BatchGetDocumentsMetadataResponseOrBuilder

Response message for DocumentService.BatchGetDocumentsMetadata method.

Protobuf type google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDocumentsMetadata(Iterable<? extends BatchGetDocumentsMetadataResponse.DocumentMetadata> values)

public BatchGetDocumentsMetadataResponse.Builder addAllDocumentsMetadata(Iterable<? extends BatchGetDocumentsMetadataResponse.DocumentMetadata> values)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata>
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

addDocumentsMetadata(BatchGetDocumentsMetadataResponse.DocumentMetadata value)

public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(BatchGetDocumentsMetadataResponse.DocumentMetadata value)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
value BatchGetDocumentsMetadataResponse.DocumentMetadata
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

addDocumentsMetadata(BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)

public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
builderForValue BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

addDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata value)

public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata value)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameters
Name Description
index int
value BatchGetDocumentsMetadataResponse.DocumentMetadata
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

addDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)

public BatchGetDocumentsMetadataResponse.Builder addDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameters
Name Description
index int
builderForValue BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

addDocumentsMetadataBuilder()

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder addDocumentsMetadataBuilder()

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

addDocumentsMetadataBuilder(int index)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder addDocumentsMetadataBuilder(int index)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BatchGetDocumentsMetadataResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

build()

public BatchGetDocumentsMetadataResponse build()
Returns
Type Description
BatchGetDocumentsMetadataResponse

buildPartial()

public BatchGetDocumentsMetadataResponse buildPartial()
Returns
Type Description
BatchGetDocumentsMetadataResponse

clear()

public BatchGetDocumentsMetadataResponse.Builder clear()
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

clearDocumentsMetadata()

public BatchGetDocumentsMetadataResponse.Builder clearDocumentsMetadata()

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public BatchGetDocumentsMetadataResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BatchGetDocumentsMetadataResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

clone()

public BatchGetDocumentsMetadataResponse.Builder clone()
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

getDefaultInstanceForType()

public BatchGetDocumentsMetadataResponse getDefaultInstanceForType()
Returns
Type Description
BatchGetDocumentsMetadataResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDocumentsMetadata(int index)

public BatchGetDocumentsMetadataResponse.DocumentMetadata getDocumentsMetadata(int index)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata

getDocumentsMetadataBuilder(int index)

public BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder getDocumentsMetadataBuilder(int index)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder

getDocumentsMetadataBuilderList()

public List<BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder> getDocumentsMetadataBuilderList()

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Returns
Type Description
List<Builder>

getDocumentsMetadataCount()

public int getDocumentsMetadataCount()

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Returns
Type Description
int

getDocumentsMetadataList()

public List<BatchGetDocumentsMetadataResponse.DocumentMetadata> getDocumentsMetadataList()

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Returns
Type Description
List<DocumentMetadata>

getDocumentsMetadataOrBuilder(int index)

public BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder getDocumentsMetadataOrBuilder(int index)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder

getDocumentsMetadataOrBuilderList()

public List<? extends BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder> getDocumentsMetadataOrBuilderList()

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadataOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BatchGetDocumentsMetadataResponse other)

public BatchGetDocumentsMetadataResponse.Builder mergeFrom(BatchGetDocumentsMetadataResponse other)
Parameter
Name Description
other BatchGetDocumentsMetadataResponse
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BatchGetDocumentsMetadataResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BatchGetDocumentsMetadataResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetDocumentsMetadataResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

removeDocumentsMetadata(int index)

public BatchGetDocumentsMetadataResponse.Builder removeDocumentsMetadata(int index)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameter
Name Description
index int
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

setDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata value)

public BatchGetDocumentsMetadataResponse.Builder setDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata value)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameters
Name Description
index int
value BatchGetDocumentsMetadataResponse.DocumentMetadata
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

setDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)

public BatchGetDocumentsMetadataResponse.Builder setDocumentsMetadata(int index, BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder builderForValue)

The metadata of the Documents.

repeated .google.cloud.discoveryengine.v1beta.BatchGetDocumentsMetadataResponse.DocumentMetadata documents_metadata = 1;

Parameters
Name Description
index int
builderForValue BatchGetDocumentsMetadataResponse.DocumentMetadata.Builder
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BatchGetDocumentsMetadataResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BatchGetDocumentsMetadataResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetDocumentsMetadataResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BatchGetDocumentsMetadataResponse.Builder
Overrides