public static final class Session.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder> implements SessionOrBuilder
A representation of a session.Protobuf type
google.cloud.dataproc.v1.SessiongetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Session build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Session buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Session.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Session.Builder>public Session.Builder mergeFrom(Session other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public Session.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Session.Builder>IOExceptionpublic Session.SessionConfigCase getSessionConfigCase()
getSessionConfigCase in interface SessionOrBuilderpublic Session.Builder clearSessionConfig()
public String getName()
Required. The resource name of the session.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface SessionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the session.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface SessionOrBuilderpublic Session.Builder setName(String value)
Required. The resource name of the session.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The name to set.public Session.Builder clearName()
Required. The resource name of the session.
string name = 1 [(.google.api.field_behavior) = REQUIRED];public Session.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The resource name of the session.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for name to set.public 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];getUuid in interface SessionOrBuilderpublic 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];getUuidBytes in interface SessionOrBuilderpublic Session.Builder setUuid(String value)
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];value - The uuid to set.public Session.Builder clearUuid()
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];public Session.Builder setUuidBytes(com.google.protobuf.ByteString value)
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];value - The bytes for uuid to set.public boolean hasCreateTime()
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface SessionOrBuilderpublic 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];
getCreateTime in interface SessionOrBuilderpublic Session.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder clearCreateTime()
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the session was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getCreateTimeOrBuilder in interface SessionOrBuilderpublic boolean hasJupyterSession()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
hasJupyterSession in interface SessionOrBuilderpublic JupyterConfig getJupyterSession()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
getJupyterSession in interface SessionOrBuilderpublic Session.Builder setJupyterSession(JupyterConfig value)
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder setJupyterSession(JupyterConfig.Builder builderForValue)
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder mergeJupyterSession(JupyterConfig value)
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder clearJupyterSession()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
public JupyterConfig.Builder getJupyterSessionBuilder()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
public JupyterConfigOrBuilder getJupyterSessionOrBuilder()
Optional. Jupyter session config.
.google.cloud.dataproc.v1.JupyterConfig jupyter_session = 4 [(.google.api.field_behavior) = OPTIONAL];
getJupyterSessionOrBuilder in interface SessionOrBuilderpublic boolean hasRuntimeInfo()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRuntimeInfo in interface SessionOrBuilderpublic RuntimeInfo getRuntimeInfo()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRuntimeInfo in interface SessionOrBuilderpublic Session.Builder setRuntimeInfo(RuntimeInfo value)
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder setRuntimeInfo(RuntimeInfo.Builder builderForValue)
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder mergeRuntimeInfo(RuntimeInfo value)
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder clearRuntimeInfo()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RuntimeInfo.Builder getRuntimeInfoBuilder()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RuntimeInfoOrBuilder getRuntimeInfoOrBuilder()
Output only. Runtime information about session execution.
.google.cloud.dataproc.v1.RuntimeInfo runtime_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRuntimeInfoOrBuilder in interface SessionOrBuilderpublic int getStateValue()
Output only. A state of the session.
.google.cloud.dataproc.v1.Session.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface SessionOrBuilderpublic Session.Builder setStateValue(int value)
Output only. A state of the session.
.google.cloud.dataproc.v1.Session.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for state to set.public Session.State getState()
Output only. A state of the session.
.google.cloud.dataproc.v1.Session.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface SessionOrBuilderpublic Session.Builder setState(Session.State value)
Output only. A state of the session.
.google.cloud.dataproc.v1.Session.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The state to set.public Session.Builder clearState()
Output only. A state of the session.
.google.cloud.dataproc.v1.Session.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];getStateMessage in interface SessionOrBuilderpublic 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];getStateMessageBytes in interface SessionOrBuilderpublic Session.Builder setStateMessage(String value)
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];value - The stateMessage to set.public Session.Builder clearStateMessage()
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];public Session.Builder setStateMessageBytes(com.google.protobuf.ByteString value)
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];value - The bytes for stateMessage to set.public 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];
hasStateTime in interface SessionOrBuilderpublic 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];
getStateTime in interface SessionOrBuilderpublic Session.Builder setStateTime(com.google.protobuf.Timestamp value)
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder mergeStateTime(com.google.protobuf.Timestamp value)
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder clearStateTime()
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getStateTimeBuilder()
Output only. The time when the session entered the current state.
.google.protobuf.Timestamp state_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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];
getStateTimeOrBuilder in interface SessionOrBuilderpublic String getCreator()
Output only. The email address of the user who created the session.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getCreator in interface SessionOrBuilderpublic 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];getCreatorBytes in interface SessionOrBuilderpublic Session.Builder setCreator(String value)
Output only. The email address of the user who created the session.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The creator to set.public Session.Builder clearCreator()
Output only. The email address of the user who created the session.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];public Session.Builder setCreatorBytes(com.google.protobuf.ByteString value)
Output only. The email address of the user who created the session.
string creator = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for creator to set.public int getLabelsCount()
SessionOrBuilderOptional. 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];getLabelsCount in interface SessionOrBuilderpublic 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];containsLabels in interface SessionOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SessionOrBuilderpublic 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];getLabelsMap in interface SessionOrBuilderpublic 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];getLabelsOrDefault in interface SessionOrBuilderpublic 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];getLabelsOrThrow in interface SessionOrBuilderpublic Session.Builder clearLabels()
public Session.Builder removeLabels(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 public Map<String,String> getMutableLabels()
public Session.Builder putLabels(String key, String value)
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];public Session.Builder putAllLabels(Map<String,String> values)
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];public boolean hasRuntimeConfig()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
hasRuntimeConfig in interface SessionOrBuilderpublic RuntimeConfig getRuntimeConfig()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
getRuntimeConfig in interface SessionOrBuilderpublic Session.Builder setRuntimeConfig(RuntimeConfig value)
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder setRuntimeConfig(RuntimeConfig.Builder builderForValue)
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder mergeRuntimeConfig(RuntimeConfig value)
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder clearRuntimeConfig()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public RuntimeConfig.Builder getRuntimeConfigBuilder()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
public RuntimeConfigOrBuilder getRuntimeConfigOrBuilder()
Optional. Runtime configuration for the session execution.
.google.cloud.dataproc.v1.RuntimeConfig runtime_config = 12 [(.google.api.field_behavior) = OPTIONAL];
getRuntimeConfigOrBuilder in interface SessionOrBuilderpublic boolean hasEnvironmentConfig()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
hasEnvironmentConfig in interface SessionOrBuilderpublic EnvironmentConfig getEnvironmentConfig()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentConfig in interface SessionOrBuilderpublic Session.Builder setEnvironmentConfig(EnvironmentConfig value)
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder setEnvironmentConfig(EnvironmentConfig.Builder builderForValue)
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder mergeEnvironmentConfig(EnvironmentConfig value)
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
public Session.Builder clearEnvironmentConfig()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
public EnvironmentConfig.Builder getEnvironmentConfigBuilder()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
public EnvironmentConfigOrBuilder getEnvironmentConfigOrBuilder()
Optional. Environment configuration for the session execution.
.google.cloud.dataproc.v1.EnvironmentConfig environment_config = 13 [(.google.api.field_behavior) = OPTIONAL];
getEnvironmentConfigOrBuilder in interface SessionOrBuilderpublic String getUser()
Optional. The email address of the user who owns the session.
string user = 14 [(.google.api.field_behavior) = OPTIONAL];getUser in interface SessionOrBuilderpublic com.google.protobuf.ByteString getUserBytes()
Optional. The email address of the user who owns the session.
string user = 14 [(.google.api.field_behavior) = OPTIONAL];getUserBytes in interface SessionOrBuilderpublic Session.Builder setUser(String value)
Optional. The email address of the user who owns the session.
string user = 14 [(.google.api.field_behavior) = OPTIONAL];value - The user to set.public Session.Builder clearUser()
Optional. The email address of the user who owns the session.
string user = 14 [(.google.api.field_behavior) = OPTIONAL];public Session.Builder setUserBytes(com.google.protobuf.ByteString value)
Optional. The email address of the user who owns the session.
string user = 14 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for user to set.public 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];
getStateHistoryList in interface SessionOrBuilderpublic 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];
getStateHistoryCount in interface SessionOrBuilderpublic 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];
getStateHistory in interface SessionOrBuilderpublic Session.Builder setStateHistory(int index, Session.SessionStateHistory value)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder setStateHistory(int index, Session.SessionStateHistory.Builder builderForValue)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder addStateHistory(Session.SessionStateHistory value)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder addStateHistory(int index, Session.SessionStateHistory value)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder addStateHistory(Session.SessionStateHistory.Builder builderForValue)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder addStateHistory(int index, Session.SessionStateHistory.Builder builderForValue)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder addAllStateHistory(Iterable<? extends Session.SessionStateHistory> values)
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder clearStateHistory()
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.Builder removeStateHistory(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];
public Session.SessionStateHistory.Builder getStateHistoryBuilder(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];
public 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];
getStateHistoryOrBuilder in interface SessionOrBuilderpublic 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];
getStateHistoryOrBuilderList in interface SessionOrBuilderpublic Session.SessionStateHistory.Builder addStateHistoryBuilder()
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Session.SessionStateHistory.Builder addStateHistoryBuilder(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];
public List<Session.SessionStateHistory.Builder> getStateHistoryBuilderList()
Output only. Historical state information for the session.
repeated .google.cloud.dataproc.v1.Session.SessionStateHistory state_history = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public 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) = { ... }
getSessionTemplate in interface SessionOrBuilderpublic 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) = { ... }
getSessionTemplateBytes in interface SessionOrBuilderpublic Session.Builder setSessionTemplate(String value)
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) = { ... }
value - The sessionTemplate to set.public Session.Builder clearSessionTemplate()
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) = { ... }
public Session.Builder setSessionTemplateBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for sessionTemplate to set.public final Session.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>public final Session.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Session.Builder>Copyright © 2024 Google LLC. All rights reserved.