public final class PersistentDisk extends GeneratedMessage implements PersistentDiskOrBuilderDetails of a created Persistent Disk.
Protobuf type google.cloud.vmmigration.v1.PersistentDisk
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PersistentDiskImplements
PersistentDiskOrBuilderStatic Fields
DISK_URI_FIELD_NUMBER
public static final int DISK_URI_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SOURCE_DISK_NUMBER_FIELD_NUMBER
public static final int SOURCE_DISK_NUMBER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static PersistentDisk getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static PersistentDisk.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
PersistentDisk.Builder |
|
newBuilder(PersistentDisk prototype)
public static PersistentDisk.Builder newBuilder(PersistentDisk prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
PersistentDisk |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk.Builder |
|
parseDelimitedFrom(InputStream input)
public static PersistentDisk parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PersistentDisk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static PersistentDisk parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersistentDisk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static PersistentDisk parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersistentDisk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static PersistentDisk parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PersistentDisk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static PersistentDisk parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PersistentDisk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static PersistentDisk parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersistentDisk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<PersistentDisk> parser()| Returns | |
|---|---|
| Type | Description |
Parser<PersistentDisk> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public PersistentDisk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PersistentDisk |
|
getDiskUri()
public String getDiskUri()The URI of the Persistent Disk.
string disk_uri = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The diskUri. |
getDiskUriBytes()
public ByteString getDiskUriBytes()The URI of the Persistent Disk.
string disk_uri = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for diskUri. |
getParserForType()
public Parser<PersistentDisk> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<PersistentDisk> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSourceDiskNumber()
public int getSourceDiskNumber()The ordinal number of the source VM disk.
int32 source_disk_number = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The sourceDiskNumber. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public PersistentDisk.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PersistentDisk.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PersistentDisk.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PersistentDisk.Builder |
|
toBuilder()
public PersistentDisk.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PersistentDisk.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|