public final class SessionTemplate extends com.google.protobuf.GeneratedMessageV3 implements SessionTemplateOrBuilder
A representation of a session template.Protobuf type
google.cloud.dataproc.v1.SessionTemplate| Modifier and Type | Class and Description |
|---|---|
static class |
SessionTemplate.Builder
A representation of a session template.
|
static class |
SessionTemplate.SessionConfigCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
CREATOR_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ENVIRONMENT_CONFIG_FIELD_NUMBER |
static int |
JUPYTER_SESSION_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RUNTIME_CONFIG_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
UUID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCreator()
Output only.
|
com.google.protobuf.ByteString |
getCreatorBytes()
Output only.
|
static SessionTemplate |
getDefaultInstance() |
SessionTemplate |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EnvironmentConfig |
getEnvironmentConfig()
Optional.
|
EnvironmentConfigOrBuilder |
getEnvironmentConfigOrBuilder()
Optional.
|
JupyterConfig |
getJupyterSession()
Optional.
|
JupyterConfigOrBuilder |
getJupyterSessionOrBuilder()
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
com.google.protobuf.Parser<SessionTemplate> |
getParserForType() |
RuntimeConfig |
getRuntimeConfig()
Optional.
|
RuntimeConfigOrBuilder |
getRuntimeConfigOrBuilder()
Optional.
|
int |
getSerializedSize() |
SessionTemplate.SessionConfigCase |
getSessionConfigCase() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getUuid()
Output only.
|
com.google.protobuf.ByteString |
getUuidBytes()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEnvironmentConfig()
Optional.
|
int |
hashCode() |
boolean |
hasJupyterSession()
Optional.
|
boolean |
hasRuntimeConfig()
Optional.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static SessionTemplate.Builder |
newBuilder() |
static SessionTemplate.Builder |
newBuilder(SessionTemplate prototype) |
SessionTemplate.Builder |
newBuilderForType() |
protected SessionTemplate.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SessionTemplate |
parseDelimitedFrom(InputStream input) |
static SessionTemplate |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionTemplate |
parseFrom(byte[] data) |
static SessionTemplate |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionTemplate |
parseFrom(ByteBuffer data) |
static SessionTemplate |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionTemplate |
parseFrom(com.google.protobuf.ByteString data) |
static SessionTemplate |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionTemplate |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SessionTemplate |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SessionTemplate |
parseFrom(InputStream input) |
static SessionTemplate |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SessionTemplate> |
parser() |
SessionTemplate.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int JUPYTER_SESSION_FIELD_NUMBER
public static final int CREATOR_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int RUNTIME_CONFIG_FIELD_NUMBER
public static final int ENVIRONMENT_CONFIG_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public SessionTemplate.SessionConfigCase getSessionConfigCase()
getSessionConfigCase in interface SessionTemplateOrBuilderpublic String getName()
Required. The resource name of the session template.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface SessionTemplateOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the session template.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface SessionTemplateOrBuilderpublic String getDescription()
Optional. Brief description of the template.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface SessionTemplateOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Brief description of the template.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface SessionTemplateOrBuilderpublic boolean hasCreateTime()
Output only. The time when the template was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface SessionTemplateOrBuilderpublic 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];
getCreateTime in interface SessionTemplateOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the template was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface SessionTemplateOrBuilderpublic boolean hasJupyterSession()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 3 [(.google.api.field_behavior) = OPTIONAL];
hasJupyterSession in interface SessionTemplateOrBuilderpublic JupyterConfig getJupyterSession()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 3 [(.google.api.field_behavior) = OPTIONAL];
getJupyterSession in interface SessionTemplateOrBuilderpublic JupyterConfigOrBuilder getJupyterSessionOrBuilder()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 3 [(.google.api.field_behavior) = OPTIONAL];
getJupyterSessionOrBuilder in interface SessionTemplateOrBuilderpublic String getCreator()
Output only. The email address of the user who created the template.
string creator = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getCreator in interface SessionTemplateOrBuilderpublic com.google.protobuf.ByteString getCreatorBytes()
Output only. The email address of the user who created the template.
string creator = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getCreatorBytes in interface SessionTemplateOrBuilderpublic int getLabelsCount()
SessionTemplateOrBuilderOptional. 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];getLabelsCount in interface SessionTemplateOrBuilderpublic boolean containsLabels(String key)
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];containsLabels in interface SessionTemplateOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SessionTemplateOrBuilderpublic Map<String,String> 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];getLabelsMap in interface SessionTemplateOrBuilderpublic String getLabelsOrDefault(String key, 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];getLabelsOrDefault in interface SessionTemplateOrBuilderpublic String getLabelsOrThrow(String key)
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];getLabelsOrThrow in interface SessionTemplateOrBuilderpublic boolean hasRuntimeConfig()
Optional. Runtime configuration for session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 7 [(.google.api.field_behavior) = OPTIONAL];
hasRuntimeConfig in interface SessionTemplateOrBuilderpublic RuntimeConfig getRuntimeConfig()
Optional. Runtime configuration for session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getRuntimeConfig in interface SessionTemplateOrBuilderpublic RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime configuration for session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 7 [(.google.api.field_behavior) = OPTIONAL];
getRuntimeConfigOrBuilder in interface SessionTemplateOrBuilderpublic boolean hasEnvironmentConfig()
Optional. Environment configuration for session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 8 [(.google.api.field_behavior) = OPTIONAL];
hasEnvironmentConfig in interface SessionTemplateOrBuilderpublic EnvironmentConfig getEnvironmentConfig()
Optional. Environment configuration for session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 8 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentConfig in interface SessionTemplateOrBuilderpublic EnvironmentConfigOrBuilder getEnvironmentConfigOrBuilder()
Optional. Environment configuration for session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 8 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentConfigOrBuilder in interface SessionTemplateOrBuilderpublic boolean hasUpdateTime()
Output only. The time the template was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface SessionTemplateOrBuilderpublic 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];
getUpdateTime in interface SessionTemplateOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time the template was last updated.
.google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface SessionTemplateOrBuilderpublic 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];getUuid in interface SessionTemplateOrBuilderpublic com.google.protobuf.ByteString getUuidBytes()
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];getUuidBytes in interface SessionTemplateOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SessionTemplate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionTemplate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SessionTemplate parseFrom(InputStream input) throws IOException
IOExceptionpublic static SessionTemplate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SessionTemplate parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SessionTemplate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SessionTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SessionTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SessionTemplate.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SessionTemplate.Builder newBuilder()
public static SessionTemplate.Builder newBuilder(SessionTemplate prototype)
public SessionTemplate.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SessionTemplate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SessionTemplate getDefaultInstance()
public static com.google.protobuf.Parser<SessionTemplate> parser()
public com.google.protobuf.Parser<SessionTemplate> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SessionTemplate getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.