Interface CreateSessionRequestOrBuilder (0.90.0)

public interface CreateSessionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_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. Full resource name of parent data store. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}

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

Returns
Type Description
ByteString

The bytes for parent.

getSession()

public abstract Session getSession()

Required. The session to create.

.google.cloud.discoveryengine.v1beta.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Session

The session.

getSessionId()

public abstract String getSessionId()

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

This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated.

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

Returns
Type Description
String

The sessionId.

getSessionIdBytes()

public abstract ByteString getSessionIdBytes()

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

This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated.

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

Returns
Type Description
ByteString

The bytes for sessionId.

getSessionOrBuilder()

public abstract SessionOrBuilder getSessionOrBuilder()

Required. The session to create.

.google.cloud.discoveryengine.v1beta.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SessionOrBuilder

hasSession()

public abstract boolean hasSession()

Required. The session to create.

.google.cloud.discoveryengine.v1beta.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the session field is set.