Interface CreateSessionRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateSessionRequest, CreateSessionRequest.Builder

@Generated public interface CreateSessionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    boolean
    Required.

    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

    • getParent

      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:
      The parent.
    • getParentBytes

      com.google.protobuf.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:
      The bytes for parent.
    • hasSession

      boolean hasSession()
       Required. The session to create.
       
      .google.cloud.discoveryengine.v1beta.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the session field is set.
    • getSession

      Session getSession()
       Required. The session to create.
       
      .google.cloud.discoveryengine.v1beta.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The session.
    • getSessionOrBuilder

      SessionOrBuilder getSessionOrBuilder()
       Required. The session to create.
       
      .google.cloud.discoveryengine.v1beta.Session session = 2 [(.google.api.field_behavior) = REQUIRED];