public static final class WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk extends GeneratedMessageV3 implements WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskOrBuilder
A PersistentDirectory backed by a Compute Engine regional persistent
disk.
Protobuf type
google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FS_TYPE_FIELD_NUMBER
public static final int FS_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RECLAIM_POLICY_FIELD_NUMBER
public static final int RECLAIM_POLICY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SIZE_GB_FIELD_NUMBER
public static final int SIZE_GB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SOURCE_SNAPSHOT_FIELD_NUMBER
public static final int SOURCE_SNAPSHOT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder newBuilder()
newBuilder(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk prototype)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder newBuilder(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk prototype)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseDelimitedFrom(InputStream input)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(CodedInputStream input)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(InputStream input)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk getDefaultInstanceForType()
getDiskType()
public String getDiskType()
Type of the disk to use. Defaults to pd-standard.
string disk_type = 3;
Returns |
---|
Type | Description |
String | The diskType.
|
getDiskTypeBytes()
public ByteString getDiskTypeBytes()
Type of the disk to use. Defaults to pd-standard.
string disk_type = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for diskType.
|
getFsType()
public String getFsType()
Type of file system that the disk should be formatted with. The
workstation image must support this file system type. Must be empty
if source_snapshot is set. Defaults to ext4.
string fs_type = 2;
Returns |
---|
Type | Description |
String | The fsType.
|
getFsTypeBytes()
public ByteString getFsTypeBytes()
Type of file system that the disk should be formatted with. The
workstation image must support this file system type. Must be empty
if source_snapshot is set. Defaults to ext4.
string fs_type = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for fsType.
|
getParserForType()
public Parser<WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk> getParserForType()
Overrides
getReclaimPolicy()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy getReclaimPolicy()
What should happen to the disk after the workstation is deleted.
Defaults to DELETE.
.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy reclaim_policy = 4;
getReclaimPolicyValue()
public int getReclaimPolicyValue()
What should happen to the disk after the workstation is deleted.
Defaults to DELETE.
.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy reclaim_policy = 4;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for reclaimPolicy.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSizeGb()
Size of the disk in GB. Must be empty if source_snapshot is set.
Defaults to 200.
int32 size_gb = 1;
Returns |
---|
Type | Description |
int | The sizeGb.
|
getSourceSnapshot()
public String getSourceSnapshot()
Name of the snapshot to use as the source for the disk. If set,
size_gb and fs_type must be empty.
string source_snapshot = 5;
Returns |
---|
Type | Description |
String | The sourceSnapshot.
|
getSourceSnapshotBytes()
public ByteString getSourceSnapshotBytes()
Name of the snapshot to use as the source for the disk. If set,
size_gb and fs_type must be empty.
string source_snapshot = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for sourceSnapshot.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides