Interface StreamAssistResponse.SessionInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StreamAssistResponse.SessionInfo, StreamAssistResponse.SessionInfo.Builder
Enclosing class:
StreamAssistResponse

public static interface StreamAssistResponse.SessionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of the newly generated or continued session.
    com.google.protobuf.ByteString
    Name of the newly generated or continued session.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getSession

      String getSession()
       Name of the newly generated or continued session.
      
       Format:
       `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`.
       
      string session = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The session.
    • getSessionBytes

      com.google.protobuf.ByteString getSessionBytes()
       Name of the newly generated or continued session.
      
       Format:
       `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`.
       
      string session = 1 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for session.