public interface BootDiskOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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. |