Class Intent.Message.QuickReplies (4.6.0)

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

Static 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

Static Methods

getDefaultInstance()

public static Intent.Message.QuickReplies getDefaultInstance()
Returns

getDescriptor()

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

newBuilder()

public static Intent.Message.QuickReplies.Builder newBuilder()
Returns

newBuilder(Intent.Message.QuickReplies prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Intent.Message.QuickReplies getDefaultInstanceForType()
Returns

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

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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