public static final class NotebookIdleShutdownConfig.Builder extends GeneratedMessageV3.Builder<NotebookIdleShutdownConfig.Builder> implements NotebookIdleShutdownConfigOrBuilder
The idle shutdown configuration of NotebookRuntimeTemplate, which contains
the idle_timeout as required field.
Protobuf type google.cloud.aiplatform.v1.NotebookIdleShutdownConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public NotebookIdleShutdownConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NotebookIdleShutdownConfig build()
public NotebookIdleShutdownConfig buildPartial()
public NotebookIdleShutdownConfig.Builder clear()
Overrides
public NotebookIdleShutdownConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public NotebookIdleShutdownConfig.Builder clearIdleShutdownDisabled()
Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
bool idle_shutdown_disabled = 2;
public NotebookIdleShutdownConfig.Builder clearIdleTimeout()
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
public NotebookIdleShutdownConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public NotebookIdleShutdownConfig.Builder clone()
Overrides
public NotebookIdleShutdownConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public boolean getIdleShutdownDisabled()
Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
bool idle_shutdown_disabled = 2;
Returns |
Type |
Description |
boolean |
The idleShutdownDisabled.
|
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Duration |
The idleTimeout.
|
public Duration.Builder getIdleTimeoutBuilder()
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the idleTimeout field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public NotebookIdleShutdownConfig.Builder mergeFrom(NotebookIdleShutdownConfig other)
public NotebookIdleShutdownConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public NotebookIdleShutdownConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public NotebookIdleShutdownConfig.Builder mergeIdleTimeout(Duration value)
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Duration
|
public final NotebookIdleShutdownConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public NotebookIdleShutdownConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public NotebookIdleShutdownConfig.Builder setIdleShutdownDisabled(boolean value)
Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate.
bool idle_shutdown_disabled = 2;
Parameter |
Name |
Description |
value |
boolean
The idleShutdownDisabled to set.
|
public NotebookIdleShutdownConfig.Builder setIdleTimeout(Duration value)
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Duration
|
public NotebookIdleShutdownConfig.Builder setIdleTimeout(Duration.Builder builderForValue)
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
.google.protobuf.Duration idle_timeout = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|
public NotebookIdleShutdownConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final NotebookIdleShutdownConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides