Class GPUDriverConfig (1.40.0)

public final class GPUDriverConfig extends GeneratedMessageV3 implements GPUDriverConfigOrBuilder

A GPU driver configuration

Protobuf type google.cloud.notebooks.v2.GPUDriverConfig

Static Fields

CUSTOM_GPU_DRIVER_PATH_FIELD_NUMBER

public static final int CUSTOM_GPU_DRIVER_PATH_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_GPU_DRIVER_FIELD_NUMBER

public static final int ENABLE_GPU_DRIVER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GPUDriverConfig getDefaultInstance()
Returns
Type Description
GPUDriverConfig

getDescriptor()

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

newBuilder()

public static GPUDriverConfig.Builder newBuilder()
Returns
Type Description
GPUDriverConfig.Builder

newBuilder(GPUDriverConfig prototype)

public static GPUDriverConfig.Builder newBuilder(GPUDriverConfig prototype)
Parameter
Name Description
prototype GPUDriverConfig
Returns
Type Description
GPUDriverConfig.Builder

parseDelimitedFrom(InputStream input)

public static GPUDriverConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GPUDriverConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GPUDriverConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GPUDriverConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GPUDriverConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GPUDriverConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GPUDriverConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GPUDriverConfig> parser()
Returns
Type Description
Parser<GPUDriverConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomGpuDriverPath()

public String getCustomGpuDriverPath()

Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.

string custom_gpu_driver_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The customGpuDriverPath.

getCustomGpuDriverPathBytes()

public ByteString getCustomGpuDriverPathBytes()

Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.

string custom_gpu_driver_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for customGpuDriverPath.

getDefaultInstanceForType()

public GPUDriverConfig getDefaultInstanceForType()
Returns
Type Description
GPUDriverConfig

getEnableGpuDriver()

public boolean getEnableGpuDriver()

Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.

bool enable_gpu_driver = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableGpuDriver.

getParserForType()

public Parser<GPUDriverConfig> getParserForType()
Returns
Type Description
Parser<GPUDriverConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GPUDriverConfig.Builder newBuilderForType()
Returns
Type Description
GPUDriverConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GPUDriverConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GPUDriverConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GPUDriverConfig.Builder toBuilder()
Returns
Type Description
GPUDriverConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException