Class NotebookEucConfig.Builder (3.44.0)

public static final class NotebookEucConfig.Builder extends GeneratedMessageV3.Builder<NotebookEucConfig.Builder> implements NotebookEucConfigOrBuilder

The euc configuration of NotebookRuntimeTemplate.

Protobuf type google.cloud.aiplatform.v1beta1.NotebookEucConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NotebookEucConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NotebookEucConfig.Builder
Overrides

build()

public NotebookEucConfig build()
Returns
Type Description
NotebookEucConfig

buildPartial()

public NotebookEucConfig buildPartial()
Returns
Type Description
NotebookEucConfig

clear()

public NotebookEucConfig.Builder clear()
Returns
Type Description
NotebookEucConfig.Builder
Overrides

clearBypassActasCheck()

public NotebookEucConfig.Builder clearBypassActasCheck()

Output only. Whether ActAs check is bypassed for service account attached to the VM. If false, we need ActAs check for the default Compute Engine Service account. When a Runtime is created, a VM is allocated using Default Compute Engine Service Account. Any user requesting to use this Runtime requires Service Account User (ActAs) permission over this SA. If true, Runtime owner is using EUC and does not require the above permission as VM no longer use default Compute Engine SA, but a P4SA.

bool bypass_actas_check = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
NotebookEucConfig.Builder

This builder for chaining.

clearEucDisabled()

public NotebookEucConfig.Builder clearEucDisabled()

Input only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for NotebookRuntimeTemplate.

bool euc_disabled = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
NotebookEucConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public NotebookEucConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NotebookEucConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NotebookEucConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NotebookEucConfig.Builder
Overrides

clone()

public NotebookEucConfig.Builder clone()
Returns
Type Description
NotebookEucConfig.Builder
Overrides

getBypassActasCheck()

public boolean getBypassActasCheck()

Output only. Whether ActAs check is bypassed for service account attached to the VM. If false, we need ActAs check for the default Compute Engine Service account. When a Runtime is created, a VM is allocated using Default Compute Engine Service Account. Any user requesting to use this Runtime requires Service Account User (ActAs) permission over this SA. If true, Runtime owner is using EUC and does not require the above permission as VM no longer use default Compute Engine SA, but a P4SA.

bool bypass_actas_check = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The bypassActasCheck.

getDefaultInstanceForType()

public NotebookEucConfig getDefaultInstanceForType()
Returns
Type Description
NotebookEucConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEucDisabled()

public boolean getEucDisabled()

Input only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for NotebookRuntimeTemplate.

bool euc_disabled = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

The eucDisabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotebookEucConfig other)

public NotebookEucConfig.Builder mergeFrom(NotebookEucConfig other)
Parameter
Name Description
other NotebookEucConfig
Returns
Type Description
NotebookEucConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NotebookEucConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NotebookEucConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NotebookEucConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NotebookEucConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NotebookEucConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NotebookEucConfig.Builder
Overrides

setBypassActasCheck(boolean value)

public NotebookEucConfig.Builder setBypassActasCheck(boolean value)

Output only. Whether ActAs check is bypassed for service account attached to the VM. If false, we need ActAs check for the default Compute Engine Service account. When a Runtime is created, a VM is allocated using Default Compute Engine Service Account. Any user requesting to use this Runtime requires Service Account User (ActAs) permission over this SA. If true, Runtime owner is using EUC and does not require the above permission as VM no longer use default Compute Engine SA, but a P4SA.

bool bypass_actas_check = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The bypassActasCheck to set.

Returns
Type Description
NotebookEucConfig.Builder

This builder for chaining.

setEucDisabled(boolean value)

public NotebookEucConfig.Builder setEucDisabled(boolean value)

Input only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for NotebookRuntimeTemplate.

bool euc_disabled = 1 [(.google.api.field_behavior) = INPUT_ONLY];

Parameter
Name Description
value boolean

The eucDisabled to set.

Returns
Type Description
NotebookEucConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public NotebookEucConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NotebookEucConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NotebookEucConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NotebookEucConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NotebookEucConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NotebookEucConfig.Builder
Overrides