All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dataproc.v1.SessionTemplateOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.53.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dataproc/v1/session_templates.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;

public interface SessionTemplateOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.SessionTemplate)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Required. The resource name of the session template.
   * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The name. */ java.lang.String getName(); /** * * *
   * Required. The resource name of the session template.
   * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Optional. Brief description of the template.
   * 
* * string description = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * Optional. Brief description of the template.
   * 
* * string description = 9 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Output only. The time when the template was created.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** * * *
   * Output only. The time when the template was created.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** * * *
   * Output only. The time when the template was created.
   * 
* * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** * * *
   * Optional. Jupyter session config.
   * 
* * * .google.cloud.dataproc.v1.JupyterConfig jupyter_session = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the jupyterSession field is set. */ boolean hasJupyterSession(); /** * * *
   * Optional. Jupyter session config.
   * 
* * * .google.cloud.dataproc.v1.JupyterConfig jupyter_session = 3 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The jupyterSession. */ com.google.cloud.dataproc.v1.JupyterConfig getJupyterSession(); /** * * *
   * Optional. Jupyter session config.
   * 
* * * .google.cloud.dataproc.v1.JupyterConfig jupyter_session = 3 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dataproc.v1.JupyterConfigOrBuilder getJupyterSessionOrBuilder(); /** * * *
   * Optional. Spark Connect session config.
   * 
* * * .google.cloud.dataproc.v1.SparkConnectConfig spark_connect_session = 11 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the sparkConnectSession field is set. */ boolean hasSparkConnectSession(); /** * * *
   * Optional. Spark Connect session config.
   * 
* * * .google.cloud.dataproc.v1.SparkConnectConfig spark_connect_session = 11 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The sparkConnectSession. */ com.google.cloud.dataproc.v1.SparkConnectConfig getSparkConnectSession(); /** * * *
   * Optional. Spark Connect session config.
   * 
* * * .google.cloud.dataproc.v1.SparkConnectConfig spark_connect_session = 11 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dataproc.v1.SparkConnectConfigOrBuilder getSparkConnectSessionOrBuilder(); /** * * *
   * Output only. The email address of the user who created the template.
   * 
* * string creator = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The creator. */ java.lang.String getCreator(); /** * * *
   * Output only. The email address of the user who created the template.
   * 
* * string creator = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for creator. */ com.google.protobuf.ByteString getCreatorBytes(); /** * * *
   * Optional. Labels to associate with sessions created using this template.
   * Label **keys** must contain 1 to 63 characters, and must conform to
   * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
   * Label **values** can be empty, but, if present, must contain 1 to 63
   * characters and 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 = 6 [(.google.api.field_behavior) = OPTIONAL]; */ int getLabelsCount(); /** * * *
   * Optional. Labels to associate with sessions created using this template.
   * Label **keys** must contain 1 to 63 characters, and must conform to
   * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
   * Label **values** can be empty, but, if present, must contain 1 to 63
   * characters and 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 = 6 [(.google.api.field_behavior) = OPTIONAL]; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * Optional. Labels to associate with sessions created using this template.
   * Label **keys** must contain 1 to 63 characters, and must conform to
   * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
   * Label **values** can be empty, but, if present, must contain 1 to 63
   * characters and 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 = 6 [(.google.api.field_behavior) = OPTIONAL]; */ java.util.Map getLabelsMap(); /** * * *
   * Optional. Labels to associate with sessions created using this template.
   * Label **keys** must contain 1 to 63 characters, and must conform to
   * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
   * Label **values** can be empty, but, if present, must contain 1 to 63
   * characters and 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 = 6 [(.google.api.field_behavior) = OPTIONAL]; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * Optional. Labels to associate with sessions created using this template.
   * Label **keys** must contain 1 to 63 characters, and must conform to
   * [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt).
   * Label **values** can be empty, but, if present, must contain 1 to 63
   * characters and 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 = 6 [(.google.api.field_behavior) = OPTIONAL]; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * Optional. Runtime configuration for session execution.
   * 
* * * .google.cloud.dataproc.v1.RuntimeConfig runtime_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the runtimeConfig field is set. */ boolean hasRuntimeConfig(); /** * * *
   * Optional. Runtime configuration for session execution.
   * 
* * * .google.cloud.dataproc.v1.RuntimeConfig runtime_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The runtimeConfig. */ com.google.cloud.dataproc.v1.RuntimeConfig getRuntimeConfig(); /** * * *
   * Optional. Runtime configuration for session execution.
   * 
* * * .google.cloud.dataproc.v1.RuntimeConfig runtime_config = 7 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dataproc.v1.RuntimeConfigOrBuilder getRuntimeConfigOrBuilder(); /** * * *
   * Optional. Environment configuration for session execution.
   * 
* * * .google.cloud.dataproc.v1.EnvironmentConfig environment_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the environmentConfig field is set. */ boolean hasEnvironmentConfig(); /** * * *
   * Optional. Environment configuration for session execution.
   * 
* * * .google.cloud.dataproc.v1.EnvironmentConfig environment_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The environmentConfig. */ com.google.cloud.dataproc.v1.EnvironmentConfig getEnvironmentConfig(); /** * * *
   * Optional. Environment configuration for session execution.
   * 
* * * .google.cloud.dataproc.v1.EnvironmentConfig environment_config = 8 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.cloud.dataproc.v1.EnvironmentConfigOrBuilder getEnvironmentConfigOrBuilder(); /** * * *
   * Output only. The time the template was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * Output only. The time the template was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * Output only. The time the template was last updated.
   * 
* * .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * Output only. A session template UUID (Unique Universal Identifier). The
   * service generates this value when it creates the session template.
   * 
* * string uuid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The uuid. */ java.lang.String getUuid(); /** * * *
   * Output only. A session template UUID (Unique Universal Identifier). The
   * service generates this value when it creates the session template.
   * 
* * string uuid = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for uuid. */ com.google.protobuf.ByteString getUuidBytes(); com.google.cloud.dataproc.v1.SessionTemplate.SessionConfigCase getSessionConfigCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy