public static final class Environment.SessionSpec extends GeneratedMessageV3 implements Environment.SessionSpecOrBuilder
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
MAX_IDLE_DURATION_FIELD_NUMBER
public static final int MAX_IDLE_DURATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Environment.SessionSpec getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Environment.SessionSpec.Builder newBuilder()
Returns
newBuilder(Environment.SessionSpec prototype)
public static Environment.SessionSpec.Builder newBuilder(Environment.SessionSpec prototype)
Parameter
Returns
public static Environment.SessionSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Environment.SessionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Environment.SessionSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Environment.SessionSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Environment.SessionSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Environment.SessionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Environment.SessionSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Environment.SessionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Environment.SessionSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Environment.SessionSpec> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Environment.SessionSpec getDefaultInstanceForType()
Returns
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];
Returns
getParserForType()
public Parser<Environment.SessionSpec> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Environment.SessionSpec.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Environment.SessionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Environment.SessionSpec.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions