Interface AcceleratorConfigOrBuilder (2.36.0)

public interface AcceleratorConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceleratorCount()

public abstract long getAcceleratorCount()

The number of the accelerator cards exposed to an instance.

int64 accelerator_count = 1;

Returns
TypeDescription
long

The acceleratorCount.

getAcceleratorType()

public abstract String getAcceleratorType()

The accelerator type resource name. List of supported accelerators here

string accelerator_type = 2;

Returns
TypeDescription
String

The acceleratorType.

getAcceleratorTypeBytes()

public abstract ByteString getAcceleratorTypeBytes()

The accelerator type resource name. List of supported accelerators here

string accelerator_type = 2;

Returns
TypeDescription
ByteString

The bytes for acceleratorType.

getGpuDriverInstallationConfig()

public abstract GPUDriverInstallationConfig getGpuDriverInstallationConfig()

The configuration for auto installation of GPU driver.

optional .google.container.v1beta1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;

Returns
TypeDescription
GPUDriverInstallationConfig

The gpuDriverInstallationConfig.

getGpuDriverInstallationConfigOrBuilder()

public abstract GPUDriverInstallationConfigOrBuilder getGpuDriverInstallationConfigOrBuilder()

The configuration for auto installation of GPU driver.

optional .google.container.v1beta1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;

Returns
TypeDescription
GPUDriverInstallationConfigOrBuilder

getGpuPartitionSize()

public abstract String getGpuPartitionSize()

Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.

string gpu_partition_size = 3;

Returns
TypeDescription
String

The gpuPartitionSize.

getGpuPartitionSizeBytes()

public abstract ByteString getGpuPartitionSizeBytes()

Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.

string gpu_partition_size = 3;

Returns
TypeDescription
ByteString

The bytes for gpuPartitionSize.

getGpuSharingConfig()

public abstract GPUSharingConfig getGpuSharingConfig()

The configuration for GPU sharing options.

optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;

Returns
TypeDescription
GPUSharingConfig

The gpuSharingConfig.

getGpuSharingConfigOrBuilder()

public abstract GPUSharingConfigOrBuilder getGpuSharingConfigOrBuilder()

The configuration for GPU sharing options.

optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;

Returns
TypeDescription
GPUSharingConfigOrBuilder

getMaxTimeSharedClientsPerGpu() (deprecated)

public abstract long getMaxTimeSharedClientsPerGpu()

Deprecated. google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is deprecated. See google/container/v1beta1/cluster_service.proto;l=4640

The number of time-shared GPU resources to expose for each physical GPU.

int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];

Returns
TypeDescription
long

The maxTimeSharedClientsPerGpu.

hasGpuDriverInstallationConfig()

public abstract boolean hasGpuDriverInstallationConfig()

The configuration for auto installation of GPU driver.

optional .google.container.v1beta1.GPUDriverInstallationConfig gpu_driver_installation_config = 6;

Returns
TypeDescription
boolean

Whether the gpuDriverInstallationConfig field is set.

hasGpuSharingConfig()

public abstract boolean hasGpuSharingConfig()

The configuration for GPU sharing options.

optional .google.container.v1beta1.GPUSharingConfig gpu_sharing_config = 5;

Returns
TypeDescription
boolean

Whether the gpuSharingConfig field is set.