public static final class ListChunksResponse.Builder extends GeneratedMessageV3.Builder<ListChunksResponse.Builder> implements ListChunksResponseOrBuilder
Response message for
ChunkService.ListChunks
method.
Protobuf type google.cloud.discoveryengine.v1alpha.ListChunksResponse
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllChunks(Iterable<? extends Chunk> values)
public ListChunksResponse.Builder addAllChunks(Iterable<? extends Chunk> values)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1alpha.Chunk>
|
addChunks(Chunk value)
public ListChunksResponse.Builder addChunks(Chunk value)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameter |
Name |
Description |
value |
Chunk
|
addChunks(Chunk.Builder builderForValue)
public ListChunksResponse.Builder addChunks(Chunk.Builder builderForValue)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
addChunks(int index, Chunk value)
public ListChunksResponse.Builder addChunks(int index, Chunk value)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Chunk
|
addChunks(int index, Chunk.Builder builderForValue)
public ListChunksResponse.Builder addChunks(int index, Chunk.Builder builderForValue)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
addChunksBuilder()
public Chunk.Builder addChunksBuilder()
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
addChunksBuilder(int index)
public Chunk.Builder addChunksBuilder(int index)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListChunksResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListChunksResponse build()
buildPartial()
public ListChunksResponse buildPartial()
clear()
public ListChunksResponse.Builder clear()
Overrides
clearChunks()
public ListChunksResponse.Builder clearChunks()
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
clearField(Descriptors.FieldDescriptor field)
public ListChunksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListChunksResponse.Builder clearNextPageToken()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListChunksResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListChunksResponse.Builder clone()
Overrides
getChunks(int index)
public Chunk getChunks(int index)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Chunk |
|
getChunksBuilder(int index)
public Chunk.Builder getChunksBuilder(int index)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameter |
Name |
Description |
index |
int
|
getChunksBuilderList()
public List<Chunk.Builder> getChunksBuilderList()
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
getChunksCount()
public int getChunksCount()
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Returns |
Type |
Description |
int |
|
getChunksList()
public List<Chunk> getChunksList()
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
getChunksOrBuilder(int index)
public ChunkOrBuilder getChunksOrBuilder(int index)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameter |
Name |
Description |
index |
int
|
getChunksOrBuilderList()
public List<? extends ChunkOrBuilder> getChunksOrBuilderList()
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.ChunkOrBuilder> |
|
getDefaultInstanceForType()
public ListChunksResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListChunksResponse other)
public ListChunksResponse.Builder mergeFrom(ListChunksResponse other)
public ListChunksResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListChunksResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListChunksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeChunks(int index)
public ListChunksResponse.Builder removeChunks(int index)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameter |
Name |
Description |
index |
int
|
setChunks(int index, Chunk value)
public ListChunksResponse.Builder setChunks(int index, Chunk value)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Chunk
|
setChunks(int index, Chunk.Builder builderForValue)
public ListChunksResponse.Builder setChunks(int index, Chunk.Builder builderForValue)
The Chunks.
repeated .google.cloud.discoveryengine.v1alpha.Chunk chunks = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListChunksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListChunksResponse.Builder setNextPageToken(String value)
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;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListChunksResponse.Builder setNextPageTokenBytes(ByteString value)
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListChunksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListChunksResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides