Class GPUDriverConfig (1.26.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
TypeDescription
int

ENABLE_GPU_DRIVER_FIELD_NUMBER

public static final int ENABLE_GPU_DRIVER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GPUDriverConfig getDefaultInstance()
Returns
TypeDescription
GPUDriverConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GPUDriverConfig.Builder newBuilder()
Returns
TypeDescription
GPUDriverConfig.Builder

newBuilder(GPUDriverConfig prototype)

public static GPUDriverConfig.Builder newBuilder(GPUDriverConfig prototype)
Parameter
NameDescription
prototypeGPUDriverConfig
Returns
TypeDescription
GPUDriverConfig.Builder

parseDelimitedFrom(InputStream input)

public static GPUDriverConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GPUDriverConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GPUDriverConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GPUDriverConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GPUDriverConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GPUDriverConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GPUDriverConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GPUDriverConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GPUDriverConfig> parser()
Returns
TypeDescription
Parser<GPUDriverConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for customGpuDriverPath.

getDefaultInstanceForType()

public GPUDriverConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The enableGpuDriver.

getParserForType()

public Parser<GPUDriverConfig> getParserForType()
Returns
TypeDescription
Parser<GPUDriverConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GPUDriverConfig.Builder newBuilderForType()
Returns
TypeDescription
GPUDriverConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GPUDriverConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GPUDriverConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GPUDriverConfig.Builder toBuilder()
Returns
TypeDescription
GPUDriverConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException