Class AnalyzeContentRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dialogflow.v2beta1.AnalyzeContentRequest
-
- All Implemented Interfaces:
AnalyzeContentRequestOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class AnalyzeContentRequest extends com.google.protobuf.GeneratedMessageV3 implements AnalyzeContentRequestOrBuilder
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
Protobuf typegoogle.cloud.dialogflow.v2beta1.AnalyzeContentRequest
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnalyzeContentRequest.Builder
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].static class
AnalyzeContentRequest.InputCase
-
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 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
SUGGESTION_INPUT_FIELD_NUMBER
static int
TEXT_INPUT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AssistQueryParameters
getAssistQueryParams()
Parameters for a human assist query.AssistQueryParametersOrBuilder
getAssistQueryParamsOrBuilder()
Parameters for a human assist query.AudioInput
getAudioInput()
The natural language speech audio to be processed.AudioInputOrBuilder
getAudioInputOrBuilder()
The natural language speech audio to be processed.String
getCxCurrentPage()
The unique identifier of the CX page to override the `current_page` in the session.com.google.protobuf.ByteString
getCxCurrentPageBytes()
The unique identifier of the CX page to override the `current_page` in the session.com.google.protobuf.Struct
getCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.com.google.protobuf.StructOrBuilder
getCxParametersOrBuilder()
Additional parameters to be put into Dialogflow CX session parameters.static AnalyzeContentRequest
getDefaultInstance()
AnalyzeContentRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
EventInput
getEventInput()
An input event to send to Dialogflow.EventInputOrBuilder
getEventInputOrBuilder()
An input event to send to Dialogflow.AnalyzeContentRequest.InputCase
getInputCase()
com.google.protobuf.Timestamp
getMessageSendTime()
Optional.com.google.protobuf.TimestampOrBuilder
getMessageSendTimeOrBuilder()
Optional.com.google.protobuf.Parser<AnalyzeContentRequest>
getParserForType()
String
getParticipant()
Required.com.google.protobuf.ByteString
getParticipantBytes()
Required.QueryParameters
getQueryParams()
Parameters for a Dialogflow virtual-agent query.QueryParametersOrBuilder
getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.OutputAudioConfig
getReplyAudioConfig()
Speech synthesis configuration.OutputAudioConfigOrBuilder
getReplyAudioConfigOrBuilder()
Speech synthesis configuration.String
getRequestId()
A unique identifier for this request.com.google.protobuf.ByteString
getRequestIdBytes()
A unique identifier for this request.int
getSerializedSize()
SuggestionInput
getSuggestionInput()
An input representing the selection of a suggestion.SuggestionInputOrBuilder
getSuggestionInputOrBuilder()
An input representing the selection of a suggestion.TextInput
getTextInput()
The natural language text to be processed.TextInputOrBuilder
getTextInputOrBuilder()
The natural language text to be processed.boolean
hasAssistQueryParams()
Parameters for a human assist query.boolean
hasAudioInput()
The natural language speech audio to be processed.boolean
hasCxParameters()
Additional parameters to be put into Dialogflow CX session parameters.boolean
hasEventInput()
An input event to send to Dialogflow.int
hashCode()
boolean
hasMessageSendTime()
Optional.boolean
hasQueryParams()
Parameters for a Dialogflow virtual-agent query.boolean
hasReplyAudioConfig()
Speech synthesis configuration.boolean
hasSuggestionInput()
An input representing the selection of a suggestion.boolean
hasTextInput()
The natural language text to be processed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AnalyzeContentRequest.Builder
newBuilder()
static AnalyzeContentRequest.Builder
newBuilder(AnalyzeContentRequest prototype)
AnalyzeContentRequest.Builder
newBuilderForType()
protected AnalyzeContentRequest.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AnalyzeContentRequest
parseDelimitedFrom(InputStream input)
static AnalyzeContentRequest
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeContentRequest
parseFrom(byte[] data)
static AnalyzeContentRequest
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeContentRequest
parseFrom(com.google.protobuf.ByteString data)
static AnalyzeContentRequest
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeContentRequest
parseFrom(com.google.protobuf.CodedInputStream input)
static AnalyzeContentRequest
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeContentRequest
parseFrom(InputStream input)
static AnalyzeContentRequest
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AnalyzeContentRequest
parseFrom(ByteBuffer data)
static AnalyzeContentRequest
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AnalyzeContentRequest>
parser()
AnalyzeContentRequest.Builder
toBuilder()
void
writeTo(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
-
PARTICIPANT_FIELD_NUMBER
public static final int PARTICIPANT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_INPUT_FIELD_NUMBER
public static final int TEXT_INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUDIO_INPUT_FIELD_NUMBER
public static final int AUDIO_INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_INPUT_FIELD_NUMBER
public static final int EVENT_INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUGGESTION_INPUT_FIELD_NUMBER
public static final int SUGGESTION_INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLY_AUDIO_CONFIG_FIELD_NUMBER
public static final int REPLY_AUDIO_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_PARAMS_FIELD_NUMBER
public static final int QUERY_PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSIST_QUERY_PARAMS_FIELD_NUMBER
public static final int ASSIST_QUERY_PARAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CX_PARAMETERS_FIELD_NUMBER
public static final int CX_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CX_CURRENT_PAGE_FIELD_NUMBER
public static final int CX_CURRENT_PAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_SEND_TIME_FIELD_NUMBER
public static final int MESSAGE_SEND_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getInputCase
public AnalyzeContentRequest.InputCase getInputCase()
- Specified by:
getInputCase
in interfaceAnalyzeContentRequestOrBuilder
-
getParticipant
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) = { ... }
- Specified by:
getParticipant
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The participant.
-
getParticipantBytes
public com.google.protobuf.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) = { ... }
- Specified by:
getParticipantBytes
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The bytes for participant.
-
hasTextInput
public boolean hasTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
- Specified by:
hasTextInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the textInput field is set.
-
getTextInput
public TextInput getTextInput()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
- Specified by:
getTextInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The textInput.
-
getTextInputOrBuilder
public TextInputOrBuilder getTextInputOrBuilder()
The natural language text to be processed.
.google.cloud.dialogflow.v2beta1.TextInput text_input = 6;
- Specified by:
getTextInputOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
hasAudioInput
public boolean hasAudioInput()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
- Specified by:
hasAudioInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the audioInput field is set.
-
getAudioInput
public AudioInput getAudioInput()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
- Specified by:
getAudioInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The audioInput.
-
getAudioInputOrBuilder
public AudioInputOrBuilder getAudioInputOrBuilder()
The natural language speech audio to be processed.
.google.cloud.dialogflow.v2beta1.AudioInput audio_input = 7;
- Specified by:
getAudioInputOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
hasEventInput
public boolean hasEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
- Specified by:
hasEventInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the eventInput field is set.
-
getEventInput
public EventInput getEventInput()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
- Specified by:
getEventInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The eventInput.
-
getEventInputOrBuilder
public EventInputOrBuilder getEventInputOrBuilder()
An input event to send to Dialogflow.
.google.cloud.dialogflow.v2beta1.EventInput event_input = 8;
- Specified by:
getEventInputOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
hasSuggestionInput
public boolean hasSuggestionInput()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
- Specified by:
hasSuggestionInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the suggestionInput field is set.
-
getSuggestionInput
public SuggestionInput getSuggestionInput()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
- Specified by:
getSuggestionInput
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The suggestionInput.
-
getSuggestionInputOrBuilder
public SuggestionInputOrBuilder getSuggestionInputOrBuilder()
An input representing the selection of a suggestion.
.google.cloud.dialogflow.v2beta1.SuggestionInput suggestion_input = 12;
- Specified by:
getSuggestionInputOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
hasReplyAudioConfig
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;
- Specified by:
hasReplyAudioConfig
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the replyAudioConfig field is set.
-
getReplyAudioConfig
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;
- Specified by:
getReplyAudioConfig
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The replyAudioConfig.
-
getReplyAudioConfigOrBuilder
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;
- Specified by:
getReplyAudioConfigOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
hasQueryParams
public boolean hasQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
- Specified by:
hasQueryParams
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the queryParams field is set.
-
getQueryParams
public QueryParameters getQueryParams()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
- Specified by:
getQueryParams
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The queryParams.
-
getQueryParamsOrBuilder
public QueryParametersOrBuilder getQueryParamsOrBuilder()
Parameters for a Dialogflow virtual-agent query.
.google.cloud.dialogflow.v2beta1.QueryParameters query_params = 9;
- Specified by:
getQueryParamsOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
hasAssistQueryParams
public boolean hasAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
- Specified by:
hasAssistQueryParams
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the assistQueryParams field is set.
-
getAssistQueryParams
public AssistQueryParameters getAssistQueryParams()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
- Specified by:
getAssistQueryParams
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The assistQueryParams.
-
getAssistQueryParamsOrBuilder
public AssistQueryParametersOrBuilder getAssistQueryParamsOrBuilder()
Parameters for a human assist query.
.google.cloud.dialogflow.v2beta1.AssistQueryParameters assist_query_params = 14;
- Specified by:
getAssistQueryParamsOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
hasCxParameters
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;
- Specified by:
hasCxParameters
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the cxParameters field is set.
-
getCxParameters
public com.google.protobuf.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;
- Specified by:
getCxParameters
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The cxParameters.
-
getCxParametersOrBuilder
public com.google.protobuf.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;
- Specified by:
getCxParametersOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
getCxCurrentPage
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;
- Specified by:
getCxCurrentPage
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The cxCurrentPage.
-
getCxCurrentPageBytes
public com.google.protobuf.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;
- Specified by:
getCxCurrentPageBytes
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The bytes for cxCurrentPage.
-
hasMessageSendTime
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;
- Specified by:
hasMessageSendTime
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- Whether the messageSendTime field is set.
-
getMessageSendTime
public com.google.protobuf.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;
- Specified by:
getMessageSendTime
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The messageSendTime.
-
getMessageSendTimeOrBuilder
public com.google.protobuf.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;
- Specified by:
getMessageSendTimeOrBuilder
in interfaceAnalyzeContentRequestOrBuilder
-
getRequestId
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;
- Specified by:
getRequestId
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.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;
- Specified by:
getRequestIdBytes
in interfaceAnalyzeContentRequestOrBuilder
- Returns:
- The bytes for requestId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AnalyzeContentRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AnalyzeContentRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AnalyzeContentRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AnalyzeContentRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AnalyzeContentRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AnalyzeContentRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AnalyzeContentRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AnalyzeContentRequest.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AnalyzeContentRequest.Builder newBuilder()
-
newBuilder
public static AnalyzeContentRequest.Builder newBuilder(AnalyzeContentRequest prototype)
-
toBuilder
public AnalyzeContentRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AnalyzeContentRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AnalyzeContentRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AnalyzeContentRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<AnalyzeContentRequest> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AnalyzeContentRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-