1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface RawDiskOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RawDisk) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * 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. 31 * Check the ContainerType enum for the list of possible values. 32 * </pre> 33 * 34 * <code>optional string container_type = 318809144;</code> 35 * 36 * @return Whether the containerType field is set. 37 */ hasContainerType()38 boolean hasContainerType(); 39 /** 40 * 41 * 42 * <pre> 43 * 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. 44 * Check the ContainerType enum for the list of possible values. 45 * </pre> 46 * 47 * <code>optional string container_type = 318809144;</code> 48 * 49 * @return The containerType. 50 */ getContainerType()51 java.lang.String getContainerType(); 52 /** 53 * 54 * 55 * <pre> 56 * 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. 57 * Check the ContainerType enum for the list of possible values. 58 * </pre> 59 * 60 * <code>optional string container_type = 318809144;</code> 61 * 62 * @return The bytes for containerType. 63 */ getContainerTypeBytes()64 com.google.protobuf.ByteString getContainerTypeBytes(); 65 66 /** 67 * 68 * 69 * <pre> 70 * [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. 71 * </pre> 72 * 73 * <code>optional string sha1_checksum = 314444349;</code> 74 * 75 * @return Whether the sha1Checksum field is set. 76 */ hasSha1Checksum()77 boolean hasSha1Checksum(); 78 /** 79 * 80 * 81 * <pre> 82 * [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. 83 * </pre> 84 * 85 * <code>optional string sha1_checksum = 314444349;</code> 86 * 87 * @return The sha1Checksum. 88 */ getSha1Checksum()89 java.lang.String getSha1Checksum(); 90 /** 91 * 92 * 93 * <pre> 94 * [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. 95 * </pre> 96 * 97 * <code>optional string sha1_checksum = 314444349;</code> 98 * 99 * @return The bytes for sha1Checksum. 100 */ getSha1ChecksumBytes()101 com.google.protobuf.ByteString getSha1ChecksumBytes(); 102 103 /** 104 * 105 * 106 * <pre> 107 * 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 108 * </pre> 109 * 110 * <code>optional string source = 177235995;</code> 111 * 112 * @return Whether the source field is set. 113 */ hasSource()114 boolean hasSource(); 115 /** 116 * 117 * 118 * <pre> 119 * 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 120 * </pre> 121 * 122 * <code>optional string source = 177235995;</code> 123 * 124 * @return The source. 125 */ getSource()126 java.lang.String getSource(); 127 /** 128 * 129 * 130 * <pre> 131 * 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 132 * </pre> 133 * 134 * <code>optional string source = 177235995;</code> 135 * 136 * @return The bytes for source. 137 */ getSourceBytes()138 com.google.protobuf.ByteString getSourceBytes(); 139 } 140