public static final class Intent.Message.QuickReplies extends GeneratedMessageV3 implements Intent.Message.QuickRepliesOrBuilder
The quick replies response message.
Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies
Static Fields
QUICK_REPLIES_FIELD_NUMBER
public static final int QUICK_REPLIES_FIELD_NUMBER
Field Value
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.QuickReplies getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Returns
public static Intent.Message.QuickReplies parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.QuickReplies parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.QuickReplies parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.QuickReplies parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.QuickReplies parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.QuickReplies parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.QuickReplies parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.QuickReplies parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.QuickReplies parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.QuickReplies parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.QuickReplies parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.QuickReplies parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.QuickReplies> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.QuickReplies getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Intent.Message.QuickReplies> getParserForType()
Returns
Overrides
getQuickReplies(int index)
public String getQuickReplies(int index)
Optional. The collection of quick replies.
repeated string quick_replies = 2;
Parameter
Name |
Description |
index |
int
The index of the element to return.
|
Returns
Type |
Description |
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;
Parameter
Name |
Description |
index |
int
The index of the value to return.
|
Returns
Type |
Description |
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;
Returns
Type |
Description |
int |
The count of quickReplies.
|
getQuickRepliesList()
public ProtocolStringList getQuickRepliesList()
Optional. The collection of quick replies.
repeated string quick_replies = 2;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTitle()
Optional. The title of the collection of quick replies.
string title = 1;
Returns
Type |
Description |
String |
The title.
|
getTitleBytes()
public ByteString getTitleBytes()
Optional. The title of the collection of quick replies.
string title = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.QuickReplies.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.QuickReplies.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Intent.Message.QuickReplies.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions