public static final class GPUDriverConfig.Builder extends GeneratedMessageV3.Builder<GPUDriverConfig.Builder> implements GPUDriverConfigOrBuilder
A GPU driver configuration
Protobuf type google.cloud.notebooks.v2.GPUDriverConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GPUDriverConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GPUDriverConfig build()
buildPartial()
public GPUDriverConfig buildPartial()
clear()
public GPUDriverConfig.Builder clear()
Overrides
clearCustomGpuDriverPath()
public GPUDriverConfig.Builder clearCustomGpuDriverPath()
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];
clearEnableGpuDriver()
public GPUDriverConfig.Builder clearEnableGpuDriver()
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];
clearField(Descriptors.FieldDescriptor field)
public GPUDriverConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GPUDriverConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GPUDriverConfig.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GPUDriverConfig other)
public GPUDriverConfig.Builder mergeFrom(GPUDriverConfig other)
public GPUDriverConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GPUDriverConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GPUDriverConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCustomGpuDriverPath(String value)
public GPUDriverConfig.Builder setCustomGpuDriverPath(String value)
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];
Parameter |
---|
Name | Description |
value | String
The customGpuDriverPath to set.
|
setCustomGpuDriverPathBytes(ByteString value)
public GPUDriverConfig.Builder setCustomGpuDriverPathBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for customGpuDriverPath to set.
|
setEnableGpuDriver(boolean value)
public GPUDriverConfig.Builder setEnableGpuDriver(boolean value)
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];
Parameter |
---|
Name | Description |
value | boolean
The enableGpuDriver to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GPUDriverConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GPUDriverConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GPUDriverConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides