public static final class Chunk.ChunkMetadata extends GeneratedMessageV3 implements Chunk.ChunkMetadataOrBuilder
Metadata of the current chunk. This field is only populated on
SearchService.Search
API.
Protobuf type google.cloud.discoveryengine.v1beta.Chunk.ChunkMetadata
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int NEXT_CHUNKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PREVIOUS_CHUNKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static Chunk.ChunkMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static Chunk.ChunkMetadata.Builder newBuilder()
public static Chunk.ChunkMetadata.Builder newBuilder(Chunk.ChunkMetadata prototype)
public static Chunk.ChunkMetadata parseDelimitedFrom(InputStream input)
public static Chunk.ChunkMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Chunk.ChunkMetadata parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static Chunk.ChunkMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Chunk.ChunkMetadata parseFrom(ByteString data)
public static Chunk.ChunkMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Chunk.ChunkMetadata parseFrom(CodedInputStream input)
public static Chunk.ChunkMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Chunk.ChunkMetadata parseFrom(InputStream input)
public static Chunk.ChunkMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Chunk.ChunkMetadata parseFrom(ByteBuffer data)
public static Chunk.ChunkMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<Chunk.ChunkMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public Chunk.ChunkMetadata getDefaultInstanceForType()
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.v1beta.Chunk next_chunks = 2;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Chunk |
|
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.v1beta.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.v1beta.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.v1beta.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.v1beta.Chunk next_chunks = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.ChunkOrBuilder> |
|
public Parser<Chunk.ChunkMetadata> getParserForType()
Overrides
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.v1beta.Chunk previous_chunks = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Chunk |
|
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.v1beta.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.v1beta.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.v1beta.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.v1beta.Chunk previous_chunks = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1beta.ChunkOrBuilder> |
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Chunk.ChunkMetadata.Builder newBuilderForType()
protected Chunk.ChunkMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public Chunk.ChunkMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides