Class WorkstationConfig.EphemeralDirectory (0.30.0)

public static final class WorkstationConfig.EphemeralDirectory extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WorkstationConfig.EphemeralDirectory

Static Fields

GCE_PD_FIELD_NUMBER

public static final int GCE_PD_FIELD_NUMBER
Field Value
Type Description
int

MOUNT_PATH_FIELD_NUMBER

public static final int MOUNT_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WorkstationConfig.EphemeralDirectory getDefaultInstance()
Returns
Type Description
WorkstationConfig.EphemeralDirectory

getDescriptor()

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

newBuilder()

public static WorkstationConfig.EphemeralDirectory.Builder newBuilder()
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

newBuilder(WorkstationConfig.EphemeralDirectory prototype)

public static WorkstationConfig.EphemeralDirectory.Builder newBuilder(WorkstationConfig.EphemeralDirectory prototype)
Parameter
Name Description
prototype WorkstationConfig.EphemeralDirectory
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder

parseDelimitedFrom(InputStream input)

public static WorkstationConfig.EphemeralDirectory parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WorkstationConfig.EphemeralDirectory parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkstationConfig.EphemeralDirectory parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WorkstationConfig.EphemeralDirectory parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WorkstationConfig.EphemeralDirectory
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WorkstationConfig.EphemeralDirectory> parser()
Returns
Type Description
Parser<EphemeralDirectory>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

getParserForType()

public Parser<WorkstationConfig.EphemeralDirectory> getParserForType()
Returns
Type Description
Parser<EphemeralDirectory>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkstationConfig.EphemeralDirectory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WorkstationConfig.EphemeralDirectory.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException