Class NotebookIdleShutdownConfig (3.44.0)

public final class NotebookIdleShutdownConfig extends GeneratedMessageV3 implements NotebookIdleShutdownConfigOrBuilder

The idle shutdown configuration of NotebookRuntimeTemplate, which contains the idle_timeout as required field.

Protobuf type google.cloud.aiplatform.v1.NotebookIdleShutdownConfig

Static Fields

IDLE_SHUTDOWN_DISABLED_FIELD_NUMBER

public static final int IDLE_SHUTDOWN_DISABLED_FIELD_NUMBER
Field Value
Type Description
int

IDLE_TIMEOUT_FIELD_NUMBER

public static final int IDLE_TIMEOUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NotebookIdleShutdownConfig getDefaultInstance()
Returns
Type Description
NotebookIdleShutdownConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NotebookIdleShutdownConfig.Builder newBuilder()
Returns
Type Description
NotebookIdleShutdownConfig.Builder

newBuilder(NotebookIdleShutdownConfig prototype)

public static NotebookIdleShutdownConfig.Builder newBuilder(NotebookIdleShutdownConfig prototype)
Parameter
Name Description
prototype NotebookIdleShutdownConfig
Returns
Type Description
NotebookIdleShutdownConfig.Builder

parseDelimitedFrom(InputStream input)

public static NotebookIdleShutdownConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotebookIdleShutdownConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NotebookIdleShutdownConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NotebookIdleShutdownConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NotebookIdleShutdownConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NotebookIdleShutdownConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NotebookIdleShutdownConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NotebookIdleShutdownConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NotebookIdleShutdownConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NotebookIdleShutdownConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NotebookIdleShutdownConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NotebookIdleShutdownConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookIdleShutdownConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NotebookIdleShutdownConfig> parser()
Returns
Type Description
Parser<NotebookIdleShutdownConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NotebookIdleShutdownConfig getDefaultInstanceForType()
Returns
Type Description
NotebookIdleShutdownConfig

getIdleShutdownDisabled()

public boolean getIdleShutdownDisabled()

Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.

bool idle_shutdown_disabled = 2;

Returns
Type Description
boolean

The idleShutdownDisabled.

getIdleTimeout()

public Duration getIdleTimeout()

Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440

  • 60.

.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Duration

The idleTimeout.

getIdleTimeoutOrBuilder()

public DurationOrBuilder getIdleTimeoutOrBuilder()

Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440

  • 60.

.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DurationOrBuilder

getParserForType()

public Parser<NotebookIdleShutdownConfig> getParserForType()
Returns
Type Description
Parser<NotebookIdleShutdownConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasIdleTimeout()

public boolean hasIdleTimeout()

Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440

  • 60.

.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the idleTimeout field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NotebookIdleShutdownConfig.Builder newBuilderForType()
Returns
Type Description
NotebookIdleShutdownConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NotebookIdleShutdownConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NotebookIdleShutdownConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NotebookIdleShutdownConfig.Builder toBuilder()
Returns
Type Description
NotebookIdleShutdownConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException