Class ListConversationModelsResponse (4.30.0)

public final class ListConversationModelsResponse extends GeneratedMessageV3 implements ListConversationModelsResponseOrBuilder

The response message for ConversationModels.ListConversationModels

Protobuf type google.cloud.dialogflow.v2.ListConversationModelsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListConversationModelsResponse

Static Fields

CONVERSATION_MODELS_FIELD_NUMBER

public static final int CONVERSATION_MODELS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListConversationModelsResponse getDefaultInstance()
Returns
Type Description
ListConversationModelsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListConversationModelsResponse.Builder newBuilder()
Returns
Type Description
ListConversationModelsResponse.Builder

newBuilder(ListConversationModelsResponse prototype)

public static ListConversationModelsResponse.Builder newBuilder(ListConversationModelsResponse prototype)
Parameter
Name Description
prototype ListConversationModelsResponse
Returns
Type Description
ListConversationModelsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListConversationModelsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConversationModelsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListConversationModelsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListConversationModelsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListConversationModelsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListConversationModelsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListConversationModelsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConversationModelsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListConversationModelsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListConversationModelsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListConversationModelsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListConversationModelsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListConversationModelsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListConversationModelsResponse> parser()
Returns
Type Description
Parser<ListConversationModelsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getConversationModels(int index)

public ConversationModel getConversationModels(int index)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationModel

getConversationModelsCount()

public int getConversationModelsCount()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
int

getConversationModelsList()

public List<ConversationModel> getConversationModelsList()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
List<ConversationModel>

getConversationModelsOrBuilder(int index)

public ConversationModelOrBuilder getConversationModelsOrBuilder(int index)

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Parameter
Name Description
index int
Returns
Type Description
ConversationModelOrBuilder

getConversationModelsOrBuilderList()

public List<? extends ConversationModelOrBuilder> getConversationModelsOrBuilderList()

The list of models to return.

repeated .google.cloud.dialogflow.v2.ConversationModel conversation_models = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.ConversationModelOrBuilder>

getDefaultInstanceForType()

public ListConversationModelsResponse getDefaultInstanceForType()
Returns
Type Description
ListConversationModelsResponse

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.

getParserForType()

public Parser<ListConversationModelsResponse> getParserForType()
Returns
Type Description
Parser<ListConversationModelsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListConversationModelsResponse.Builder newBuilderForType()
Returns
Type Description
ListConversationModelsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListConversationModelsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListConversationModelsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListConversationModelsResponse.Builder toBuilder()
Returns
Type Description
ListConversationModelsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException