public static final class Environment.SessionSpec extends GeneratedMessage implements Environment.SessionSpecOrBuilderConfiguration for sessions created for this environment.
Protobuf type google.cloud.dataplex.v1.Environment.SessionSpec
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > Environment.SessionSpecImplements
Environment.SessionSpecOrBuilderStatic 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()| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Environment.SessionSpec.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec.Builder |
|
newBuilder(Environment.SessionSpec prototype)
public static Environment.SessionSpec.Builder newBuilder(Environment.SessionSpec prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Environment.SessionSpec |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec.Builder |
|
parseDelimitedFrom(InputStream input)
public static Environment.SessionSpec parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Environment.SessionSpec parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Environment.SessionSpec parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Environment.SessionSpec parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Environment.SessionSpec parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Environment.SessionSpec parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Environment.SessionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Environment.SessionSpec> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SessionSpec> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public Environment.SessionSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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 | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getParserForType()
public Parser<Environment.SessionSpec> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SessionSpec> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Environment.SessionSpec.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Environment.SessionSpec.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec.Builder |
|
toBuilder()
public Environment.SessionSpec.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Environment.SessionSpec.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|