public final class GPUDriverConfig extends GeneratedMessageV3 implements GPUDriverConfigOrBuilder
A GPU driver configuration
Protobuf type google.cloud.notebooks.v2.GPUDriverConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GPUDriverConfig.Builder newBuilder()
newBuilder(GPUDriverConfig prototype)
public static GPUDriverConfig.Builder newBuilder(GPUDriverConfig prototype)
public static GPUDriverConfig parseDelimitedFrom(InputStream input)
public static GPUDriverConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GPUDriverConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GPUDriverConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GPUDriverConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GPUDriverConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GPUDriverConfig parseFrom(CodedInputStream input)
public static GPUDriverConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GPUDriverConfig parseFrom(InputStream input)
public static GPUDriverConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GPUDriverConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GPUDriverConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GPUDriverConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GPUDriverConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GPUDriverConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GPUDriverConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides