Interface CreateMessageRequestOrBuilder (4.58.0)

public interface CreateMessageRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessage()

public abstract Message getMessage()

Required. The message to create. Message.participant is required.

.google.cloud.dialogflow.v2beta1.Message message = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Message

The message.

getMessageOrBuilder()

public abstract MessageOrBuilder getMessageOrBuilder()

Required. The message to create. Message.participant is required.

.google.cloud.dialogflow.v2beta1.Message message = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MessageOrBuilder

getParent()

public abstract String getParent()

Required. Resource identifier of the conversation to create message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource identifier of the conversation to create message. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasMessage()

public abstract boolean hasMessage()

Required. The message to create. Message.participant is required.

.google.cloud.dialogflow.v2beta1.Message message = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the message field is set.