Class NotebookExecutionJob.CustomEnvironmentSpec.Builder (3.56.0)

public static final class NotebookExecutionJob.CustomEnvironmentSpec.Builder extends GeneratedMessageV3.Builder<NotebookExecutionJob.CustomEnvironmentSpec.Builder> implements NotebookExecutionJob.CustomEnvironmentSpecOrBuilder

Compute configuration to use for an execution job.

Protobuf type google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public NotebookExecutionJob.CustomEnvironmentSpec build()
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec

buildPartial()

public NotebookExecutionJob.CustomEnvironmentSpec buildPartial()
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec

clear()

public NotebookExecutionJob.CustomEnvironmentSpec.Builder clear()
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMachineSpec()

public NotebookExecutionJob.CustomEnvironmentSpec.Builder clearMachineSpec()

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

clearNetworkSpec()

public NotebookExecutionJob.CustomEnvironmentSpec.Builder clearNetworkSpec()

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPersistentDiskSpec()

public NotebookExecutionJob.CustomEnvironmentSpec.Builder clearPersistentDiskSpec()

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

clone()

public NotebookExecutionJob.CustomEnvironmentSpec.Builder clone()
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder
Overrides

getDefaultInstanceForType()

public NotebookExecutionJob.CustomEnvironmentSpec getDefaultInstanceForType()
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec

getDescriptorForType()

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

getMachineSpec()

public MachineSpec getMachineSpec()

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Returns
Type Description
MachineSpec

The machineSpec.

getMachineSpecBuilder()

public MachineSpec.Builder getMachineSpecBuilder()

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Returns
Type Description
MachineSpec.Builder

getMachineSpecOrBuilder()

public MachineSpecOrBuilder getMachineSpecOrBuilder()

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Returns
Type Description
MachineSpecOrBuilder

getNetworkSpec()

public NetworkSpec getNetworkSpec()

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Returns
Type Description
NetworkSpec

The networkSpec.

getNetworkSpecBuilder()

public NetworkSpec.Builder getNetworkSpecBuilder()

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Returns
Type Description
NetworkSpec.Builder

getNetworkSpecOrBuilder()

public NetworkSpecOrBuilder getNetworkSpecOrBuilder()

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Returns
Type Description
NetworkSpecOrBuilder

getPersistentDiskSpec()

public PersistentDiskSpec getPersistentDiskSpec()

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Returns
Type Description
PersistentDiskSpec

The persistentDiskSpec.

getPersistentDiskSpecBuilder()

public PersistentDiskSpec.Builder getPersistentDiskSpecBuilder()

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Returns
Type Description
PersistentDiskSpec.Builder

getPersistentDiskSpecOrBuilder()

public PersistentDiskSpecOrBuilder getPersistentDiskSpecOrBuilder()

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Returns
Type Description
PersistentDiskSpecOrBuilder

hasMachineSpec()

public boolean hasMachineSpec()

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Returns
Type Description
boolean

Whether the machineSpec field is set.

hasNetworkSpec()

public boolean hasNetworkSpec()

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Returns
Type Description
boolean

Whether the networkSpec field is set.

hasPersistentDiskSpec()

public boolean hasPersistentDiskSpec()

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Returns
Type Description
boolean

Whether the persistentDiskSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NotebookExecutionJob.CustomEnvironmentSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMachineSpec(MachineSpec value)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder mergeMachineSpec(MachineSpec value)

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Parameter
Name Description
value MachineSpec
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

mergeNetworkSpec(NetworkSpec value)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder mergeNetworkSpec(NetworkSpec value)

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Parameter
Name Description
value NetworkSpec
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

mergePersistentDiskSpec(PersistentDiskSpec value)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder mergePersistentDiskSpec(PersistentDiskSpec value)

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Parameter
Name Description
value PersistentDiskSpec
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMachineSpec(MachineSpec value)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder setMachineSpec(MachineSpec value)

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Parameter
Name Description
value MachineSpec
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

setMachineSpec(MachineSpec.Builder builderForValue)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder setMachineSpec(MachineSpec.Builder builderForValue)

The specification of a single machine for the execution job.

.google.cloud.aiplatform.v1beta1.MachineSpec machine_spec = 1;

Parameter
Name Description
builderForValue MachineSpec.Builder
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

setNetworkSpec(NetworkSpec value)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder setNetworkSpec(NetworkSpec value)

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Parameter
Name Description
value NetworkSpec
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

setNetworkSpec(NetworkSpec.Builder builderForValue)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder setNetworkSpec(NetworkSpec.Builder builderForValue)

The network configuration to use for the execution job.

.google.cloud.aiplatform.v1beta1.NetworkSpec network_spec = 3;

Parameter
Name Description
builderForValue NetworkSpec.Builder
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

setPersistentDiskSpec(PersistentDiskSpec value)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder setPersistentDiskSpec(PersistentDiskSpec value)

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Parameter
Name Description
value PersistentDiskSpec
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

setPersistentDiskSpec(PersistentDiskSpec.Builder builderForValue)

public NotebookExecutionJob.CustomEnvironmentSpec.Builder setPersistentDiskSpec(PersistentDiskSpec.Builder builderForValue)

The specification of a persistent disk to attach for the execution job.

.google.cloud.aiplatform.v1beta1.PersistentDiskSpec persistent_disk_spec = 2;

Parameter
Name Description
builderForValue PersistentDiskSpec.Builder
Returns
Type Description
NotebookExecutionJob.CustomEnvironmentSpec.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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