public static final class Workstation.WorkstationPersistentDirectory.Builder extends GeneratedMessage.Builder<Workstation.WorkstationPersistentDirectory.Builder> implements Workstation.WorkstationPersistentDirectoryOrBuilderA directory to persist across workstation sessions. Updates to this field will only take effect on this workstation after it is restarted.
Protobuf type
google.cloud.workstations.v1beta.Workstation.WorkstationPersistentDirectory
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Workstation.WorkstationPersistentDirectory.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Workstation.WorkstationPersistentDirectory build()| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory |
|
buildPartial()
public Workstation.WorkstationPersistentDirectory buildPartial()| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory |
|
clear()
public Workstation.WorkstationPersistentDirectory.Builder clear()| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
|
clearMountPath()
public Workstation.WorkstationPersistentDirectory.Builder clearMountPath()Optional. The mount path of the persistent directory.
string mount_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
This builder for chaining. |
clearSizeGb()
public Workstation.WorkstationPersistentDirectory.Builder clearSizeGb()Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
int32 size_gb = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Workstation.WorkstationPersistentDirectory getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMountPath()
public String getMountPath()Optional. The mount path of the persistent directory.
string mount_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The mountPath. |
getMountPathBytes()
public ByteString getMountPathBytes()Optional. The mount path of the persistent directory.
string mount_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mountPath. |
getSizeGb()
public int getSizeGb()Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
int32 size_gb = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The sizeGb. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Workstation.WorkstationPersistentDirectory other)
public Workstation.WorkstationPersistentDirectory.Builder mergeFrom(Workstation.WorkstationPersistentDirectory other)| Parameter | |
|---|---|
| Name | Description |
other |
Workstation.WorkstationPersistentDirectory |
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Workstation.WorkstationPersistentDirectory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Workstation.WorkstationPersistentDirectory.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
|
setMountPath(String value)
public Workstation.WorkstationPersistentDirectory.Builder setMountPath(String value)Optional. The mount path of the persistent directory.
string mount_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mountPath to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
This builder for chaining. |
setMountPathBytes(ByteString value)
public Workstation.WorkstationPersistentDirectory.Builder setMountPathBytes(ByteString value)Optional. The mount path of the persistent directory.
string mount_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mountPath to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
This builder for chaining. |
setSizeGb(int value)
public Workstation.WorkstationPersistentDirectory.Builder setSizeGb(int value)Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory.
int32 size_gb = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe sizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
Workstation.WorkstationPersistentDirectory.Builder |
This builder for chaining. |