Send feedback
Class Environment.SessionSpec.Builder (1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.17.0 keyboard_arrow_down
public static final class Environment . SessionSpec . Builder extends GeneratedMessageV3 . Builder<Environment . SessionSpec . Builder > implements Environment . SessionSpecOrBuilder
Configuration for sessions created for this environment.
Protobuf type google.cloud.dataplex.v1.Environment.SessionSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Environment . SessionSpec . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public Environment . SessionSpec build ()
buildPartial()
public Environment . SessionSpec buildPartial ()
clear()
public Environment . SessionSpec . Builder clear ()
Overrides
clearEnableFastStartup()
public Environment . SessionSpec . Builder clearEnableFastStartup ()
Optional. If True, this causes sessions to be pre-created and available
for faster startup to enable interactive exploration use-cases. This
defaults to False to avoid additional billed charges. These can only be
set to True for the environment with name set to "default", and with
default configuration.
bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public Environment . SessionSpec . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMaxIdleDuration()
public Environment . SessionSpec . Builder clearMaxIdleDuration ()
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public Environment . SessionSpec . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public Environment . SessionSpec . Builder clone ()
Overrides
getDefaultInstanceForType()
public Environment . SessionSpec getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getEnableFastStartup()
public boolean getEnableFastStartup ()
Optional. If True, this causes sessions to be pre-created and available
for faster startup to enable interactive exploration use-cases. This
defaults to False to avoid additional billed charges. These can only be
set to True for the environment with name set to "default", and with
default configuration.
bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description boolean
The enableFastStartup.
getMaxIdleDuration()
public Duration getMaxIdleDuration ()
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description Duration
The maxIdleDuration.
getMaxIdleDurationBuilder()
public Duration . Builder getMaxIdleDurationBuilder ()
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
getMaxIdleDurationOrBuilder()
public DurationOrBuilder getMaxIdleDurationOrBuilder ()
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
hasMaxIdleDuration()
public boolean hasMaxIdleDuration ()
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description boolean
Whether the maxIdleDuration field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Environment.SessionSpec other)
public Environment . SessionSpec . Builder mergeFrom ( Environment . SessionSpec other )
public Environment . SessionSpec . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Environment . SessionSpec . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeMaxIdleDuration(Duration value)
public Environment . SessionSpec . Builder mergeMaxIdleDuration ( Duration value )
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Environment . SessionSpec . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setEnableFastStartup(boolean value)
public Environment . SessionSpec . Builder setEnableFastStartup ( boolean value )
Optional. If True, this causes sessions to be pre-created and available
for faster startup to enable interactive exploration use-cases. This
defaults to False to avoid additional billed charges. These can only be
set to True for the environment with name set to "default", and with
default configuration.
bool enable_fast_startup = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description value
boolean
The enableFastStartup to set.
setField(Descriptors.FieldDescriptor field, Object value)
public Environment . SessionSpec . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMaxIdleDuration(Duration value)
public Environment . SessionSpec . Builder setMaxIdleDuration ( Duration value )
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
setMaxIdleDuration(Duration.Builder builderForValue)
public Environment . SessionSpec . Builder setMaxIdleDuration ( Duration . Builder builderForValue )
Optional. The idle time configuration of the session. The session will be
auto-terminated at the end of this period.
.google.protobuf.Duration max_idle_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter Name Description builderForValue
Builder
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Environment . SessionSpec . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Environment . SessionSpec . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]