Class SetInstanceAcceleratorRequest (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class SetInstanceAcceleratorRequest extends GeneratedMessageV3 implements SetInstanceAcceleratorRequestOrBuilder

Request for setting instance accelerator.

Protobuf type google.cloud.notebooks.v1beta1.SetInstanceAcceleratorRequest

Static Fields

CORE_COUNT_FIELD_NUMBER

public static final int CORE_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_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 SetInstanceAcceleratorRequest getDefaultInstance()
Returns
TypeDescription
SetInstanceAcceleratorRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SetInstanceAcceleratorRequest prototype)

public static SetInstanceAcceleratorRequest.Builder newBuilder(SetInstanceAcceleratorRequest prototype)
Parameter
NameDescription
prototypeSetInstanceAcceleratorRequest
Returns
TypeDescription
SetInstanceAcceleratorRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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