public final class Intent extends com.google.protobuf.GeneratedMessageV3 implements IntentOrBuilder
Represents an intent. Intents convert a number of user expressions or patterns into an action. An action is an extraction of a user command or sentence semantics.Protobuf type
google.cloud.dialogflow.v2beta1.Intent| Modifier and Type | Class and Description |
|---|---|
static class |
Intent.Builder
Represents an intent.
|
static class |
Intent.FollowupIntentInfo
Represents a single followup intent in the chain.
|
static interface |
Intent.FollowupIntentInfoOrBuilder |
static class |
Intent.Message
Corresponds to the `Response` field in the Dialogflow console.
|
static interface |
Intent.MessageOrBuilder |
static class |
Intent.Parameter
Represents intent parameters.
|
static interface |
Intent.ParameterOrBuilder |
static class |
Intent.TrainingPhrase
Represents an example or template that the agent is trained on.
|
static interface |
Intent.TrainingPhraseOrBuilder |
static class |
Intent.WebhookState
Represents the different states that webhooks can be in.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACTION_FIELD_NUMBER |
static int |
DEFAULT_RESPONSE_PLATFORMS_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
END_INTERACTION_FIELD_NUMBER |
static int |
EVENTS_FIELD_NUMBER |
static int |
FOLLOWUP_INTENT_INFO_FIELD_NUMBER |
static int |
INPUT_CONTEXT_NAMES_FIELD_NUMBER |
static int |
IS_FALLBACK_FIELD_NUMBER |
static int |
MESSAGES_FIELD_NUMBER |
static int |
ML_DISABLED_FIELD_NUMBER |
static int |
ML_ENABLED_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OUTPUT_CONTEXTS_FIELD_NUMBER |
static int |
PARAMETERS_FIELD_NUMBER |
static int |
PARENT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER |
static int |
PRIORITY_FIELD_NUMBER |
static int |
RESET_CONTEXTS_FIELD_NUMBER |
static int |
ROOT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER |
static int |
TRAINING_PHRASES_FIELD_NUMBER |
static int |
WEBHOOK_STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAction()
Optional.
|
com.google.protobuf.ByteString |
getActionBytes()
Optional.
|
static Intent |
getDefaultInstance() |
Intent |
getDefaultInstanceForType() |
Intent.Message.Platform |
getDefaultResponsePlatforms(int index)
Optional.
|
int |
getDefaultResponsePlatformsCount()
Optional.
|
List<Intent.Message.Platform> |
getDefaultResponsePlatformsList()
Optional.
|
int |
getDefaultResponsePlatformsValue(int index)
Optional.
|
List<Integer> |
getDefaultResponsePlatformsValueList()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
boolean |
getEndInteraction()
Optional.
|
String |
getEvents(int index)
Optional.
|
com.google.protobuf.ByteString |
getEventsBytes(int index)
Optional.
|
int |
getEventsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getEventsList()
Optional.
|
Intent.FollowupIntentInfo |
getFollowupIntentInfo(int index)
Optional.
|
int |
getFollowupIntentInfoCount()
Optional.
|
List<Intent.FollowupIntentInfo> |
getFollowupIntentInfoList()
Optional.
|
Intent.FollowupIntentInfoOrBuilder |
getFollowupIntentInfoOrBuilder(int index)
Optional.
|
List<? extends Intent.FollowupIntentInfoOrBuilder> |
getFollowupIntentInfoOrBuilderList()
Optional.
|
String |
getInputContextNames(int index)
Optional.
|
com.google.protobuf.ByteString |
getInputContextNamesBytes(int index)
Optional.
|
int |
getInputContextNamesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getInputContextNamesList()
Optional.
|
boolean |
getIsFallback()
Optional.
|
Intent.Message |
getMessages(int index)
Optional.
|
int |
getMessagesCount()
Optional.
|
List<Intent.Message> |
getMessagesList()
Optional.
|
Intent.MessageOrBuilder |
getMessagesOrBuilder(int index)
Optional.
|
List<? extends Intent.MessageOrBuilder> |
getMessagesOrBuilderList()
Optional.
|
boolean |
getMlDisabled()
Optional.
|
boolean |
getMlEnabled()
Deprecated.
|
String |
getName()
Required for all methods except `create` (`create` populates the name
automatically.
|
com.google.protobuf.ByteString |
getNameBytes()
Required for all methods except `create` (`create` populates the name
automatically.
|
Context |
getOutputContexts(int index)
Optional.
|
int |
getOutputContextsCount()
Optional.
|
List<Context> |
getOutputContextsList()
Optional.
|
ContextOrBuilder |
getOutputContextsOrBuilder(int index)
Optional.
|
List<? extends ContextOrBuilder> |
getOutputContextsOrBuilderList()
Optional.
|
Intent.Parameter |
getParameters(int index)
Optional.
|
int |
getParametersCount()
Optional.
|
List<Intent.Parameter> |
getParametersList()
Optional.
|
Intent.ParameterOrBuilder |
getParametersOrBuilder(int index)
Optional.
|
List<? extends Intent.ParameterOrBuilder> |
getParametersOrBuilderList()
Optional.
|
String |
getParentFollowupIntentName()
The unique identifier of the parent intent in the chain of followup
intents.
|
com.google.protobuf.ByteString |
getParentFollowupIntentNameBytes()
The unique identifier of the parent intent in the chain of followup
intents.
|
com.google.protobuf.Parser<Intent> |
getParserForType() |
int |
getPriority()
Optional.
|
boolean |
getResetContexts()
Optional.
|
String |
getRootFollowupIntentName()
The unique identifier of the root intent in the chain of followup intents.
|
com.google.protobuf.ByteString |
getRootFollowupIntentNameBytes()
The unique identifier of the root intent in the chain of followup intents.
|
int |
getSerializedSize() |
Intent.TrainingPhrase |
getTrainingPhrases(int index)
Optional.
|
int |
getTrainingPhrasesCount()
Optional.
|
List<Intent.TrainingPhrase> |
getTrainingPhrasesList()
Optional.
|
Intent.TrainingPhraseOrBuilder |
getTrainingPhrasesOrBuilder(int index)
Optional.
|
List<? extends Intent.TrainingPhraseOrBuilder> |
getTrainingPhrasesOrBuilderList()
Optional.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Intent.WebhookState |
getWebhookState()
Required.
|
int |
getWebhookStateValue()
Required.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Intent.Builder |
newBuilder() |
static Intent.Builder |
newBuilder(Intent prototype) |
Intent.Builder |
newBuilderForType() |
protected Intent.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Intent |
parseDelimitedFrom(InputStream input) |
static Intent |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Intent |
parseFrom(byte[] data) |
static Intent |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Intent |
parseFrom(ByteBuffer data) |
static Intent |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Intent |
parseFrom(com.google.protobuf.ByteString data) |
static Intent |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Intent |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Intent |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Intent |
parseFrom(InputStream input) |
static Intent |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Intent> |
parser() |
Intent.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int WEBHOOK_STATE_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
public static final int IS_FALLBACK_FIELD_NUMBER
public static final int ML_ENABLED_FIELD_NUMBER
public static final int ML_DISABLED_FIELD_NUMBER
public static final int END_INTERACTION_FIELD_NUMBER
public static final int INPUT_CONTEXT_NAMES_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
public static final int TRAINING_PHRASES_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
public static final int OUTPUT_CONTEXTS_FIELD_NUMBER
public static final int RESET_CONTEXTS_FIELD_NUMBER
public static final int PARAMETERS_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
public static final int DEFAULT_RESPONSE_PLATFORMS_FIELD_NUMBER
public static final int ROOT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER
public static final int PARENT_FOLLOWUP_INTENT_NAME_FIELD_NUMBER
public static final int FOLLOWUP_INTENT_INFO_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;getName in interface IntentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required for all methods except `create` (`create` populates the name automatically. The unique identifier of this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string name = 1;getNameBytes in interface IntentOrBuilderpublic String getDisplayName()
Required. The name of this intent.
string display_name = 2;getDisplayName in interface IntentOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. The name of this intent.
string display_name = 2;getDisplayNameBytes in interface IntentOrBuilderpublic int getWebhookStateValue()
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;getWebhookStateValue in interface IntentOrBuilderpublic Intent.WebhookState getWebhookState()
Required. Indicates whether webhooks are enabled for the intent.
.google.cloud.dialogflow.v2beta1.Intent.WebhookState webhook_state = 6;getWebhookState in interface IntentOrBuilderpublic int getPriority()
Optional. The priority of this intent. Higher numbers represent higher priorities. Zero or negative numbers mean that the intent is disabled.
int32 priority = 3;getPriority in interface IntentOrBuilderpublic boolean getIsFallback()
Optional. Indicates whether this is a fallback intent.
bool is_fallback = 4;getIsFallback in interface IntentOrBuilder@Deprecated public boolean getMlEnabled()
Optional. Indicates whether Machine Learning is enabled for the intent. Note: If `ml_enabled` setting is set to false, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, then the default value is determined as follows: - Before April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the default is: ml_enabled = true / ml_disabled = false.
bool ml_enabled = 5 [deprecated = true];getMlEnabled in interface IntentOrBuilderpublic boolean getMlDisabled()
Optional. Indicates whether Machine Learning is disabled for the intent. Note: If `ml_disabled` setting is set to true, then this intent is not taken into account during inference in `ML ONLY` match mode. Also, auto-markup in the UI is turned off.
bool ml_disabled = 19;getMlDisabled in interface IntentOrBuilderpublic boolean getEndInteraction()
Optional. Indicates that this intent ends an interaction. Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use this information to close interaction with an end user. Default is false.
bool end_interaction = 21;getEndInteraction in interface IntentOrBuilderpublic com.google.protobuf.ProtocolStringList getInputContextNamesList()
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;getInputContextNamesList in interface IntentOrBuilderpublic int getInputContextNamesCount()
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;getInputContextNamesCount in interface IntentOrBuilderpublic String getInputContextNames(int index)
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;getInputContextNames in interface IntentOrBuilderpublic com.google.protobuf.ByteString getInputContextNamesBytes(int index)
Optional. The list of context names required for this intent to be triggered. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated string input_context_names = 7;getInputContextNamesBytes in interface IntentOrBuilderpublic com.google.protobuf.ProtocolStringList getEventsList()
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;getEventsList in interface IntentOrBuilderpublic int getEventsCount()
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;getEventsCount in interface IntentOrBuilderpublic String getEvents(int index)
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;getEvents in interface IntentOrBuilderpublic com.google.protobuf.ByteString getEventsBytes(int index)
Optional. The collection of event names that trigger the intent. If the collection of input contexts is not empty, all of the contexts must be present in the active user session for an event to trigger this intent.
repeated string events = 8;getEventsBytes in interface IntentOrBuilderpublic List<Intent.TrainingPhrase> getTrainingPhrasesList()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesList in interface IntentOrBuilderpublic List<? extends Intent.TrainingPhraseOrBuilder> getTrainingPhrasesOrBuilderList()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesOrBuilderList in interface IntentOrBuilderpublic int getTrainingPhrasesCount()
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesCount in interface IntentOrBuilderpublic Intent.TrainingPhrase getTrainingPhrases(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrases in interface IntentOrBuilderpublic Intent.TrainingPhraseOrBuilder getTrainingPhrasesOrBuilder(int index)
Optional. The collection of examples/templates that the agent is trained on.
repeated .google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase training_phrases = 9;
getTrainingPhrasesOrBuilder in interface IntentOrBuilderpublic String getAction()
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10;getAction in interface IntentOrBuilderpublic com.google.protobuf.ByteString getActionBytes()
Optional. The name of the action associated with the intent. Note: The action name must not contain whitespaces.
string action = 10;getActionBytes in interface IntentOrBuilderpublic List<Context> getOutputContextsList()
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;getOutputContextsList in interface IntentOrBuilderpublic List<? extends ContextOrBuilder> getOutputContextsOrBuilderList()
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;getOutputContextsOrBuilderList in interface IntentOrBuilderpublic int getOutputContextsCount()
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;getOutputContextsCount in interface IntentOrBuilderpublic Context getOutputContexts(int index)
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;getOutputContexts in interface IntentOrBuilderpublic ContextOrBuilder getOutputContextsOrBuilder(int index)
Optional. The collection of contexts that are activated when the intent is matched. Context messages in this collection should not set the parameters field. Setting the `lifespan_count` to 0 will reset the context when the intent is matched. Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 11;getOutputContextsOrBuilder in interface IntentOrBuilderpublic boolean getResetContexts()
Optional. Indicates whether to delete all contexts in the current session when this intent is matched.
bool reset_contexts = 12;getResetContexts in interface IntentOrBuilderpublic List<Intent.Parameter> getParametersList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;getParametersList in interface IntentOrBuilderpublic List<? extends Intent.ParameterOrBuilder> getParametersOrBuilderList()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;getParametersOrBuilderList in interface IntentOrBuilderpublic int getParametersCount()
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;getParametersCount in interface IntentOrBuilderpublic Intent.Parameter getParameters(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;getParameters in interface IntentOrBuilderpublic Intent.ParameterOrBuilder getParametersOrBuilder(int index)
Optional. The collection of parameters associated with the intent.
repeated .google.cloud.dialogflow.v2beta1.Intent.Parameter parameters = 13;getParametersOrBuilder in interface IntentOrBuilderpublic List<Intent.Message> getMessagesList()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;getMessagesList in interface IntentOrBuilderpublic List<? extends Intent.MessageOrBuilder> getMessagesOrBuilderList()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;getMessagesOrBuilderList in interface IntentOrBuilderpublic int getMessagesCount()
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;getMessagesCount in interface IntentOrBuilderpublic Intent.Message getMessages(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;getMessages in interface IntentOrBuilderpublic Intent.MessageOrBuilder getMessagesOrBuilder(int index)
Optional. The collection of rich messages corresponding to the `Response` field in the Dialogflow console.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message messages = 14;getMessagesOrBuilder in interface IntentOrBuilderpublic List<Intent.Message.Platform> getDefaultResponsePlatformsList()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsList in interface IntentOrBuilderpublic int getDefaultResponsePlatformsCount()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsCount in interface IntentOrBuilderpublic Intent.Message.Platform getDefaultResponsePlatforms(int index)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatforms in interface IntentOrBuilderpublic List<Integer> getDefaultResponsePlatformsValueList()
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsValueList in interface IntentOrBuilderpublic int getDefaultResponsePlatformsValue(int index)
Optional. The list of platforms for which the first response will be taken from among the messages assigned to the DEFAULT_PLATFORM.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message.Platform default_response_platforms = 15;
getDefaultResponsePlatformsValue in interface IntentOrBuilderpublic String getRootFollowupIntentName()
The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16;getRootFollowupIntentName in interface IntentOrBuilderpublic com.google.protobuf.ByteString getRootFollowupIntentNameBytes()
The unique identifier of the root intent in the chain of followup intents. It identifies the correct followup intents chain for this intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string root_followup_intent_name = 16;getRootFollowupIntentNameBytes in interface IntentOrBuilderpublic String getParentFollowupIntentName()
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;getParentFollowupIntentName in interface IntentOrBuilderpublic com.google.protobuf.ByteString getParentFollowupIntentNameBytes()
The unique identifier of the parent intent in the chain of followup intents. It identifies the parent followup intent. Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
string parent_followup_intent_name = 17;getParentFollowupIntentNameBytes in interface IntentOrBuilderpublic List<Intent.FollowupIntentInfo> getFollowupIntentInfoList()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoList in interface IntentOrBuilderpublic List<? extends Intent.FollowupIntentInfoOrBuilder> getFollowupIntentInfoOrBuilderList()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoOrBuilderList in interface IntentOrBuilderpublic int getFollowupIntentInfoCount()
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoCount in interface IntentOrBuilderpublic Intent.FollowupIntentInfo getFollowupIntentInfo(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfo in interface IntentOrBuilderpublic Intent.FollowupIntentInfoOrBuilder getFollowupIntentInfoOrBuilder(int index)
Optional. Collection of information about all followup intents that have name of this intent as a root_name.
repeated .google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo followup_intent_info = 18;
getFollowupIntentInfoOrBuilder in interface IntentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Intent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Intent parseFrom(InputStream input) throws IOException
IOExceptionpublic static Intent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Intent parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Intent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Intent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Intent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Intent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Intent.Builder newBuilder()
public static Intent.Builder newBuilder(Intent prototype)
public Intent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Intent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Intent getDefaultInstance()
public static com.google.protobuf.Parser<Intent> parser()
public com.google.protobuf.Parser<Intent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Intent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.