public final class NotebookIdleShutdownConfig extends GeneratedMessage implements NotebookIdleShutdownConfigOrBuilderThe idle shutdown configuration of NotebookRuntimeTemplate, which contains the idle_timeout as required field.
Protobuf type google.cloud.aiplatform.v1beta1.NotebookIdleShutdownConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > NotebookIdleShutdownConfigImplements
NotebookIdleShutdownConfigOrBuilderStatic 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 |
|
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public NotebookIdleShutdownConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
NotebookIdleShutdownConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected NotebookIdleShutdownConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
NotebookIdleShutdownConfig.Builder |
|
toBuilder()
public NotebookIdleShutdownConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
NotebookIdleShutdownConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|