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
@Generated
public interface RawDiskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe format used to encode and transmit the block device, which should beTAR.com.google.protobuf.ByteStringThe format used to encode and transmit the block device, which should beTAR.[Deprecated] This field is deprecated.com.google.protobuf.ByteString[Deprecated] This field is deprecated.The full Google Cloud Storage URL or Artifact Registry path where the raw disk image archive is stored.com.google.protobuf.ByteStringThe full Google Cloud Storage URL or Artifact Registry path where the raw disk image archive is stored.booleanThe format used to encode and transmit the block device, which should beTAR.boolean[Deprecated] This field is deprecated.booleanThe full Google Cloud Storage URL or Artifact Registry path where the raw disk image archive is stored.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasContainerType
boolean hasContainerType()The format used to encode and transmit the block device, which should beTAR. 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 beTAR. 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 beTAR. 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 or Artifact Registry path where the raw disk image archive is stored. The following are valid formats: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/image_archive_name - projects/project/locations/location/repositories/repo/packages/package/versions/version_id - projects/project/locations/location/repositories/repo/packages/package/versions/version_id@dirsum_sha256:hex_value 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 or Artifact Registry path where the raw disk image archive is stored. The following are valid formats: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/image_archive_name - projects/project/locations/location/repositories/repo/packages/package/versions/version_id - projects/project/locations/location/repositories/repo/packages/package/versions/version_id@dirsum_sha256:hex_value 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 or Artifact Registry path where the raw disk image archive is stored. The following are valid formats: - https://storage.googleapis.com/bucket_name/image_archive_name - https://storage.googleapis.com/bucket_name/folder_name/image_archive_name - projects/project/locations/location/repositories/repo/packages/package/versions/version_id - projects/project/locations/location/repositories/repo/packages/package/versions/version_id@dirsum_sha256:hex_value 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.
-