public static final class WorkstationConfig.PersistentDirectory.Builder extends GeneratedMessage.Builder<WorkstationConfig.PersistentDirectory.Builder> implements WorkstationConfig.PersistentDirectoryOrBuilderA directory to persist across workstation sessions.
Protobuf type google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > WorkstationConfig.PersistentDirectory.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public WorkstationConfig.PersistentDirectory build()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory |
|
buildPartial()
public WorkstationConfig.PersistentDirectory buildPartial()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory |
|
clear()
public WorkstationConfig.PersistentDirectory.Builder clear()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
clearDirectoryType()
public WorkstationConfig.PersistentDirectory.Builder clearDirectoryType()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
clearGcePd()
public WorkstationConfig.PersistentDirectory.Builder clearGcePd()A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
clearMountPath()
public WorkstationConfig.PersistentDirectory.Builder clearMountPath()Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public WorkstationConfig.PersistentDirectory getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDirectoryTypeCase()
public WorkstationConfig.PersistentDirectory.DirectoryTypeCase getDirectoryTypeCase()| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.DirectoryTypeCase |
|
getGcePd()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk getGcePd()A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
The gcePd. |
getGcePdBuilder()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder getGcePdBuilder()A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
|
getGcePdOrBuilder()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskOrBuilder getGcePdOrBuilder()A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskOrBuilder |
|
getMountPath()
public String getMountPath()Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The mountPath. |
getMountPathBytes()
public ByteString getMountPathBytes()Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mountPath. |
hasGcePd()
public boolean hasGcePd()A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcePd field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(WorkstationConfig.PersistentDirectory other)
public WorkstationConfig.PersistentDirectory.Builder mergeFrom(WorkstationConfig.PersistentDirectory other)| Parameter | |
|---|---|
| Name | Description |
other |
WorkstationConfig.PersistentDirectory |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public WorkstationConfig.PersistentDirectory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public WorkstationConfig.PersistentDirectory.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
mergeGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)
public WorkstationConfig.PersistentDirectory.Builder mergeGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)
public WorkstationConfig.PersistentDirectory.Builder setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder builderForValue)
public WorkstationConfig.PersistentDirectory.Builder setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder builderForValue)A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
|
setMountPath(String value)
public WorkstationConfig.PersistentDirectory.Builder setMountPath(String value)Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mountPath to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
This builder for chaining. |
setMountPathBytes(ByteString value)
public WorkstationConfig.PersistentDirectory.Builder setMountPathBytes(ByteString value)Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mountPath to set. |
| Returns | |
|---|---|
| Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
This builder for chaining. |