Class ListChunksResponse (0.37.0)

public final class ListChunksResponse extends GeneratedMessageV3 implements ListChunksResponseOrBuilder

Response message for ChunkService.ListChunks method.

Protobuf type google.cloud.discoveryengine.v1alpha.ListChunksResponse

Static Fields

CHUNKS_FIELD_NUMBER

public static final int CHUNKS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListChunksResponse getDefaultInstance()
Returns
TypeDescription
ListChunksResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListChunksResponse.Builder newBuilder()
Returns
TypeDescription
ListChunksResponse.Builder

newBuilder(ListChunksResponse prototype)

public static ListChunksResponse.Builder newBuilder(ListChunksResponse prototype)
Parameter
NameDescription
prototypeListChunksResponse
Returns
TypeDescription
ListChunksResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListChunksResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListChunksResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListChunksResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListChunksResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListChunksResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListChunksResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListChunksResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListChunksResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListChunksResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListChunksResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListChunksResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListChunksResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListChunksResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListChunksResponse> parser()
Returns
TypeDescription
Parser<ListChunksResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getChunks(int index)

public Chunk getChunks(int index)

The Chunks.

repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Chunk

getChunksCount()

public int getChunksCount()

The Chunks.

repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;

Returns
TypeDescription
int

getChunksList()

public List<Chunk> getChunksList()

The Chunks.

repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;

Returns
TypeDescription
List<Chunk>

getChunksOrBuilder(int index)

public ChunkOrBuilder getChunksOrBuilder(int index)

The Chunks.

repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChunkOrBuilder

getChunksOrBuilderList()

public List<? extends ChunkOrBuilder> getChunksOrBuilderList()

The Chunks.

repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1alpha.ChunkOrBuilder>

getDefaultInstanceForType()

public ListChunksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListChunksResponse

getNextPageToken()

public String getNextPageToken()

A token that can be sent as ListChunksRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as ListChunksRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListChunksResponse> getParserForType()
Returns
TypeDescription
Parser<ListChunksResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListChunksResponse.Builder newBuilderForType()
Returns
TypeDescription
ListChunksResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListChunksResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListChunksResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListChunksResponse.Builder toBuilder()
Returns
TypeDescription
ListChunksResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException