Class ListKnowledgeBasesResponse.Builder (4.3.1)

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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.v2beta1.KnowledgeBase>
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

addKnowledgeBases(KnowledgeBase value)

public ListKnowledgeBasesResponse.Builder addKnowledgeBases(KnowledgeBase value)

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Parameter
NameDescription
valueKnowledgeBase
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

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
NameDescription
builderForValueKnowledgeBase.Builder
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

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
NameDescription
indexint
valueKnowledgeBase
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

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
NameDescription
indexint
builderForValueKnowledgeBase.Builder
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

addKnowledgeBasesBuilder()

public KnowledgeBase.Builder addKnowledgeBasesBuilder()

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Returns
TypeDescription
KnowledgeBase.Builder

addKnowledgeBasesBuilder(int index)

public KnowledgeBase.Builder addKnowledgeBasesBuilder(int index)

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
KnowledgeBase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListKnowledgeBasesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides

build()

public ListKnowledgeBasesResponse build()
Returns
TypeDescription
ListKnowledgeBasesResponse

buildPartial()

public ListKnowledgeBasesResponse buildPartial()
Returns
TypeDescription
ListKnowledgeBasesResponse

clear()

public ListKnowledgeBasesResponse.Builder clear()
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListKnowledgeBasesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides

clearKnowledgeBases()

public ListKnowledgeBasesResponse.Builder clearKnowledgeBases()

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

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
TypeDescription
ListKnowledgeBasesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListKnowledgeBasesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides

clone()

public ListKnowledgeBasesResponse.Builder clone()
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListKnowledgeBasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListKnowledgeBasesResponse

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKnowledgeBases(int index)

public KnowledgeBase getKnowledgeBases(int index)

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
KnowledgeBase

getKnowledgeBasesBuilder(int index)

public KnowledgeBase.Builder getKnowledgeBasesBuilder(int index)

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
KnowledgeBase.Builder

getKnowledgeBasesBuilderList()

public List<KnowledgeBase.Builder> getKnowledgeBasesBuilderList()

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Returns
TypeDescription
List<Builder>

getKnowledgeBasesCount()

public int getKnowledgeBasesCount()

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Returns
TypeDescription
int

getKnowledgeBasesList()

public List<KnowledgeBase> getKnowledgeBasesList()

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Returns
TypeDescription
List<KnowledgeBase>

getKnowledgeBasesOrBuilder(int index)

public KnowledgeBaseOrBuilder getKnowledgeBasesOrBuilder(int index)

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
KnowledgeBaseOrBuilder

getKnowledgeBasesOrBuilderList()

public List<? extends KnowledgeBaseOrBuilder> getKnowledgeBasesOrBuilderList()

The list of knowledge bases.

repeated .google.cloud.dialogflow.v2beta1.KnowledgeBase knowledge_bases = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListKnowledgeBasesResponse other)

public ListKnowledgeBasesResponse.Builder mergeFrom(ListKnowledgeBasesResponse other)
Parameter
NameDescription
otherListKnowledgeBasesResponse
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListKnowledgeBasesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListKnowledgeBasesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListKnowledgeBasesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
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
NameDescription
indexint
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListKnowledgeBasesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
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
NameDescription
indexint
valueKnowledgeBase
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

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
NameDescription
indexint
builderForValueKnowledgeBase.Builder
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListKnowledgeBasesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListKnowledgeBasesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder
Overrides