Class WorkstationConfig.PersistentDirectory (0.15.0)

public static final class WorkstationConfig.PersistentDirectory extends GeneratedMessageV3 implements WorkstationConfig.PersistentDirectoryOrBuilder

A directory to persist across workstation sessions.

Protobuf type google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory

Inheritance

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

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.PersistentDirectory getDefaultInstance()
Returns
TypeDescription
WorkstationConfig.PersistentDirectory

getDescriptor()

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

newBuilder()

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

newBuilder(WorkstationConfig.PersistentDirectory prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDirectoryTypeCase()

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

The gcePd.

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for mountPath.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasGcePd()

public boolean hasGcePd()

A PersistentDirectory backed by a Compute Engine persistent disk.

.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;

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.PersistentDirectory.Builder newBuilderForType()
Returns
TypeDescription
WorkstationConfig.PersistentDirectory.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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