public static final class EmptyDirVolumeSource.Builder extends GeneratedMessageV3.Builder<EmptyDirVolumeSource.Builder> implements EmptyDirVolumeSourceOrBuilder
In memory (tmpfs) ephemeral storage.
It is ephemeral in the sense that when the sandbox is taken down, the data is
destroyed with it (it does not persist across sandbox runs).
Protobuf type google.cloud.run.v2.EmptyDirVolumeSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 EmptyDirVolumeSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EmptyDirVolumeSource build()
buildPartial()
public EmptyDirVolumeSource buildPartial()
clear()
public EmptyDirVolumeSource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EmptyDirVolumeSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMedium()
public EmptyDirVolumeSource.Builder clearMedium()
The medium on which the data is stored. Acceptable values today is only
MEMORY or none. When none, the default will currently be backed by memory
but could change over time. +optional
.google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public EmptyDirVolumeSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSizeLimit()
public EmptyDirVolumeSource.Builder clearSizeLimit()
clone()
public EmptyDirVolumeSource.Builder clone()
Overrides
getDefaultInstanceForType()
public EmptyDirVolumeSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMedium()
public EmptyDirVolumeSource.Medium getMedium()
The medium on which the data is stored. Acceptable values today is only
MEMORY or none. When none, the default will currently be backed by memory
but could change over time. +optional
.google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
getMediumValue()
public int getMediumValue()
The medium on which the data is stored. Acceptable values today is only
MEMORY or none. When none, the default will currently be backed by memory
but could change over time. +optional
.google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for medium.
|
getSizeLimit()
public String getSizeLimit()
Returns |
---|
Type | Description |
String | The sizeLimit.
|
getSizeLimitBytes()
public ByteString getSizeLimitBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for sizeLimit.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EmptyDirVolumeSource other)
public EmptyDirVolumeSource.Builder mergeFrom(EmptyDirVolumeSource other)
public EmptyDirVolumeSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EmptyDirVolumeSource.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EmptyDirVolumeSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EmptyDirVolumeSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMedium(EmptyDirVolumeSource.Medium value)
public EmptyDirVolumeSource.Builder setMedium(EmptyDirVolumeSource.Medium value)
The medium on which the data is stored. Acceptable values today is only
MEMORY or none. When none, the default will currently be backed by memory
but could change over time. +optional
.google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
setMediumValue(int value)
public EmptyDirVolumeSource.Builder setMediumValue(int value)
The medium on which the data is stored. Acceptable values today is only
MEMORY or none. When none, the default will currently be backed by memory
but could change over time. +optional
.google.cloud.run.v2.EmptyDirVolumeSource.Medium medium = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for medium to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EmptyDirVolumeSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSizeLimit(String value)
public EmptyDirVolumeSource.Builder setSizeLimit(String value)
Parameter |
---|
Name | Description |
value | String
The sizeLimit to set.
|
setSizeLimitBytes(ByteString value)
public EmptyDirVolumeSource.Builder setSizeLimitBytes(ByteString value)
Parameter |
---|
Name | Description |
value | ByteString
The bytes for sizeLimit to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final EmptyDirVolumeSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides