public static final class Volume.Builder extends GeneratedMessage.Builder<Volume.Builder> implements VolumeOrBuilderVolumes mounted within the app container. Only applicable in the App Engine flexible environment.
Protobuf type google.appengine.v1.Volume
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Volume.BuilderImplements
VolumeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Volume build()| Returns | |
|---|---|
| Type | Description |
Volume |
|
buildPartial()
public Volume buildPartial()| Returns | |
|---|---|
| Type | Description |
Volume |
|
clear()
public Volume.Builder clear()| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
clearName()
public Volume.Builder clearName()Unique name for the volume.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearSizeGb()
public Volume.Builder clearSizeGb()Volume size in gigabytes.
double size_gb = 3;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
clearVolumeType()
public Volume.Builder clearVolumeType()Underlying volume type, e.g. 'tmpfs'.
string volume_type = 2;
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Volume getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Volume |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Unique name for the volume.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Unique name for the volume.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSizeGb()
public double getSizeGb()Volume size in gigabytes.
double size_gb = 3;
| Returns | |
|---|---|
| Type | Description |
double |
The sizeGb. |
getVolumeType()
public String getVolumeType()Underlying volume type, e.g. 'tmpfs'.
string volume_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The volumeType. |
getVolumeTypeBytes()
public ByteString getVolumeTypeBytes()Underlying volume type, e.g. 'tmpfs'.
string volume_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for volumeType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Volume other)
public Volume.Builder mergeFrom(Volume other)| Parameter | |
|---|---|
| Name | Description |
other |
Volume |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Volume.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Volume.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
|
setName(String value)
public Volume.Builder setName(String value)Unique name for the volume.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Volume.Builder setNameBytes(ByteString value)Unique name for the volume.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setSizeGb(double value)
public Volume.Builder setSizeGb(double value)Volume size in gigabytes.
double size_gb = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe sizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setVolumeType(String value)
public Volume.Builder setVolumeType(String value)Underlying volume type, e.g. 'tmpfs'.
string volume_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe volumeType to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |
setVolumeTypeBytes(ByteString value)
public Volume.Builder setVolumeTypeBytes(ByteString value)Underlying volume type, e.g. 'tmpfs'.
string volume_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for volumeType to set. |
| Returns | |
|---|---|
| Type | Description |
Volume.Builder |
This builder for chaining. |