Package com.google.cloud.dialogflow.v2
Interface MessageEntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MessageEntry,MessageEntry.Builder
@Generated
public interface MessageEntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRoleValue
int getRoleValue()Optional. Participant role of the message.
.google.cloud.dialogflow.v2.MessageEntry.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for role.
-
getRole
MessageEntry.Role getRole()Optional. Participant role of the message.
.google.cloud.dialogflow.v2.MessageEntry.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The role.
-
getText
String getText()Optional. Transcript content of the message.
string text = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The text.
-
getTextBytes
com.google.protobuf.ByteString getTextBytes()Optional. Transcript content of the message.
string text = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for text.
-
getLanguageCode
String getLanguageCode()Optional. The language of the text. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The languageCode.
-
getLanguageCodeBytes
com.google.protobuf.ByteString getLanguageCodeBytes()Optional. The language of the text. See [Language Support](https://cloud.google.com/dialogflow/docs/reference/language) for a list of the currently supported language codes.
string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for languageCode.
-
hasCreateTime
boolean hasCreateTime()Optional. Create time of the message entry.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Optional. Create time of the message entry.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Optional. Create time of the message entry.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];
-