Class WorkstationConfig.EphemeralDirectory (0.23.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
TypeDescription
int

MOUNT_PATH_FIELD_NUMBER

public static final int MOUNT_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static WorkstationConfig.EphemeralDirectory getDefaultInstance()
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static WorkstationConfig.EphemeralDirectory.Builder newBuilder()
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory.Builder

newBuilder(WorkstationConfig.EphemeralDirectory prototype)

public static WorkstationConfig.EphemeralDirectory.Builder newBuilder(WorkstationConfig.EphemeralDirectory prototype)
Parameter
NameDescription
prototypeWorkstationConfig.EphemeralDirectory
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory.Builder

parseDelimitedFrom(InputStream input)

public static WorkstationConfig.EphemeralDirectory parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static WorkstationConfig.EphemeralDirectory parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WorkstationConfig.EphemeralDirectory parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static WorkstationConfig.EphemeralDirectory parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WorkstationConfig.EphemeralDirectory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public WorkstationConfig.EphemeralDirectory getDefaultInstanceForType()
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory

getDirectoryTypeCase()

public WorkstationConfig.EphemeralDirectory.DirectoryTypeCase getDirectoryTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for mountPath.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcePd field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public WorkstationConfig.EphemeralDirectory.Builder newBuilderForType()
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected WorkstationConfig.EphemeralDirectory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public WorkstationConfig.EphemeralDirectory.Builder toBuilder()
Returns
TypeDescription
WorkstationConfig.EphemeralDirectory.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException