public static final class ListKnowledgeBasesResponse.Builder extends GeneratedMessageV3.Builder<ListKnowledgeBasesResponse.Builder> implements ListKnowledgeBasesResponseOrBuilder
Response message for KnowledgeBases.ListKnowledgeBases.
Protobuf type google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse
Methods
addAllKnowledgeBases(Iterable<? extends KnowledgeBase> values)
public ListKnowledgeBasesResponse.Builder addAllKnowledgeBases(Iterable<? extends KnowledgeBase> values)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.dialogflow.v2beta1.KnowledgeBase>
|
Returns
addKnowledgeBases(KnowledgeBase value)
public ListKnowledgeBasesResponse.Builder addKnowledgeBases(KnowledgeBase value)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Returns
addKnowledgeBases(KnowledgeBase.Builder builderForValue)
public ListKnowledgeBasesResponse.Builder addKnowledgeBases(KnowledgeBase.Builder builderForValue)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Returns
addKnowledgeBases(int index, KnowledgeBase value)
public ListKnowledgeBasesResponse.Builder addKnowledgeBases(int index, KnowledgeBase value)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameters
Returns
addKnowledgeBases(int index, KnowledgeBase.Builder builderForValue)
public ListKnowledgeBasesResponse.Builder addKnowledgeBases(int index, KnowledgeBase.Builder builderForValue)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameters
Returns
addKnowledgeBasesBuilder()
public KnowledgeBase.Builder addKnowledgeBasesBuilder()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Returns
addKnowledgeBasesBuilder(int index)
public KnowledgeBase.Builder addKnowledgeBasesBuilder(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListKnowledgeBasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListKnowledgeBasesResponse build()
Returns
buildPartial()
public ListKnowledgeBasesResponse buildPartial()
Returns
clear()
public ListKnowledgeBasesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListKnowledgeBasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearKnowledgeBases()
public ListKnowledgeBasesResponse.Builder clearKnowledgeBases()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Returns
clearNextPageToken()
public ListKnowledgeBasesResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListKnowledgeBasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListKnowledgeBasesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListKnowledgeBasesResponse getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getKnowledgeBases(int index)
public KnowledgeBase getKnowledgeBases(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Returns
getKnowledgeBasesBuilder(int index)
public KnowledgeBase.Builder getKnowledgeBasesBuilder(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Returns
getKnowledgeBasesBuilderList()
public List<KnowledgeBase.Builder> getKnowledgeBasesBuilderList()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Returns
getKnowledgeBasesCount()
public int getKnowledgeBasesCount()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Returns
getKnowledgeBasesList()
public List<KnowledgeBase> getKnowledgeBasesList()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Returns
getKnowledgeBasesOrBuilder(int index)
public KnowledgeBaseOrBuilder getKnowledgeBasesOrBuilder(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Returns
getKnowledgeBasesOrBuilderList()
public List<? extends KnowledgeBaseOrBuilder> getKnowledgeBasesOrBuilderList()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Returns
Type | Description |
List<? extends com.google.cloud.dialogflow.v2beta1.KnowledgeBaseOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListKnowledgeBasesResponse other)
public ListKnowledgeBasesResponse.Builder mergeFrom(ListKnowledgeBasesResponse other)
Parameter
Returns
public ListKnowledgeBasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListKnowledgeBasesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListKnowledgeBasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeKnowledgeBases(int index)
public ListKnowledgeBasesResponse.Builder removeKnowledgeBases(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListKnowledgeBasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setKnowledgeBases(int index, KnowledgeBase value)
public ListKnowledgeBasesResponse.Builder setKnowledgeBases(int index, KnowledgeBase value)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameters
Returns
setKnowledgeBases(int index, KnowledgeBase.Builder builderForValue)
public ListKnowledgeBasesResponse.Builder setKnowledgeBases(int index, KnowledgeBase.Builder builderForValue)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameters
Returns
setNextPageToken(String value)
public ListKnowledgeBasesResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListKnowledgeBasesResponse.Builder setNextPageTokenBytes(ByteString value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListKnowledgeBasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListKnowledgeBasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides