public static final class Chunk.ChunkMetadata extends com.google.protobuf.GeneratedMessageV3 implements Chunk.ChunkMetadataOrBuilder
Metadata of the current chunk. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.Protobuf type
google.cloud.discoveryengine.v1beta.Chunk.ChunkMetadata| Modifier and Type | Class and Description |
|---|---|
static class |
Chunk.ChunkMetadata.Builder
Metadata of the current chunk.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NEXT_CHUNKS_FIELD_NUMBER |
static int |
PREVIOUS_CHUNKS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Chunk.ChunkMetadata |
getDefaultInstance() |
Chunk.ChunkMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Chunk |
getNextChunks(int index)
The next chunks of the current chunk.
|
int |
getNextChunksCount()
The next chunks of the current chunk.
|
List<Chunk> |
getNextChunksList()
The next chunks of the current chunk.
|
ChunkOrBuilder |
getNextChunksOrBuilder(int index)
The next chunks of the current chunk.
|
List<? extends ChunkOrBuilder> |
getNextChunksOrBuilderList()
The next chunks of the current chunk.
|
com.google.protobuf.Parser<Chunk.ChunkMetadata> |
getParserForType() |
Chunk |
getPreviousChunks(int index)
The previous chunks of the current chunk.
|
int |
getPreviousChunksCount()
The previous chunks of the current chunk.
|
List<Chunk> |
getPreviousChunksList()
The previous chunks of the current chunk.
|
ChunkOrBuilder |
getPreviousChunksOrBuilder(int index)
The previous chunks of the current chunk.
|
List<? extends ChunkOrBuilder> |
getPreviousChunksOrBuilderList()
The previous chunks of the current chunk.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Chunk.ChunkMetadata.Builder |
newBuilder() |
static Chunk.ChunkMetadata.Builder |
newBuilder(Chunk.ChunkMetadata prototype) |
Chunk.ChunkMetadata.Builder |
newBuilderForType() |
protected Chunk.ChunkMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Chunk.ChunkMetadata |
parseDelimitedFrom(InputStream input) |
static Chunk.ChunkMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chunk.ChunkMetadata |
parseFrom(byte[] data) |
static Chunk.ChunkMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chunk.ChunkMetadata |
parseFrom(ByteBuffer data) |
static Chunk.ChunkMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chunk.ChunkMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static Chunk.ChunkMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chunk.ChunkMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Chunk.ChunkMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Chunk.ChunkMetadata |
parseFrom(InputStream input) |
static Chunk.ChunkMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Chunk.ChunkMetadata> |
parser() |
Chunk.ChunkMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PREVIOUS_CHUNKS_FIELD_NUMBER
public static final int NEXT_CHUNKS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<Chunk> getPreviousChunksList()
The previous chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;getPreviousChunksList in interface Chunk.ChunkMetadataOrBuilderpublic List<? extends ChunkOrBuilder> getPreviousChunksOrBuilderList()
The previous chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;getPreviousChunksOrBuilderList in interface Chunk.ChunkMetadataOrBuilderpublic int getPreviousChunksCount()
The previous chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;getPreviousChunksCount in interface Chunk.ChunkMetadataOrBuilderpublic Chunk getPreviousChunks(int index)
The previous chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;getPreviousChunks in interface Chunk.ChunkMetadataOrBuilderpublic ChunkOrBuilder getPreviousChunksOrBuilder(int index)
The previous chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk previous_chunks = 1;getPreviousChunksOrBuilder in interface Chunk.ChunkMetadataOrBuilderpublic List<Chunk> getNextChunksList()
The next chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;getNextChunksList in interface Chunk.ChunkMetadataOrBuilderpublic List<? extends ChunkOrBuilder> getNextChunksOrBuilderList()
The next chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;getNextChunksOrBuilderList in interface Chunk.ChunkMetadataOrBuilderpublic int getNextChunksCount()
The next chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;getNextChunksCount in interface Chunk.ChunkMetadataOrBuilderpublic Chunk getNextChunks(int index)
The next chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;getNextChunks in interface Chunk.ChunkMetadataOrBuilderpublic ChunkOrBuilder getNextChunksOrBuilder(int index)
The next chunks of the current chunk. The number is controlled by [SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks]. This field is only populated on [SearchService.Search][google.cloud.discoveryengine.v1beta.SearchService.Search] API.
repeated .google.cloud.discoveryengine.v1beta.Chunk next_chunks = 2;getNextChunksOrBuilder in interface Chunk.ChunkMetadataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Chunk.ChunkMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chunk.ChunkMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chunk.ChunkMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chunk.ChunkMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chunk.ChunkMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chunk.ChunkMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Chunk.ChunkMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static Chunk.ChunkMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Chunk.ChunkMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Chunk.ChunkMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Chunk.ChunkMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Chunk.ChunkMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Chunk.ChunkMetadata.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Chunk.ChunkMetadata.Builder newBuilder()
public static Chunk.ChunkMetadata.Builder newBuilder(Chunk.ChunkMetadata prototype)
public Chunk.ChunkMetadata.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Chunk.ChunkMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Chunk.ChunkMetadata getDefaultInstance()
public static com.google.protobuf.Parser<Chunk.ChunkMetadata> parser()
public com.google.protobuf.Parser<Chunk.ChunkMetadata> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Chunk.ChunkMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.