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
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
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>
|
addKnowledgeBases(KnowledgeBase value)
public ListKnowledgeBasesResponse.Builder addKnowledgeBases(KnowledgeBase value)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
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;
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;
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;
addKnowledgeBasesBuilder()
public KnowledgeBase.Builder addKnowledgeBasesBuilder()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
addKnowledgeBasesBuilder(int index)
public KnowledgeBase.Builder addKnowledgeBasesBuilder(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListKnowledgeBasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListKnowledgeBasesResponse build()
buildPartial()
public ListKnowledgeBasesResponse buildPartial()
clear()
public ListKnowledgeBasesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListKnowledgeBasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKnowledgeBases()
public ListKnowledgeBasesResponse.Builder clearKnowledgeBases()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListKnowledgeBasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListKnowledgeBasesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListKnowledgeBasesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKnowledgeBases(int index)
public KnowledgeBase getKnowledgeBases(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter |
Name |
Description |
index |
int
|
getKnowledgeBasesBuilder(int index)
public KnowledgeBase.Builder getKnowledgeBasesBuilder(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter |
Name |
Description |
index |
int
|
getKnowledgeBasesBuilderList()
public List<KnowledgeBase.Builder> getKnowledgeBasesBuilderList()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
getKnowledgeBasesCount()
public int getKnowledgeBasesCount()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Returns |
Type |
Description |
int |
|
getKnowledgeBasesList()
public List<KnowledgeBase> getKnowledgeBasesList()
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
getKnowledgeBasesOrBuilder(int index)
public KnowledgeBaseOrBuilder getKnowledgeBasesOrBuilder(int index)
The list of knowledge bases.
repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;
Parameter |
Name |
Description |
index |
int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListKnowledgeBasesResponse other)
public ListKnowledgeBasesResponse.Builder mergeFrom(ListKnowledgeBasesResponse other)
public ListKnowledgeBasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListKnowledgeBasesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListKnowledgeBasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListKnowledgeBasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListKnowledgeBasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListKnowledgeBasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides