- 0.66.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder> implements WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskOrBuilderA PersistentDirectory backed by a Compute Engine regional persistent disk.
Protobuf type
google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
build()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk build()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
|
buildPartial()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk buildPartial()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
|
clear()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clear()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
clearDiskType()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clearDiskType()Type of the disk to use. Defaults to pd-standard.
string disk_type = 3;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
clearFsType()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clearFsType()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 |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
clearReclaimPolicy()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clearReclaimPolicy()What should happen to the disk after the workstation is deleted. Defaults to DELETE.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy reclaim_policy = 4;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
clearSizeGb()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clearSizeGb()Size of the disk in GB. Must be empty if source_snapshot is set. Defaults to 200.
int32 size_gb = 1;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
clearSourceSnapshot()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clearSourceSnapshot()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 |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
clone()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder clone()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
getDefaultInstanceForType()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getReclaimPolicy()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy getReclaimPolicy()What should happen to the disk after the workstation is deleted. Defaults to DELETE.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy reclaim_policy = 4;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy |
The reclaimPolicy. |
getReclaimPolicyValue()
public int getReclaimPolicyValue()What should happen to the disk after the workstation is deleted. Defaults to DELETE.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy reclaim_policy = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reclaimPolicy. |
getSizeGb()
public int 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk other)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder mergeFrom(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk other)| Parameter | |
|---|---|
| Name | Description |
other |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
setDiskType(String value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setDiskType(String value)Type of the disk to use. Defaults to pd-standard.
string disk_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe diskType to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setDiskTypeBytes(ByteString value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setDiskTypeBytes(ByteString value)Type of the disk to use. Defaults to pd-standard.
string disk_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for diskType to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
setFsType(String value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setFsType(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fsType to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setFsTypeBytes(ByteString value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setFsTypeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fsType to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setReclaimPolicy(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setReclaimPolicy(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy value)What should happen to the disk after the workstation is deleted. Defaults to DELETE.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy reclaim_policy = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicyThe reclaimPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setReclaimPolicyValue(int value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setReclaimPolicyValue(int value)What should happen to the disk after the workstation is deleted. Defaults to DELETE.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.ReclaimPolicy reclaim_policy = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for reclaimPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
setSizeGb(int value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setSizeGb(int value)Size of the disk in GB. Must be empty if source_snapshot is set. Defaults to 200.
int32 size_gb = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe sizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setSourceSnapshot(String value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setSourceSnapshot(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceSnapshot to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setSourceSnapshotBytes(ByteString value)
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setSourceSnapshotBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceSnapshot to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|