public static final class WorkstationConfig.EphemeralDirectory.Builder extends GeneratedMessageV3.Builder<WorkstationConfig.EphemeralDirectory.Builder> 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
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.EphemeralDirectory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public WorkstationConfig.EphemeralDirectory build()
buildPartial()
public WorkstationConfig.EphemeralDirectory buildPartial()
clear()
public WorkstationConfig.EphemeralDirectory.Builder clear()
Overrides
clearDirectoryType()
public WorkstationConfig.EphemeralDirectory.Builder clearDirectoryType()
clearField(Descriptors.FieldDescriptor field)
public WorkstationConfig.EphemeralDirectory.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGcePd()
public WorkstationConfig.EphemeralDirectory.Builder clearGcePd()
An EphemeralDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;
clearMountPath()
public WorkstationConfig.EphemeralDirectory.Builder clearMountPath()
Required. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public WorkstationConfig.EphemeralDirectory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public WorkstationConfig.EphemeralDirectory.Builder clone()
Overrides
getDefaultInstanceForType()
public WorkstationConfig.EphemeralDirectory getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDirectoryTypeCase()
public WorkstationConfig.EphemeralDirectory.DirectoryTypeCase getDirectoryTypeCase()
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;
getGcePdBuilder()
public WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder getGcePdBuilder()
An EphemeralDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;
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;
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(WorkstationConfig.EphemeralDirectory other)
public WorkstationConfig.EphemeralDirectory.Builder mergeFrom(WorkstationConfig.EphemeralDirectory other)
public WorkstationConfig.EphemeralDirectory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public WorkstationConfig.EphemeralDirectory.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)
public WorkstationConfig.EphemeralDirectory.Builder mergeGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)
An EphemeralDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.EphemeralDirectory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public WorkstationConfig.EphemeralDirectory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)
public WorkstationConfig.EphemeralDirectory.Builder setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk value)
An EphemeralDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;
setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder builderForValue)
public WorkstationConfig.EphemeralDirectory.Builder setGcePd(WorkstationConfig.EphemeralDirectory.GcePersistentDisk.Builder builderForValue)
An EphemeralDirectory backed by a Compute Engine persistent disk.
.google.cloud.workstations.v1beta.WorkstationConfig.EphemeralDirectory.GcePersistentDisk gce_pd = 3;
setMountPath(String value)
public WorkstationConfig.EphemeralDirectory.Builder setMountPath(String value)
Required. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The mountPath to set.
|
setMountPathBytes(ByteString value)
public WorkstationConfig.EphemeralDirectory.Builder setMountPathBytes(ByteString value)
Required. Location of this directory in the running workstation.
string mount_path = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for mountPath to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public WorkstationConfig.EphemeralDirectory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final WorkstationConfig.EphemeralDirectory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides