Package com.google.cloud.dataplex.v1
Class Environment.SessionSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Environment.SessionSpec.Builder>
com.google.cloud.dataplex.v1.Environment.SessionSpec.Builder
- All Implemented Interfaces:
Environment.SessionSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Environment.SessionSpec
public static final class Environment.SessionSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Environment.SessionSpec.Builder>
implements Environment.SessionSpecOrBuilder
Configuration for sessions created for this environment.Protobuf type
google.cloud.dataplex.v1.Environment.SessionSpec-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanOptional.com.google.protobuf.DurationOptional.com.google.protobuf.Duration.BuilderOptional.com.google.protobuf.DurationOrBuilderOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Environment.SessionSpec other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMaxIdleDuration(com.google.protobuf.Duration value) Optional.setEnableFastStartup(boolean value) Optional.setMaxIdleDuration(com.google.protobuf.Duration value) Optional.setMaxIdleDuration(com.google.protobuf.Duration.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Environment.SessionSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Environment.SessionSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Environment.SessionSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.SessionSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Environment.SessionSpec.Builder>
-
mergeFrom
public Environment.SessionSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.SessionSpec.Builder>- Throws:
IOException
-
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];- Specified by:
hasMaxIdleDurationin interfaceEnvironment.SessionSpecOrBuilder- Returns:
- Whether the maxIdleDuration field is set.
-
getMaxIdleDuration
public com.google.protobuf.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];- Specified by:
getMaxIdleDurationin interfaceEnvironment.SessionSpecOrBuilder- Returns:
- The maxIdleDuration.
-
setMaxIdleDuration
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
public Environment.SessionSpec.Builder setMaxIdleDuration(com.google.protobuf.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]; -
mergeMaxIdleDuration
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]; -
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]; -
getMaxIdleDurationBuilder
public com.google.protobuf.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 com.google.protobuf.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];- Specified by:
getMaxIdleDurationOrBuilderin interfaceEnvironment.SessionSpecOrBuilder
-
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];- Specified by:
getEnableFastStartupin interfaceEnvironment.SessionSpecOrBuilder- Returns:
- The enableFastStartup.
-
setEnableFastStartup
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];- Parameters:
value- The enableFastStartup to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-