public final class AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk extends GeneratedMessageV3 implements AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder
Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk
Static Fields
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value
INTERFACE_FIELD_NUMBER
public static final int INTERFACE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder newBuilder()
Returns
newBuilder(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk prototype)
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder newBuilder(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk prototype)
Parameter
Returns
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk getDefaultInstanceForType()
Returns
getDiskSizeGb()
public long getDiskSizeGb()
Specifies the size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;
Returns
Type | Description |
long | The diskSizeGb.
|
getInterface()
public String getInterface()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
Check the Interface enum for the list of possible values.
optional string interface = 502623545;
Returns
Type | Description |
String | The interface.
|
getInterfaceBytes()
public ByteString getInterfaceBytes()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
Check the Interface enum for the list of possible values.
optional string interface = 502623545;
Returns
getParserForType()
public Parser<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDiskSizeGb()
public boolean hasDiskSizeGb()
Specifies the size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;
Returns
Type | Description |
boolean | Whether the diskSizeGb field is set.
|
hasInterface()
public boolean hasInterface()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
Check the Interface enum for the list of possible values.
optional string interface = 502623545;
Returns
Type | Description |
boolean | Whether the interface field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions