Interface GetSessionRequestOrBuilder (0.58.0)

public interface GetSessionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIncludeAnswerDetails()

public abstract boolean getIncludeAnswerDetails()

Optional. If set to true, the full session including all answer details will be returned.

bool include_answer_details = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The includeAnswerDetails.

getName()

public abstract String getName()

Required. The resource name of the Session to get. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the Session to get. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}

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

Returns
Type Description
ByteString

The bytes for name.