Class Intent.Message.QuickReplies (4.3.1)

public static final class Intent.Message.QuickReplies extends GeneratedMessageV3 implements Intent.Message.QuickRepliesOrBuilder

The quick replies response message.

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

Fields

QUICK_REPLIES_FIELD_NUMBER

public static final int QUICK_REPLIES_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_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 Intent.Message.QuickReplies getDefaultInstance()
Returns
TypeDescription
Intent.Message.QuickReplies

getDefaultInstanceForType()

public Intent.Message.QuickReplies getDefaultInstanceForType()
Returns
TypeDescription
Intent.Message.QuickReplies

getDescriptor()

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

getParserForType()

public Parser<Intent.Message.QuickReplies> getParserForType()
Returns
TypeDescription
Parser<QuickReplies>
Overrides

getQuickReplies(int index)

public String getQuickReplies(int index)

Optional. The collection of quick replies.

repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The quickReplies at the given index.

getQuickRepliesBytes(int index)

public ByteString getQuickRepliesBytes(int index)

Optional. The collection of quick replies.

repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the quickReplies at the given index.

getQuickRepliesCount()

public int getQuickRepliesCount()

Optional. The collection of quick replies.

repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of quickReplies.

getQuickRepliesList()

public ProtocolStringList getQuickRepliesList()

Optional. The collection of quick replies.

repeated string quick_replies = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ProtocolStringList

A list containing the quickReplies.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTitle()

public String getTitle()

Optional. The title of the collection of quick replies.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Optional. The title of the collection of quick replies.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for title.

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 Intent.Message.QuickReplies.Builder newBuilder()
Returns
TypeDescription
Intent.Message.QuickReplies.Builder

newBuilder(Intent.Message.QuickReplies prototype)

public static Intent.Message.QuickReplies.Builder newBuilder(Intent.Message.QuickReplies prototype)
Parameter
NameDescription
prototypeIntent.Message.QuickReplies
Returns
TypeDescription
Intent.Message.QuickReplies.Builder

newBuilderForType()

public Intent.Message.QuickReplies.Builder newBuilderForType()
Returns
TypeDescription
Intent.Message.QuickReplies.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Intent.Message.QuickReplies.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Intent.Message.QuickReplies.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

public static Intent.Message.QuickReplies parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.QuickReplies parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Intent.Message.QuickReplies parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Intent.Message.QuickReplies parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.QuickReplies parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Intent.Message.QuickReplies parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.QuickReplies parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Intent.Message.QuickReplies parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.QuickReplies parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Intent.Message.QuickReplies parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Intent.Message.QuickReplies parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Intent.Message.QuickReplies
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Intent.Message.QuickReplies> parser()
Returns
TypeDescription
Parser<QuickReplies>

toBuilder()

public Intent.Message.QuickReplies.Builder toBuilder()
Returns
TypeDescription
Intent.Message.QuickReplies.Builder

writeTo(CodedOutputStream output)

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