public final class AnalyzeContentRequest extends GeneratedMessageV3 implements AnalyzeContentRequestOrBuilder
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].Protobuf type
google.cloud.dialogflow.v2beta1.AnalyzeContentRequest
Modifier and Type | Class and Description |
---|---|
static class |
AnalyzeContentRequest.Builder
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
|
static class |
AnalyzeContentRequest.InputCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
ASSIST_QUERY_PARAMS_FIELD_NUMBER |
static int |
AUDIO_INPUT_FIELD_NUMBER |
static int |
CX_CURRENT_PAGE_FIELD_NUMBER |
static int |
CX_PARAMETERS_FIELD_NUMBER |
static int |
EVENT_INPUT_FIELD_NUMBER |
static int |
MESSAGE_SEND_TIME_FIELD_NUMBER |
static int |
PARTICIPANT_FIELD_NUMBER |
static int |
QUERY_PARAMS_FIELD_NUMBER |
static int |
REPLY_AUDIO_CONFIG_FIELD_NUMBER |
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
TEXT_INPUT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int PARTICIPANT_FIELD_NUMBER
public static final int TEXT_INPUT_FIELD_NUMBER
public static final int AUDIO_INPUT_FIELD_NUMBER
public static final int EVENT_INPUT_FIELD_NUMBER
public static final int REPLY_AUDIO_CONFIG_FIELD_NUMBER
public static final int QUERY_PARAMS_FIELD_NUMBER
public static final int ASSIST_QUERY_PARAMS_FIELD_NUMBER
public static final int CX_PARAMETERS_FIELD_NUMBER
public static final int CX_CURRENT_PAGE_FIELD_NUMBER
public static final int MESSAGE_SEND_TIME_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public AnalyzeContentRequest.InputCase getInputCase()
getInputCase
in interface AnalyzeContentRequestOrBuilder
public String getParticipant()
Required. The name of the participant this text comes from. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParticipant
in interface AnalyzeContentRequestOrBuilder
public ByteString getParticipantBytes()
Required. The name of the participant this text comes from. Format: `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>`.
string participant = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParticipantBytes
in interface AnalyzeContentRequestOrBuilder
public boolean hasTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
hasTextInput
in interface AnalyzeContentRequestOrBuilder
public TextInput getTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
getTextInput
in interface AnalyzeContentRequestOrBuilder
public TextInputOrBuilder getTextInputOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
getTextInputOrBuilder
in interface AnalyzeContentRequestOrBuilder
public boolean hasAudioInput()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
hasAudioInput
in interface AnalyzeContentRequestOrBuilder
public AudioInput getAudioInput()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
getAudioInput
in interface AnalyzeContentRequestOrBuilder
public AudioInputOrBuilder getAudioInputOrBuilder()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
getAudioInputOrBuilder
in interface AnalyzeContentRequestOrBuilder
public boolean hasEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
hasEventInput
in interface AnalyzeContentRequestOrBuilder
public EventInput getEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
getEventInput
in interface AnalyzeContentRequestOrBuilder
public EventInputOrBuilder getEventInputOrBuilder()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
getEventInputOrBuilder
in interface AnalyzeContentRequestOrBuilder
public boolean hasReplyAudioConfig()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
hasReplyAudioConfig
in interface AnalyzeContentRequestOrBuilder
public OutputAudioConfig getReplyAudioConfig()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
getReplyAudioConfig
in interface AnalyzeContentRequestOrBuilder
public OutputAudioConfigOrBuilder getReplyAudioConfigOrBuilder()
Speech synthesis configuration. The speech synthesis settings for a virtual agent that may be configured for the associated conversation profile are not used when calling AnalyzeContent. If this configuration is not supplied, speech synthesis is disabled.
.google.cloud.dialogflow.v2beta1.OutputAudioConfig reply_audio_config = 5;
getReplyAudioConfigOrBuilder
in interface AnalyzeContentRequestOrBuilder
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
hasQueryParams
in interface AnalyzeContentRequestOrBuilder
public QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
getQueryParams
in interface AnalyzeContentRequestOrBuilder
public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
getQueryParamsOrBuilder
in interface AnalyzeContentRequestOrBuilder
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
hasAssistQueryParams
in interface AnalyzeContentRequestOrBuilder
public AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
getAssistQueryParams
in interface AnalyzeContentRequestOrBuilder
public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
getAssistQueryParamsOrBuilder
in interface AnalyzeContentRequestOrBuilder
public boolean hasCxParameters()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 18;
hasCxParameters
in interface AnalyzeContentRequestOrBuilder
public Struct getCxParameters()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 18;
getCxParameters
in interface AnalyzeContentRequestOrBuilder
public StructOrBuilder getCxParametersOrBuilder()
Additional parameters to be put into Dialogflow CX session parameters. To remove a parameter from the session, clients should explicitly set the parameter value to null. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
.google.protobuf.Struct cx_parameters = 18;
getCxParametersOrBuilder
in interface AnalyzeContentRequestOrBuilder
public String getCxCurrentPage()
The unique identifier of the CX page to override the `current_page` in the session. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`. If `cx_current_page` is specified, the previous state of the session will be ignored by Dialogflow CX, including the [previous page][QueryResult.current_page] and the [previous session parameters][QueryResult.parameters]. In most cases, `cx_current_page` and `cx_parameters` should be configured together to direct a session to a specific state. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
string cx_current_page = 20;
getCxCurrentPage
in interface AnalyzeContentRequestOrBuilder
public ByteString getCxCurrentPageBytes()
The unique identifier of the CX page to override the `current_page` in the session. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>`. If `cx_current_page` is specified, the previous state of the session will be ignored by Dialogflow CX, including the [previous page][QueryResult.current_page] and the [previous session parameters][QueryResult.parameters]. In most cases, `cx_current_page` and `cx_parameters` should be configured together to direct a session to a specific state. Note: this field should only be used if you are connecting to a Dialogflow CX agent.
string cx_current_page = 20;
getCxCurrentPageBytes
in interface AnalyzeContentRequestOrBuilder
public boolean hasMessageSendTime()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: - If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. - If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10;
hasMessageSendTime
in interface AnalyzeContentRequestOrBuilder
public Timestamp getMessageSendTime()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: - If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. - If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10;
getMessageSendTime
in interface AnalyzeContentRequestOrBuilder
public TimestampOrBuilder getMessageSendTimeOrBuilder()
Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: - If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. - If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.
.google.protobuf.Timestamp message_send_time = 10;
getMessageSendTimeOrBuilder
in interface AnalyzeContentRequestOrBuilder
public String getRequestId()
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.
string request_id = 11;
getRequestId
in interface AnalyzeContentRequestOrBuilder
public ByteString getRequestIdBytes()
A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is only idempotent if a `request_id` is provided.
string request_id = 11;
getRequestIdBytes
in interface AnalyzeContentRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static AnalyzeContentRequest parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnalyzeContentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnalyzeContentRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnalyzeContentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnalyzeContentRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnalyzeContentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AnalyzeContentRequest parseFrom(InputStream input) throws IOException
IOException
public static AnalyzeContentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AnalyzeContentRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static AnalyzeContentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AnalyzeContentRequest parseFrom(CodedInputStream input) throws IOException
IOException
public static AnalyzeContentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public AnalyzeContentRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AnalyzeContentRequest.Builder newBuilder()
public static AnalyzeContentRequest.Builder newBuilder(AnalyzeContentRequest prototype)
public AnalyzeContentRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AnalyzeContentRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AnalyzeContentRequest getDefaultInstance()
public static Parser<AnalyzeContentRequest> parser()
public Parser<AnalyzeContentRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AnalyzeContentRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.