public static final class SavedDisk.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.Builder> implements SavedDiskOrBuilder
An instance-attached disk resource.Protobuf type
google.cloud.compute.v1.SavedDisk| Modifier and Type | Method and Description |
|---|---|
SavedDisk.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SavedDisk |
build() |
SavedDisk |
buildPartial() |
SavedDisk.Builder |
clear() |
SavedDisk.Builder |
clearArchitecture()
[Output Only] The architecture of the attached disk.
|
SavedDisk.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SavedDisk.Builder |
clearKind()
[Output Only] Type of the resource.
|
SavedDisk.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedDisk.Builder |
clearSourceDisk()
Specifies a URL of the disk attached to the source instance.
|
SavedDisk.Builder |
clearStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
|
SavedDisk.Builder |
clearStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
SavedDisk.Builder |
clone() |
String |
getArchitecture()
[Output Only] The architecture of the attached disk.
|
com.google.protobuf.ByteString |
getArchitectureBytes()
[Output Only] The architecture of the attached disk.
|
SavedDisk |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getSourceDisk()
Specifies a URL of the disk attached to the source instance.
|
com.google.protobuf.ByteString |
getSourceDiskBytes()
Specifies a URL of the disk attached to the source instance.
|
long |
getStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
|
String |
getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
com.google.protobuf.ByteString |
getStorageBytesStatusBytes()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
boolean |
hasArchitecture()
[Output Only] The architecture of the attached disk.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasSourceDisk()
Specifies a URL of the disk attached to the source instance.
|
boolean |
hasStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
|
boolean |
hasStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SavedDisk.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedDisk.Builder |
mergeFrom(com.google.protobuf.Message other) |
SavedDisk.Builder |
mergeFrom(SavedDisk other) |
SavedDisk.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SavedDisk.Builder |
setArchitecture(String value)
[Output Only] The architecture of the attached disk.
|
SavedDisk.Builder |
setArchitectureBytes(com.google.protobuf.ByteString value)
[Output Only] The architecture of the attached disk.
|
SavedDisk.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SavedDisk.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
SavedDisk.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
SavedDisk.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SavedDisk.Builder |
setSourceDisk(String value)
Specifies a URL of the disk attached to the source instance.
|
SavedDisk.Builder |
setSourceDiskBytes(com.google.protobuf.ByteString value)
Specifies a URL of the disk attached to the source instance.
|
SavedDisk.Builder |
setStorageBytes(long value)
[Output Only] Size of the individual disk snapshot used by this machine image.
|
SavedDisk.Builder |
setStorageBytesStatus(String value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
SavedDisk.Builder |
setStorageBytesStatusBytes(com.google.protobuf.ByteString value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
SavedDisk.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<SavedDisk.Builder>public SavedDisk.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.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<SavedDisk.Builder>public SavedDisk getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SavedDisk build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SavedDisk buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SavedDisk.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.Builder>public SavedDisk.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<SavedDisk.Builder>public SavedDisk.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.Builder>public SavedDisk.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.Builder>public SavedDisk.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<SavedDisk.Builder>public SavedDisk.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<SavedDisk.Builder>public SavedDisk.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SavedDisk.Builder>public SavedDisk.Builder mergeFrom(SavedDisk other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.Builder>public SavedDisk.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<SavedDisk.Builder>IOExceptionpublic boolean hasArchitecture()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;hasArchitecture in interface SavedDiskOrBuilderpublic String getArchitecture()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;getArchitecture in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getArchitectureBytes()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;getArchitectureBytes in interface SavedDiskOrBuilderpublic SavedDisk.Builder setArchitecture(String value)
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;value - The architecture to set.public SavedDisk.Builder clearArchitecture()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;public SavedDisk.Builder setArchitectureBytes(com.google.protobuf.ByteString value)
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;value - The bytes for architecture to set.public boolean hasKind()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;hasKind in interface SavedDiskOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;getKind in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;getKindBytes in interface SavedDiskOrBuilderpublic SavedDisk.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;value - The kind to set.public SavedDisk.Builder clearKind()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;public SavedDisk.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasSourceDisk()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;hasSourceDisk in interface SavedDiskOrBuilderpublic String getSourceDisk()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;getSourceDisk in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getSourceDiskBytes()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;getSourceDiskBytes in interface SavedDiskOrBuilderpublic SavedDisk.Builder setSourceDisk(String value)
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;value - The sourceDisk to set.public SavedDisk.Builder clearSourceDisk()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;public SavedDisk.Builder setSourceDiskBytes(com.google.protobuf.ByteString value)
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;value - The bytes for sourceDisk to set.public boolean hasStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;hasStorageBytes in interface SavedDiskOrBuilderpublic long getStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;getStorageBytes in interface SavedDiskOrBuilderpublic SavedDisk.Builder setStorageBytes(long value)
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;value - The storageBytes to set.public SavedDisk.Builder clearStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;public boolean hasStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;hasStorageBytesStatus in interface SavedDiskOrBuilderpublic String getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;getStorageBytesStatus in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getStorageBytesStatusBytes()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;getStorageBytesStatusBytes in interface SavedDiskOrBuilderpublic SavedDisk.Builder setStorageBytesStatus(String value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;value - The storageBytesStatus to set.public SavedDisk.Builder clearStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;public SavedDisk.Builder setStorageBytesStatusBytes(com.google.protobuf.ByteString value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;value - The bytes for storageBytesStatus to set.public final SavedDisk.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.Builder>public final SavedDisk.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SavedDisk.Builder>Copyright © 2023 Google LLC. All rights reserved.