Class Intent.Message.SimpleResponses (4.8.6)

public static final class Intent.Message.SimpleResponses extends GeneratedMessageV3 implements Intent.Message.SimpleResponsesOrBuilder

The collection of simple response candidates. This message in QueryResult.fulfillment_messages and WebhookResponse.fulfillment_messages should contain only one SimpleResponse.

Protobuf type google.cloud.dialogflow.v2.Intent.Message.SimpleResponses

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Intent.Message.SimpleResponses

Static Fields

SIMPLE_RESPONSES_FIELD_NUMBER

public static final int SIMPLE_RESPONSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Intent.Message.SimpleResponses getDefaultInstance()
Returns
Type Description
Intent.Message.SimpleResponses

getDescriptor()

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

newBuilder()

public static Intent.Message.SimpleResponses.Builder newBuilder()
Returns
Type Description
Intent.Message.SimpleResponses.Builder

newBuilder(Intent.Message.SimpleResponses prototype)

public static Intent.Message.SimpleResponses.Builder newBuilder(Intent.Message.SimpleResponses prototype)
Parameter
Name Description
prototype Intent.Message.SimpleResponses
Returns
Type Description
Intent.Message.SimpleResponses.Builder

parseDelimitedFrom(InputStream input)

public static Intent.Message.SimpleResponses parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.SimpleResponses parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Intent.Message.SimpleResponses parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.SimpleResponses parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Intent.Message.SimpleResponses parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.SimpleResponses parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.SimpleResponses parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.SimpleResponses parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Intent.Message.SimpleResponses parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.SimpleResponses parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.SimpleResponses parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.SimpleResponses parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Intent.Message.SimpleResponses
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.SimpleResponses> parser()
Returns
Type Description
Parser<SimpleResponses>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Intent.Message.SimpleResponses getDefaultInstanceForType()
Returns
Type Description
Intent.Message.SimpleResponses

getParserForType()

public Parser<Intent.Message.SimpleResponses> getParserForType()
Returns
Type Description
Parser<SimpleResponses>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSimpleResponses(int index)

public Intent.Message.SimpleResponse getSimpleResponses(int index)

Required. The list of simple responses.

repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.SimpleResponse

getSimpleResponsesCount()

public int getSimpleResponsesCount()

Required. The list of simple responses.

repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getSimpleResponsesList()

public List<Intent.Message.SimpleResponse> getSimpleResponsesList()

Required. The list of simple responses.

repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<SimpleResponse>

getSimpleResponsesOrBuilder(int index)

public Intent.Message.SimpleResponseOrBuilder getSimpleResponsesOrBuilder(int index)

Required. The list of simple responses.

repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Intent.Message.SimpleResponseOrBuilder

getSimpleResponsesOrBuilderList()

public List<? extends Intent.Message.SimpleResponseOrBuilder> getSimpleResponsesOrBuilderList()

Required. The list of simple responses.

repeated .google.cloud.dialogflow.v2.Intent.Message.SimpleResponse simple_responses = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.SimpleResponseOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
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 Intent.Message.SimpleResponses.Builder newBuilderForType()
Returns
Type Description
Intent.Message.SimpleResponses.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.SimpleResponses.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Intent.Message.SimpleResponses.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Intent.Message.SimpleResponses.Builder toBuilder()
Returns
Type Description
Intent.Message.SimpleResponses.Builder

writeTo(CodedOutputStream output)

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