Class Environment.SessionSpec (1.15.0)

public static final class Environment.SessionSpec extends GeneratedMessageV3 implements Environment.SessionSpecOrBuilder

Configuration for sessions created for this environment.

Protobuf type google.cloud.dataplex.v1.Environment.SessionSpec

Static Fields

ENABLE_FAST_STARTUP_FIELD_NUMBER

public static final int ENABLE_FAST_STARTUP_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_IDLE_DURATION_FIELD_NUMBER

public static final int MAX_IDLE_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Environment.SessionSpec getDefaultInstance()
Returns
TypeDescription
Environment.SessionSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Environment.SessionSpec.Builder newBuilder()
Returns
TypeDescription
Environment.SessionSpec.Builder

newBuilder(Environment.SessionSpec prototype)

public static Environment.SessionSpec.Builder newBuilder(Environment.SessionSpec prototype)
Parameter
NameDescription
prototypeEnvironment.SessionSpec
Returns
TypeDescription
Environment.SessionSpec.Builder

parseDelimitedFrom(InputStream input)

public static Environment.SessionSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.SessionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Environment.SessionSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Environment.SessionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Environment.SessionSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Environment.SessionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Environment.SessionSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.SessionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Environment.SessionSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Environment.SessionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Environment.SessionSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Environment.SessionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.SessionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Environment.SessionSpec> parser()
Returns
TypeDescription
Parser<SessionSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Environment.SessionSpec getDefaultInstanceForType()
Returns
TypeDescription
Environment.SessionSpec

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
TypeDescription
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
TypeDescription
Duration

The maxIdleDuration.

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];

Returns
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<Environment.SessionSpec> getParserForType()
Returns
TypeDescription
Parser<SessionSpec>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
boolean

Whether the maxIdleDuration field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Environment.SessionSpec.Builder newBuilderForType()
Returns
TypeDescription
Environment.SessionSpec.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Environment.SessionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Environment.SessionSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Environment.SessionSpec.Builder toBuilder()
Returns
TypeDescription
Environment.SessionSpec.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException