public static final class Chunk.ChunkMetadata.Builder extends GeneratedMessageV3.Builder<Chunk.ChunkMetadata.Builder> implements Chunk.ChunkMetadataOrBuilder
Metadata of the current chunk. This field is only populated on
SearchService.Search
API.
Protobuf type google.cloud.discoveryengine.v1.Chunk.ChunkMetadata
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 Chunk.ChunkMetadata.Builder addAllNextChunks(Iterable<? extends Chunk> values)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.Chunk>
|
public Chunk.ChunkMetadata.Builder addAllPreviousChunks(Iterable<? extends Chunk> values)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.Chunk>
|
public Chunk.ChunkMetadata.Builder addNextChunks(Chunk value)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameter |
Name |
Description |
value |
Chunk
|
public Chunk.ChunkMetadata.Builder addNextChunks(Chunk.Builder builderForValue)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
public Chunk.ChunkMetadata.Builder addNextChunks(int index, Chunk value)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Chunk
|
public Chunk.ChunkMetadata.Builder addNextChunks(int index, Chunk.Builder builderForValue)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
public Chunk.Builder addNextChunksBuilder()
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
public Chunk.Builder addNextChunksBuilder(int index)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameter |
Name |
Description |
index |
int
|
public Chunk.ChunkMetadata.Builder addPreviousChunks(Chunk value)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
value |
Chunk
|
public Chunk.ChunkMetadata.Builder addPreviousChunks(Chunk.Builder builderForValue)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
public Chunk.ChunkMetadata.Builder addPreviousChunks(int index, Chunk value)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Chunk
|
public Chunk.ChunkMetadata.Builder addPreviousChunks(int index, Chunk.Builder builderForValue)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
public Chunk.Builder addPreviousChunksBuilder()
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
public Chunk.Builder addPreviousChunksBuilder(int index)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
index |
int
|
public Chunk.ChunkMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Chunk.ChunkMetadata build()
public Chunk.ChunkMetadata buildPartial()
public Chunk.ChunkMetadata.Builder clear()
Overrides
public Chunk.ChunkMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Chunk.ChunkMetadata.Builder clearNextChunks()
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
public Chunk.ChunkMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Chunk.ChunkMetadata.Builder clearPreviousChunks()
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
public Chunk.ChunkMetadata.Builder clone()
Overrides
public Chunk.ChunkMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Chunk getNextChunks(int index)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Chunk |
|
public Chunk.Builder getNextChunksBuilder(int index)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameter |
Name |
Description |
index |
int
|
public List<Chunk.Builder> getNextChunksBuilderList()
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
public int getNextChunksCount()
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Returns |
Type |
Description |
int |
|
public List<Chunk> getNextChunksList()
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
public ChunkOrBuilder getNextChunksOrBuilder(int index)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ChunkOrBuilder> getNextChunksOrBuilderList()
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.ChunkOrBuilder> |
|
public Chunk getPreviousChunks(int index)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Chunk |
|
public Chunk.Builder getPreviousChunksBuilder(int index)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
index |
int
|
public List<Chunk.Builder> getPreviousChunksBuilderList()
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
public int getPreviousChunksCount()
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Returns |
Type |
Description |
int |
|
public List<Chunk> getPreviousChunksList()
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
public ChunkOrBuilder getPreviousChunksOrBuilder(int index)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
index |
int
|
public List<? extends ChunkOrBuilder> getPreviousChunksOrBuilderList()
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.ChunkOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Chunk.ChunkMetadata.Builder mergeFrom(Chunk.ChunkMetadata other)
public Chunk.ChunkMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Chunk.ChunkMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final Chunk.ChunkMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Chunk.ChunkMetadata.Builder removeNextChunks(int index)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameter |
Name |
Description |
index |
int
|
public Chunk.ChunkMetadata.Builder removePreviousChunks(int index)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
index |
int
|
public Chunk.ChunkMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Chunk.ChunkMetadata.Builder setNextChunks(int index, Chunk value)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
Parameters |
Name |
Description |
index |
int
|
value |
Chunk
|
public Chunk.ChunkMetadata.Builder setNextChunks(int index, Chunk.Builder builderForValue)
The next chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk next_chunks = 2;
public Chunk.ChunkMetadata.Builder setPreviousChunks(int index, Chunk value)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Chunk
|
public Chunk.ChunkMetadata.Builder setPreviousChunks(int index, Chunk.Builder builderForValue)
The previous chunks of the current chunk. The number is controlled by
SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks.
This field is only populated on
SearchService.Search
API.
repeated .google.cloud.discoveryengine.v1.Chunk previous_chunks = 1;
public Chunk.ChunkMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final Chunk.ChunkMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides