Class ListConversationModelsResponse (4.7.2)

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
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListConversationModelsResponse getDefaultInstance()
Returns
TypeDescription
ListConversationModelsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListConversationModelsResponse prototype)

public static ListConversationModelsResponse.Builder newBuilder(ListConversationModelsResponse prototype)
Parameter
NameDescription
prototypeListConversationModelsResponse
Returns
TypeDescription
ListConversationModelsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversationModel

getConversationModelsCount()

public int getConversationModelsCount()

The list of models to return.

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

Returns
TypeDescription
int

getConversationModelsList()

public List<ConversationModel> getConversationModelsList()

The list of models to return.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ConversationModelOrBuilder

getConversationModelsOrBuilderList()

public List<? extends ConversationModelOrBuilder> getConversationModelsOrBuilderList()

The list of models to return.

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

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

getDefaultInstanceForType()

public ListConversationModelsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
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<ListConversationModelsResponse> getParserForType()
Returns
TypeDescription
Parser<ListConversationModelsResponse>
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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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