Interface CreateSessionRequestOrBuilder (0.49.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.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Session

The session.

getSessionOrBuilder()

public abstract SessionOrBuilder getSessionOrBuilder()

Required. The session to create.

.google.cloud.discoveryengine.v1.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.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the session field is set.