Package com.google.cloud.aiplatform.v1
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 TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`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.aiplatform.v1.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.aiplatform.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The session.
-
getSessionOrBuilder
SessionOrBuilder getSessionOrBuilder()Required. The session to create.
.google.cloud.aiplatform.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; -
getSessionId
String getSessionId()Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number.
string session_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The sessionId.
-
getSessionIdBytes
com.google.protobuf.ByteString getSessionIdBytes()Optional. The user defined ID to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this ID. This value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The first character must be a letter, and the last character must be a letter or number.
string session_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for sessionId.
-