Class ListKnowledgeBasesResponse (4.3.1)

public final class ListKnowledgeBasesResponse extends GeneratedMessageV3 implements ListKnowledgeBasesResponseOrBuilder

Response message for KnowledgeBases.ListKnowledgeBases.

Protobuf type google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse

Fields

KNOWLEDGE_BASES_FIELD_NUMBER

public static final int KNOWLEDGE_BASES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

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

getDefaultInstance()

public static ListKnowledgeBasesResponse getDefaultInstance()
Returns
TypeDescription
ListKnowledgeBasesResponse

getDefaultInstanceForType()

public ListKnowledgeBasesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListKnowledgeBasesResponse

getDescriptor()

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

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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

newBuilder()

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

newBuilder(ListKnowledgeBasesResponse prototype)

public static ListKnowledgeBasesResponse.Builder newBuilder(ListKnowledgeBasesResponse prototype)
Parameter
NameDescription
prototypeListKnowledgeBasesResponse
Returns
TypeDescription
ListKnowledgeBasesResponse.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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