Package com.google.cloud.compute.v1
Interface RawDiskOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RawDisk,RawDisk.Builder
public interface RawDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContainerType()The format used to encode and transmit the block device, which should be TAR.com.google.protobuf.ByteStringgetContainerTypeBytes()The format used to encode and transmit the block device, which should be TAR.StringgetSha1Checksum()[Deprecated] This field is deprecated.com.google.protobuf.ByteStringgetSha1ChecksumBytes()[Deprecated] This field is deprecated.StringgetSource()The full Google Cloud Storage URL where the raw disk image archive is stored.com.google.protobuf.ByteStringgetSourceBytes()The full Google Cloud Storage URL where the raw disk image archive is stored.booleanhasContainerType()The format used to encode and transmit the block device, which should be TAR.booleanhasSha1Checksum()[Deprecated] This field is deprecated.booleanhasSource()The full Google Cloud Storage URL where the raw disk image archive is stored.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasContainerType
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:
- Whether the containerType field is set.
-
getContainerType
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:
- The containerType.
-
getContainerTypeBytes
com.google.protobuf.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:
- The bytes for containerType.
-
hasSha1Checksum
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:
- Whether the sha1Checksum field is set.
-
getSha1Checksum
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:
- The sha1Checksum.
-
getSha1ChecksumBytes
com.google.protobuf.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:
- The bytes for sha1Checksum.
-
hasSource
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:
- Whether the source field is set.
-
getSource
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:
- The source.
-
getSourceBytes
com.google.protobuf.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:
- The bytes for source.
-
-