public static final class RawDisk.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder> implements RawDiskOrBuilder
The parameters of the raw disk image.Protobuf type
google.cloud.compute.v1.RawDisk| Modifier and Type | Method and Description |
|---|---|
RawDisk.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RawDisk |
build() |
RawDisk |
buildPartial() |
RawDisk.Builder |
clear() |
RawDisk.Builder |
clearContainerType()
The format used to encode and transmit the block device, which should be TAR.
|
RawDisk.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RawDisk.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RawDisk.Builder |
clearSha1Checksum()
[Deprecated] This field is deprecated.
|
RawDisk.Builder |
clearSource()
The full Google Cloud Storage URL where the raw disk image archive is stored.
|
RawDisk.Builder |
clone() |
String |
getContainerType()
The format used to encode and transmit the block device, which should be TAR.
|
com.google.protobuf.ByteString |
getContainerTypeBytes()
The format used to encode and transmit the block device, which should be TAR.
|
RawDisk |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getSha1Checksum()
[Deprecated] This field is deprecated.
|
com.google.protobuf.ByteString |
getSha1ChecksumBytes()
[Deprecated] This field is deprecated.
|
String |
getSource()
The full Google Cloud Storage URL where the raw disk image archive is stored.
|
com.google.protobuf.ByteString |
getSourceBytes()
The full Google Cloud Storage URL where the raw disk image archive is stored.
|
boolean |
hasContainerType()
The format used to encode and transmit the block device, which should be TAR.
|
boolean |
hasSha1Checksum()
[Deprecated] This field is deprecated.
|
boolean |
hasSource()
The full Google Cloud Storage URL where the raw disk image archive is stored.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RawDisk.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RawDisk.Builder |
mergeFrom(com.google.protobuf.Message other) |
RawDisk.Builder |
mergeFrom(RawDisk other) |
RawDisk.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RawDisk.Builder |
setContainerType(String value)
The format used to encode and transmit the block device, which should be TAR.
|
RawDisk.Builder |
setContainerTypeBytes(com.google.protobuf.ByteString value)
The format used to encode and transmit the block device, which should be TAR.
|
RawDisk.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RawDisk.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RawDisk.Builder |
setSha1Checksum(String value)
[Deprecated] This field is deprecated.
|
RawDisk.Builder |
setSha1ChecksumBytes(com.google.protobuf.ByteString value)
[Deprecated] This field is deprecated.
|
RawDisk.Builder |
setSource(String value)
The full Google Cloud Storage URL where the raw disk image archive is stored.
|
RawDisk.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
The full Google Cloud Storage URL where the raw disk image archive is stored.
|
RawDisk.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RawDisk build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RawDisk buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RawDisk.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawDisk.Builder>public RawDisk.Builder mergeFrom(RawDisk other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public RawDisk.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RawDisk.Builder>IOExceptionpublic 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;hasContainerType in interface RawDiskOrBuilderpublic 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;getContainerType in interface RawDiskOrBuilderpublic 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;getContainerTypeBytes in interface RawDiskOrBuilderpublic RawDisk.Builder setContainerType(String value)
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;value - The containerType to set.public RawDisk.Builder clearContainerType()
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;public RawDisk.Builder setContainerTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for containerType to set.public 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;hasSha1Checksum in interface RawDiskOrBuilderpublic 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;getSha1Checksum in interface RawDiskOrBuilderpublic 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;getSha1ChecksumBytes in interface RawDiskOrBuilderpublic RawDisk.Builder setSha1Checksum(String value)
[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;value - The sha1Checksum to set.public RawDisk.Builder clearSha1Checksum()
[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;public RawDisk.Builder setSha1ChecksumBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for sha1Checksum to set.public 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;hasSource in interface RawDiskOrBuilderpublic 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;getSource in interface RawDiskOrBuilderpublic 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;getSourceBytes in interface RawDiskOrBuilderpublic RawDisk.Builder setSource(String value)
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;value - The source to set.public RawDisk.Builder clearSource()
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;public RawDisk.Builder setSourceBytes(com.google.protobuf.ByteString value)
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;value - The bytes for source to set.public final RawDisk.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>public final RawDisk.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RawDisk.Builder>Copyright © 2023 Google LLC. All rights reserved.