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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ENABLE_FAST_STARTUP_FIELD_NUMBER
public static final int ENABLE_FAST_STARTUP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MAX_IDLE_DURATION_FIELD_NUMBER
public static final int MAX_IDLE_DURATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Environment.SessionSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Environment.SessionSpec.Builder newBuilder()
newBuilder(Environment.SessionSpec prototype)
public static Environment.SessionSpec.Builder newBuilder(Environment.SessionSpec prototype)
public static Environment.SessionSpec parseDelimitedFrom(InputStream input)
public static Environment.SessionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Environment.SessionSpec parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Environment.SessionSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(CodedInputStream input)
public static Environment.SessionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(InputStream input)
public static Environment.SessionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Environment.SessionSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Environment.SessionSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Environment.SessionSpec getDefaultInstanceForType()
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.
|
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];
getParserForType()
public Parser<Environment.SessionSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
boolean | Whether the maxIdleDuration field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Environment.SessionSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Environment.SessionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Environment.SessionSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides