Interface CreateAssistantRequestOrBuilder (0.90.0)

public interface CreateAssistantRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssistant()

public abstract Assistant getAssistant()

Required. The Assistant to create.

.google.cloud.discoveryengine.v1beta.Assistant assistant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Assistant

The assistant.

getAssistantId()

public abstract String getAssistantId()

Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name.

This field must conform to RFC-1034 with a length limit of 63 characters.

string assistant_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The assistantId.

getAssistantIdBytes()

public abstract ByteString getAssistantIdBytes()

Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name.

This field must conform to RFC-1034 with a length limit of 63 characters.

string assistant_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for assistantId.

getAssistantOrBuilder()

public abstract AssistantOrBuilder getAssistantOrBuilder()

Required. The Assistant to create.

.google.cloud.discoveryengine.v1beta.Assistant assistant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AssistantOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

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

Returns
Type Description
ByteString

The bytes for parent.

hasAssistant()

public abstract boolean hasAssistant()

Required. The Assistant to create.

.google.cloud.discoveryengine.v1beta.Assistant assistant = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the assistant field is set.