Interface CreateConversationRequestOrBuilder (0.1.0)

public interface CreateConversationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversation()

public abstract Conversation getConversation()

Required. The conversation to create.

.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Conversation

The conversation.

getConversationId()

public abstract String getConversationId()

Optional. The conversation id of the conversation to create. Must be unique within the parent. The allowed format is: ^a-z?$. If not provided, the server will auto-generate a value for the id.

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

Returns
Type Description
String

The conversationId.

getConversationIdBytes()

public abstract ByteString getConversationIdBytes()

Optional. The conversation id of the conversation to create. Must be unique within the parent. The allowed format is: ^a-z?$. If not provided, the server will auto-generate a value for the id.

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

Returns
Type Description
ByteString

The bytes for conversationId.

getConversationOrBuilder()

public abstract ConversationOrBuilder getConversationOrBuilder()

Required. The conversation to create.

.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversationOrBuilder

getParent()

public abstract String getParent()

Required. Parent value for CreateConversationRequest. Format: projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Parent value for CreateConversationRequest. Format: projects/{project}/locations/{location}

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

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

hasConversation()

public abstract boolean hasConversation()

Required. The conversation to create.

.google.cloud.geminidataanalytics.v1beta.Conversation conversation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversation field is set.