Class WorkstationConfig.EphemeralDirectory.Builder (0.34.0)

public static final class WorkstationConfig.EphemeralDirectory.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.EphemeralDirectory.Builder> implements WorkstationConfig.EphemeralDirectoryOrBuilder

An ephemeral directory which won't persist across workstation sessions. It is freshly created on every workstation start operation.

Protobuf type google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WorkstationConfig.EphemeralDirectory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

build()

public WorkstationConfig.EphemeralDirectory build()
Returns
Type Description
WorkstationConfig.EphemeralDirectory

buildPartial()

public WorkstationConfig.EphemeralDirectory buildPartial()
Returns
Type Description
WorkstationConfig.EphemeralDirectory

clear()

public WorkstationConfig.EphemeralDirectory.Builder clear()
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

clearDirectoryType()

public WorkstationConfig.EphemeralDirectory.Builder clearDirectoryType()
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

clearField(Descriptors.FieldDescriptor field)

public WorkstationConfig.EphemeralDirectory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

clearGcePd()

public WorkstationConfig.EphemeralDirectory.Builder clearGcePd()

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

clearMountPath()

public WorkstationConfig.EphemeralDirectory.Builder clearMountPath()

Required. Location of this directory in the running workstation.

string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WorkstationConfig.EphemeralDirectory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

clone()

public WorkstationConfig.EphemeralDirectory.Builder clone()
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

getDefaultInstanceForType()

public WorkstationConfig.EphemeralDirectory getDefaultInstanceForType()
Returns
Type Description
WorkstationConfig.EphemeralDirectory

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDirectoryTypeCase()

public WorkstationConfig.EphemeralDirectory.DirectoryTypeCase getDirectoryTypeCase()
Returns
Type Description
WorkstationConfig.EphemeralDirectory.DirectoryTypeCase

getGcePd()

public WorkstationConfig.EphemeralDirectory.GcePersistentDisk getGcePd()

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Returns
Type Description
WorkstationConfig.EphemeralDirectory.GcePersistentDisk

The gcePd.

getGcePdBuilder()

public WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder getGcePdBuilder()

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Returns
Type Description
WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder

getGcePdOrBuilder()

public WorkstationConfig.EphemeralDirectory.GcePersistentDiskOrBuilder getGcePdOrBuilder()

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Returns
Type Description
WorkstationConfig.EphemeralDirectory.GcePersistentDiskOrBuilder

getMountPath()

public String getMountPath()

Required. Location of this directory in the running workstation.

string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The mountPath.

getMountPathBytes()

public ByteString getMountPathBytes()

Required. Location of this directory in the running workstation.

string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for mountPath.

hasGcePd()

public boolean hasGcePd()

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Returns
Type Description
boolean

Whether the gcePd field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkstationConfig.EphemeralDirectory other)

public WorkstationConfig.EphemeralDirectory.Builder mergeFrom(WorkstationConfig.EphemeralDirectory other)
Parameter
Name Description
other WorkstationConfig.EphemeralDirectory
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WorkstationConfig.EphemeralDirectory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public WorkstationConfig.EphemeralDirectory.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

mergeGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)

public WorkstationConfig.EphemeralDirectory.Builder mergeGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Parameter
Name Description
value WorkstationConfig.EphemeralDirectory.GcePersistentDisk
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WorkstationConfig.EphemeralDirectory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public WorkstationConfig.EphemeralDirectory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)

public WorkstationConfig.EphemeralDirectory.Builder setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Parameter
Name Description
value WorkstationConfig.EphemeralDirectory.GcePersistentDisk
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder builderForValue)

public WorkstationConfig.EphemeralDirectory.Builder setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder builderForValue)

An EphemeralDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;

Parameter
Name Description
builderForValue WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

setMountPath(String value)

public WorkstationConfig.EphemeralDirectory.Builder setMountPath(String value)

Required. Location of this directory in the running workstation.

string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The mountPath to set.

Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

This builder for chaining.

setMountPathBytes(ByteString value)

public WorkstationConfig.EphemeralDirectory.Builder setMountPathBytes(ByteString value)

Required. Location of this directory in the running workstation.

string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for mountPath to set.

Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public WorkstationConfig.EphemeralDirectory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WorkstationConfig.EphemeralDirectory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides