Interface BootDiskOrBuilder (0.1.0)

public interface BootDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSizeGb()

public abstract long getSizeGb()

Required. Immutable. Size of the disk in gigabytes. Must be at least 10GB.

int64 size_gb = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
long

The sizeGb.

getType()

public abstract String getType()

Required. Immutable. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.

string type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Required. Immutable. Persistent disk type, in the format projects/{project}/zones/{zone}/diskTypes/{disk_type}.

string type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for type.