Interface RawDiskOrBuilder (1.41.0)

public interface RawDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerType()

public abstract String getContainerType()

The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. Check the ContainerType enum for the list of possible values.

optional string container_type = 318809144;

Returns
TypeDescription
String

The containerType.

getContainerTypeBytes()

public abstract ByteString getContainerTypeBytes()

The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. Check the ContainerType enum for the list of possible values.

optional string container_type = 318809144;

Returns
TypeDescription
ByteString

The bytes for containerType.

getSha1Checksum()

public abstract String getSha1Checksum()

[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.

optional string sha1_checksum = 314444349;

Returns
TypeDescription
String

The sha1Checksum.

getSha1ChecksumBytes()

public abstract ByteString getSha1ChecksumBytes()

[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.

optional string sha1_checksum = 314444349;

Returns
TypeDescription
ByteString

The bytes for sha1Checksum.

getSource()

public abstract String getSource()

The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL

optional string source = 177235995;

Returns
TypeDescription
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL

optional string source = 177235995;

Returns
TypeDescription
ByteString

The bytes for source.

hasContainerType()

public abstract boolean hasContainerType()

The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. Check the ContainerType enum for the list of possible values.

optional string container_type = 318809144;

Returns
TypeDescription
boolean

Whether the containerType field is set.

hasSha1Checksum()

public abstract boolean hasSha1Checksum()

[Deprecated] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created.

optional string sha1_checksum = 314444349;

Returns
TypeDescription
boolean

Whether the sha1Checksum field is set.

hasSource()

public abstract boolean hasSource()

The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/ image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL

optional string source = 177235995;

Returns
TypeDescription
boolean

Whether the source field is set.