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
Static Fields
SIMPLE_RESPONSES_FIELD_NUMBER
public static final int SIMPLE_RESPONSES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Intent.Message.SimpleResponses getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Intent.Message.SimpleResponses.Builder newBuilder()
Returns
newBuilder(Intent.Message.SimpleResponses prototype)
public static Intent.Message.SimpleResponses.Builder newBuilder(Intent.Message.SimpleResponses prototype)
Parameter
Returns
public static Intent.Message.SimpleResponses parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.SimpleResponses parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Intent.Message.SimpleResponses parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Intent.Message.SimpleResponses parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.SimpleResponses parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.SimpleResponses parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Intent.Message.SimpleResponses parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Intent.Message.SimpleResponses parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Intent.Message.SimpleResponses parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Intent.Message.SimpleResponses parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Intent.Message.SimpleResponses> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Intent.Message.SimpleResponses getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Intent.Message.SimpleResponses> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Returns
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
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
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
Returns
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
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Intent.Message.SimpleResponses.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Intent.Message.SimpleResponses.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.SimpleResponses.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions