Class WebhookResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2beta1.WebhookResponse
-
- All Implemented Interfaces:
WebhookResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class WebhookResponse extends com.google.protobuf.GeneratedMessageV3 implements WebhookResponseOrBuilder
The response message for a webhook call. This response is validated by the Dialogflow server. If validation fails, an error will be returned in the [QueryResult.diagnostic_info][google.cloud.dialogflow.v2beta1.QueryResult.diagnostic_info] field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error: - Use `""` for empty strings - Use `{}` or `null` for empty objects - Use `[]` or `null` for empty arrays For more information, see the [Protocol Buffers Language Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).Protobuf typegoogle.cloud.dialogflow.v2beta1.WebhookResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhookResponse.BuilderThe response message for a webhook call.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intEND_INTERACTION_FIELD_NUMBERstatic intFOLLOWUP_EVENT_INPUT_FIELD_NUMBERstatic intFULFILLMENT_MESSAGES_FIELD_NUMBERstatic intFULFILLMENT_TEXT_FIELD_NUMBERstatic intLIVE_AGENT_HANDOFF_FIELD_NUMBERstatic intOUTPUT_CONTEXTS_FIELD_NUMBERstatic intPAYLOAD_FIELD_NUMBERstatic intSESSION_ENTITY_TYPES_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static WebhookResponsegetDefaultInstance()WebhookResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetEndInteraction()Optional.EventInputgetFollowupEventInput()Optional.EventInputOrBuildergetFollowupEventInputOrBuilder()Optional.Intent.MessagegetFulfillmentMessages(int index)Optional.intgetFulfillmentMessagesCount()Optional.List<Intent.Message>getFulfillmentMessagesList()Optional.Intent.MessageOrBuildergetFulfillmentMessagesOrBuilder(int index)Optional.List<? extends Intent.MessageOrBuilder>getFulfillmentMessagesOrBuilderList()Optional.StringgetFulfillmentText()Optional.com.google.protobuf.ByteStringgetFulfillmentTextBytes()Optional.booleangetLiveAgentHandoff()Indicates that a live agent should be brought in to handle the interaction with the user.ContextgetOutputContexts(int index)Optional.intgetOutputContextsCount()Optional.List<Context>getOutputContextsList()Optional.ContextOrBuildergetOutputContextsOrBuilder(int index)Optional.List<? extends ContextOrBuilder>getOutputContextsOrBuilderList()Optional.com.google.protobuf.Parser<WebhookResponse>getParserForType()com.google.protobuf.StructgetPayload()Optional.com.google.protobuf.StructOrBuildergetPayloadOrBuilder()Optional.intgetSerializedSize()SessionEntityTypegetSessionEntityTypes(int index)Optional.intgetSessionEntityTypesCount()Optional.List<SessionEntityType>getSessionEntityTypesList()Optional.SessionEntityTypeOrBuildergetSessionEntityTypesOrBuilder(int index)Optional.List<? extends SessionEntityTypeOrBuilder>getSessionEntityTypesOrBuilderList()Optional.StringgetSource()Optional.com.google.protobuf.ByteStringgetSourceBytes()Optional.booleanhasFollowupEventInput()Optional.inthashCode()booleanhasPayload()Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WebhookResponse.BuildernewBuilder()static WebhookResponse.BuildernewBuilder(WebhookResponse prototype)WebhookResponse.BuildernewBuilderForType()protected WebhookResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WebhookResponseparseDelimitedFrom(InputStream input)static WebhookResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookResponseparseFrom(byte[] data)static WebhookResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookResponseparseFrom(com.google.protobuf.ByteString data)static WebhookResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookResponseparseFrom(com.google.protobuf.CodedInputStream input)static WebhookResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookResponseparseFrom(InputStream input)static WebhookResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WebhookResponseparseFrom(ByteBuffer data)static WebhookResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WebhookResponse>parser()WebhookResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FULFILLMENT_TEXT_FIELD_NUMBER
public static final int FULFILLMENT_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FULFILLMENT_MESSAGES_FIELD_NUMBER
public static final int FULFILLMENT_MESSAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_CONTEXTS_FIELD_NUMBER
public static final int OUTPUT_CONTEXTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FOLLOWUP_EVENT_INPUT_FIELD_NUMBER
public static final int FOLLOWUP_EVENT_INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIVE_AGENT_HANDOFF_FIELD_NUMBER
public static final int LIVE_AGENT_HANDOFF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_INTERACTION_FIELD_NUMBER
public static final int END_INTERACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SESSION_ENTITY_TYPES_FIELD_NUMBER
public static final int SESSION_ENTITY_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getFulfillmentText
public String getFulfillmentText()
Optional. The text response message intended for the end-user. It is recommended to use `fulfillment_messages.text.text[0]` instead. When provided, Dialogflow uses this field to populate [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
string fulfillment_text = 1;- Specified by:
getFulfillmentTextin interfaceWebhookResponseOrBuilder- Returns:
- The fulfillmentText.
-
getFulfillmentTextBytes
public com.google.protobuf.ByteString getFulfillmentTextBytes()
Optional. The text response message intended for the end-user. It is recommended to use `fulfillment_messages.text.text[0]` instead. When provided, Dialogflow uses this field to populate [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] sent to the integration or API caller.
string fulfillment_text = 1;- Specified by:
getFulfillmentTextBytesin interfaceWebhookResponseOrBuilder- Returns:
- The bytes for fulfillmentText.
-
getFulfillmentMessagesList
public List<Intent.Message> getFulfillmentMessagesList()
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2;- Specified by:
getFulfillmentMessagesListin interfaceWebhookResponseOrBuilder
-
getFulfillmentMessagesOrBuilderList
public List<? extends Intent.MessageOrBuilder> getFulfillmentMessagesOrBuilderList()
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2;- Specified by:
getFulfillmentMessagesOrBuilderListin interfaceWebhookResponseOrBuilder
-
getFulfillmentMessagesCount
public int getFulfillmentMessagesCount()
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2;- Specified by:
getFulfillmentMessagesCountin interfaceWebhookResponseOrBuilder
-
getFulfillmentMessages
public Intent.Message getFulfillmentMessages(int index)
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2;- Specified by:
getFulfillmentMessagesin interfaceWebhookResponseOrBuilder
-
getFulfillmentMessagesOrBuilder
public Intent.MessageOrBuilder getFulfillmentMessagesOrBuilder(int index)
Optional. The rich response messages intended for the end-user. When provided, Dialogflow uses this field to populate [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Intent.Message fulfillment_messages = 2;- Specified by:
getFulfillmentMessagesOrBuilderin interfaceWebhookResponseOrBuilder
-
getSource
public String getSource()
Optional. A custom field used to identify the webhook source. Arbitrary strings are supported. When provided, Dialogflow uses this field to populate [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
string source = 3;- Specified by:
getSourcein interfaceWebhookResponseOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
Optional. A custom field used to identify the webhook source. Arbitrary strings are supported. When provided, Dialogflow uses this field to populate [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] sent to the integration or API caller.
string source = 3;- Specified by:
getSourceBytesin interfaceWebhookResponseOrBuilder- Returns:
- The bytes for source.
-
hasPayload
public boolean hasPayload()
Optional. This field can be used to pass custom data from your webhook to the integration or API caller. Arbitrary JSON objects are supported. When provided, Dialogflow uses this field to populate [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller. This field is also used by the [Google Assistant integration](https://cloud.google.com/dialogflow/docs/integrations/aog) for rich response messages. See the format definition at [Google Assistant Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
.google.protobuf.Struct payload = 4;- Specified by:
hasPayloadin interfaceWebhookResponseOrBuilder- Returns:
- Whether the payload field is set.
-
getPayload
public com.google.protobuf.Struct getPayload()
Optional. This field can be used to pass custom data from your webhook to the integration or API caller. Arbitrary JSON objects are supported. When provided, Dialogflow uses this field to populate [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller. This field is also used by the [Google Assistant integration](https://cloud.google.com/dialogflow/docs/integrations/aog) for rich response messages. See the format definition at [Google Assistant Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
.google.protobuf.Struct payload = 4;- Specified by:
getPayloadin interfaceWebhookResponseOrBuilder- Returns:
- The payload.
-
getPayloadOrBuilder
public com.google.protobuf.StructOrBuilder getPayloadOrBuilder()
Optional. This field can be used to pass custom data from your webhook to the integration or API caller. Arbitrary JSON objects are supported. When provided, Dialogflow uses this field to populate [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] sent to the integration or API caller. This field is also used by the [Google Assistant integration](https://cloud.google.com/dialogflow/docs/integrations/aog) for rich response messages. See the format definition at [Google Assistant Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
.google.protobuf.Struct payload = 4;- Specified by:
getPayloadOrBuilderin interfaceWebhookResponseOrBuilder
-
getOutputContextsList
public List<Context> getOutputContextsList()
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5;- Specified by:
getOutputContextsListin interfaceWebhookResponseOrBuilder
-
getOutputContextsOrBuilderList
public List<? extends ContextOrBuilder> getOutputContextsOrBuilderList()
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5;- Specified by:
getOutputContextsOrBuilderListin interfaceWebhookResponseOrBuilder
-
getOutputContextsCount
public int getOutputContextsCount()
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5;- Specified by:
getOutputContextsCountin interfaceWebhookResponseOrBuilder
-
getOutputContexts
public Context getOutputContexts(int index)
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5;- Specified by:
getOutputContextsin interfaceWebhookResponseOrBuilder
-
getOutputContextsOrBuilder
public ContextOrBuilder getOutputContextsOrBuilder(int index)
Optional. The collection of output contexts that will overwrite currently active contexts for the session and reset their lifespans. When provided, Dialogflow uses this field to populate [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] sent to the integration or API caller.
repeated .google.cloud.dialogflow.v2beta1.Context output_contexts = 5;- Specified by:
getOutputContextsOrBuilderin interfaceWebhookResponseOrBuilder
-
hasFollowupEventInput
public boolean hasFollowupEventInput()
Optional. Invokes the supplied events. When this field is set, Dialogflow ignores the `fulfillment_text`, `fulfillment_messages`, and `payload` fields.
.google.cloud.dialogflow.v2beta1.EventInput followup_event_input = 6;- Specified by:
hasFollowupEventInputin interfaceWebhookResponseOrBuilder- Returns:
- Whether the followupEventInput field is set.
-
getFollowupEventInput
public EventInput getFollowupEventInput()
Optional. Invokes the supplied events. When this field is set, Dialogflow ignores the `fulfillment_text`, `fulfillment_messages`, and `payload` fields.
.google.cloud.dialogflow.v2beta1.EventInput followup_event_input = 6;- Specified by:
getFollowupEventInputin interfaceWebhookResponseOrBuilder- Returns:
- The followupEventInput.
-
getFollowupEventInputOrBuilder
public EventInputOrBuilder getFollowupEventInputOrBuilder()
Optional. Invokes the supplied events. When this field is set, Dialogflow ignores the `fulfillment_text`, `fulfillment_messages`, and `payload` fields.
.google.cloud.dialogflow.v2beta1.EventInput followup_event_input = 6;- Specified by:
getFollowupEventInputOrBuilderin interfaceWebhookResponseOrBuilder
-
getLiveAgentHandoff
public boolean getLiveAgentHandoff()
Indicates that a live agent should be brought in to handle the interaction with the user. In most cases, when you set this flag to true, you would also want to set end_interaction to true as well. Default is false.
bool live_agent_handoff = 7;- Specified by:
getLiveAgentHandoffin interfaceWebhookResponseOrBuilder- Returns:
- The liveAgentHandoff.
-
getEndInteraction
public 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 = 8;- Specified by:
getEndInteractionin interfaceWebhookResponseOrBuilder- Returns:
- The endInteraction.
-
getSessionEntityTypesList
public List<SessionEntityType> getSessionEntityTypesList()
Optional. Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session. Setting this data from a webhook overwrites the session entity types that have been set using `detectIntent`, `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10;- Specified by:
getSessionEntityTypesListin interfaceWebhookResponseOrBuilder
-
getSessionEntityTypesOrBuilderList
public List<? extends SessionEntityTypeOrBuilder> getSessionEntityTypesOrBuilderList()
Optional. Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session. Setting this data from a webhook overwrites the session entity types that have been set using `detectIntent`, `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10;- Specified by:
getSessionEntityTypesOrBuilderListin interfaceWebhookResponseOrBuilder
-
getSessionEntityTypesCount
public int getSessionEntityTypesCount()
Optional. Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session. Setting this data from a webhook overwrites the session entity types that have been set using `detectIntent`, `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10;- Specified by:
getSessionEntityTypesCountin interfaceWebhookResponseOrBuilder
-
getSessionEntityTypes
public SessionEntityType getSessionEntityTypes(int index)
Optional. Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session. Setting this data from a webhook overwrites the session entity types that have been set using `detectIntent`, `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10;- Specified by:
getSessionEntityTypesin interfaceWebhookResponseOrBuilder
-
getSessionEntityTypesOrBuilder
public SessionEntityTypeOrBuilder getSessionEntityTypesOrBuilder(int index)
Optional. Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session. Setting this data from a webhook overwrites the session entity types that have been set using `detectIntent`, `streamingDetectIntent` or [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] management methods.
repeated .google.cloud.dialogflow.v2beta1.SessionEntityType session_entity_types = 10;- Specified by:
getSessionEntityTypesOrBuilderin interfaceWebhookResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static WebhookResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WebhookResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WebhookResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WebhookResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WebhookResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static WebhookResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WebhookResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public WebhookResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WebhookResponse.Builder newBuilder()
-
newBuilder
public static WebhookResponse.Builder newBuilder(WebhookResponse prototype)
-
toBuilder
public WebhookResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WebhookResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WebhookResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WebhookResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<WebhookResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WebhookResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-