public interface SessionOrBuilder
extends com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. The resource name of the session.
string name = 1 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the session.
string name = 1 [(.google.api.field_behavior) = REQUIRED];String getUuid()
Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.
string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getUuidBytes()
Output only. A session UUID (Unique Universal Identifier). The service generates this value when it creates the session.
string uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasCreateTime()
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
boolean hasJupyterSession()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
JupyterConfig getJupyterSession()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
JupyterConfigOrBuilder getJupyterSessionOrBuilder()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
boolean hasRuntimeInfo()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
RuntimeInfo getRuntimeInfo()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
RuntimeInfoOrBuilder getRuntimeInfoOrBuilder()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getStateValue()
Output only. A state of the session.
.google.cloud.dataproc.v1.Session.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Session.State getState()
Output only. A state of the session.
.google.cloud.dataproc.v1.Session.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getStateMessage()
Output only. Session state details, such as the failure description if the state is `FAILED`.
string state_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getStateMessageBytes()
Output only. Session state details, such as the failure description if the state is `FAILED`.
string state_message = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];boolean hasStateTime()
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.Timestamp getStateTime()
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getCreator()
Output only. The email address of the user who created the session.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getCreatorBytes()
Output only. The email address of the user who created the session.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];int getLabelsCount()
Optional. The labels to associate with the session. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];boolean containsLabels(String key)
Optional. The labels to associate with the session. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Optional. The labels to associate with the session. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with the session. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];String getLabelsOrThrow(String key)
Optional. The labels to associate with the session. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];boolean hasRuntimeConfig()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
RuntimeConfig getRuntimeConfig()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
boolean hasEnvironmentConfig()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
EnvironmentConfig getEnvironmentConfig()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
EnvironmentConfigOrBuilder getEnvironmentConfigOrBuilder()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
String getUser()
Optional. The email address of the user who owns the session.
string user = 14 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getUserBytes()
Optional. The email address of the user who owns the session.
string user = 14 [(.google.api.field_behavior) = OPTIONAL];List<Session.SessionStateHistory> getStateHistoryList()
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Session.SessionStateHistory getStateHistory(int index)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
int getStateHistoryCount()
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
List<? extends Session.SessionStateHistoryOrBuilder> getStateHistoryOrBuilderList()
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Session.SessionStateHistoryOrBuilder getStateHistoryOrBuilder(int index)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getSessionTemplate()
Optional. The session template used by the session. Only resource names, including project ID and location, are valid. Example: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]` * `projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]` The template must be in the same project and Dataproc region as the session.
string session_template = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getSessionTemplateBytes()
Optional. The session template used by the session. Only resource names, including project ID and location, are valid. Example: * `https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]` * `projects/[project_id]/locations/[dataproc_region]/sessionTemplates/[template_id]` The template must be in the same project and Dataproc region as the session.
string session_template = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Session.SessionConfigCase getSessionConfigCase()
Copyright © 2024 Google LLC. All rights reserved.