Interface MessageEntryOrBuilder (4.57.0)

public interface MessageEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Optional. Create time of the message entry.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Optional. Create time of the message entry.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getLanguageCode()

public abstract String getLanguageCode()

Optional. The language of the text. See Language Support for a list of the currently supported language codes.

string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. The language of the text. See Language Support for a list of the currently supported language codes.

string language_code = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getRole()

public abstract MessageEntry.Role getRole()

Optional. Participant role of the message.

.google.cloud.dialogflow.v2beta1.MessageEntry.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MessageEntry.Role

The role.

getRoleValue()

public abstract int getRoleValue()

Optional. Participant role of the message.

.google.cloud.dialogflow.v2beta1.MessageEntry.Role role = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for role.

getText()

public abstract String getText()

Optional. Transcript content of the message.

string text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The text.

getTextBytes()

public abstract ByteString getTextBytes()

Optional. Transcript content of the message.

string text = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for text.

hasCreateTime()

public abstract boolean hasCreateTime()

Optional. Create time of the message entry.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the createTime field is set.