public static final class WorkstationConfig.PersistentDirectory.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.PersistentDirectory.Builder> implements WorkstationConfig.PersistentDirectoryOrBuilder
A directory to persist across workstation sessions.
Protobuf type google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public WorkstationConfig.PersistentDirectory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WorkstationConfig.PersistentDirectory build()
buildPartial()
public WorkstationConfig.PersistentDirectory buildPartial()
clear()
public WorkstationConfig.PersistentDirectory.Builder clear()
Overrides
clearDirectoryType()
public WorkstationConfig.PersistentDirectory.Builder clearDirectoryType()
clearField(Descriptors.FieldDescriptor field)
public WorkstationConfig.PersistentDirectory.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcePd()
public WorkstationConfig.PersistentDirectory.Builder clearGcePd()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
clearMountPath()
public WorkstationConfig.PersistentDirectory.Builder clearMountPath()
Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkstationConfig.PersistentDirectory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WorkstationConfig.PersistentDirectory.Builder clone()
Overrides
getDefaultInstanceForType()
public WorkstationConfig.PersistentDirectory getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDirectoryTypeCase()
public WorkstationConfig.PersistentDirectory.DirectoryTypeCase getDirectoryTypeCase()
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;
getGcePdBuilder()
public WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder getGcePdBuilder()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
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;
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.
|
hasGcePd()
public boolean hasGcePd()
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
Returns |
---|
Type | Description |
boolean | Whether the gcePd field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WorkstationConfig.PersistentDirectory other)
public WorkstationConfig.PersistentDirectory.Builder mergeFrom(WorkstationConfig.PersistentDirectory other)
public WorkstationConfig.PersistentDirectory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WorkstationConfig.PersistentDirectory.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)
public WorkstationConfig.PersistentDirectory.Builder mergeGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.PersistentDirectory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WorkstationConfig.PersistentDirectory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)
public WorkstationConfig.PersistentDirectory.Builder setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk value)
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder builderForValue)
public WorkstationConfig.PersistentDirectory.Builder setGcePd(WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk.Builder builderForValue)
A PersistentDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1.WorkstationConfig.PersistentDirectory.GceRegionalPersistentDisk gce_pd = 2;
setMountPath(String value)
public WorkstationConfig.PersistentDirectory.Builder setMountPath(String value)
Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | String
The mountPath to set.
|
setMountPathBytes(ByteString value)
public WorkstationConfig.PersistentDirectory.Builder setMountPathBytes(ByteString value)
Optional. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for mountPath to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkstationConfig.PersistentDirectory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.PersistentDirectory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides