Interface UpgradeInstanceRequestOrBuilder (1.52.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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for type.