Interface UpgradeInstanceRequestOrBuilder (1.21.0)

public interface UpgradeInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getType()

public abstract UpgradeType getType()

Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.

.google.cloud.notebooks.v1.UpgradeType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpgradeType

The type.

getTypeValue()

public abstract int getTypeValue()

Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance.

.google.cloud.notebooks.v1.UpgradeType type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for type.