public interface CreateSessionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
String |
getRequestId()
Optional.
|
com.google.protobuf.ByteString |
getRequestIdBytes()
Optional.
|
Session |
getSession()
Required.
|
String |
getSessionId()
Required.
|
com.google.protobuf.ByteString |
getSessionIdBytes()
Required.
|
SessionOrBuilder |
getSessionOrBuilder()
Required.
|
boolean |
hasSession()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Required. The parent resource where this session will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. The parent resource where this session will be created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasSession()
Required. The interactive session to create.
.google.cloud.dataproc.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
Session getSession()
Required. The interactive session to create.
.google.cloud.dataproc.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
SessionOrBuilder getSessionOrBuilder()
Required. The interactive session to create.
.google.cloud.dataproc.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED];
String getSessionId()
Required. The ID to use for the session, which becomes the final component of the session's resource name. This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
string session_id = 3 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getSessionIdBytes()
Required. The ID to use for the session, which becomes the final component of the session's resource name. This value must be 4-63 characters. Valid characters are /[a-z][0-9]-/.
string session_id = 3 [(.google.api.field_behavior) = REQUIRED];String getRequestId()
Optional. A unique ID used to identify the request. If the service receives two [CreateSessionRequests](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s with the same ID, the second request is ignored, and the first [Session][google.cloud.dataproc.v1.Session] is created and stored in the backend. Recommendation: Set this value to a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getRequestIdBytes()
Optional. A unique ID used to identify the request. If the service receives two [CreateSessionRequests](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateSessionRequest)s with the same ID, the second request is ignored, and the first [Session][google.cloud.dataproc.v1.Session] is created and stored in the backend. Recommendation: Set this value to a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). The value must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2024 Google LLC. All rights reserved.