public static final class WorkstationConfig.PersistentDirectory extends GeneratedMessageV3 implements WorkstationConfig.PersistentDirectoryOrBuilder
A directory to persist across workstation sessions.
Protobuf type google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > WorkstationConfig.PersistentDirectoryStatic 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.PersistentDirectory getDefaultInstance()
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static WorkstationConfig.PersistentDirectory.Builder newBuilder()
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
newBuilder(WorkstationConfig.PersistentDirectory prototype)
public static WorkstationConfig.PersistentDirectory.Builder newBuilder(WorkstationConfig.PersistentDirectory prototype)
Parameter | |
---|---|
Name | Description |
prototype |
WorkstationConfig.PersistentDirectory |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
parseDelimitedFrom(InputStream input)
public static WorkstationConfig.PersistentDirectory parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static WorkstationConfig.PersistentDirectory parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static WorkstationConfig.PersistentDirectory parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static WorkstationConfig.PersistentDirectory parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static WorkstationConfig.PersistentDirectory parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static WorkstationConfig.PersistentDirectory parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WorkstationConfig.PersistentDirectory parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<WorkstationConfig.PersistentDirectory> parser()
Returns | |
---|---|
Type | Description |
Parser<PersistentDirectory> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public WorkstationConfig.PersistentDirectory getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory |
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.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk |
The gcePd. |
getGcePdOrBuilder()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDiskOrBuilder getGcePdOrBuilder()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.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. |
getParserForType()
public Parser<WorkstationConfig.PersistentDirectory> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<PersistentDirectory> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasGcePd()
public boolean hasGcePd()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the gcePd field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public WorkstationConfig.PersistentDirectory.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WorkstationConfig.PersistentDirectory.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public WorkstationConfig.PersistentDirectory.Builder toBuilder()
Returns | |
---|---|
Type | Description |
WorkstationConfig.PersistentDirectory.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |