Class Instance.AcceleratorConfig (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class Instance.AcceleratorConfig extends GeneratedMessageV3 implements Instance.AcceleratorConfigOrBuilder

Definition of a hardware accelerator. Note that not all combinations of type and core_count are valid. Check GPUs on Compute Engine to find a valid combination. TPUs are not supported.

Protobuf type google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig

Static Fields

CORE_COUNT_FIELD_NUMBER

public static final int CORE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Instance.AcceleratorConfig getDefaultInstance()
Returns
TypeDescription
Instance.AcceleratorConfig

getDescriptor()

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

newBuilder()

public static Instance.AcceleratorConfig.Builder newBuilder()
Returns
TypeDescription
Instance.AcceleratorConfig.Builder

newBuilder(Instance.AcceleratorConfig prototype)

public static Instance.AcceleratorConfig.Builder newBuilder(Instance.AcceleratorConfig prototype)
Parameter
NameDescription
prototypeInstance.AcceleratorConfig
Returns
TypeDescription
Instance.AcceleratorConfig.Builder

parseDelimitedFrom(InputStream input)

public static Instance.AcceleratorConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.AcceleratorConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Instance.AcceleratorConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Instance.AcceleratorConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Instance.AcceleratorConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Instance.AcceleratorConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.AcceleratorConfig parseFrom(CodedInputStream input, ExtensionRegistry