Class NFSVolumeSource (0.54.0)

public final class NFSVolumeSource extends GeneratedMessageV3 implements NFSVolumeSourceOrBuilder

Represents an NFS mount.

Protobuf type google.cloud.run.v2.NFSVolumeSource

Static Fields

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
Type Description
int

SERVER_FIELD_NUMBER

public static final int SERVER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NFSVolumeSource getDefaultInstance()
Returns
Type Description
NFSVolumeSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NFSVolumeSource.Builder newBuilder()
Returns
Type Description
NFSVolumeSource.Builder

newBuilder(NFSVolumeSource prototype)

public static NFSVolumeSource.Builder newBuilder(NFSVolumeSource prototype)
Parameter
Name Description
prototype NFSVolumeSource
Returns
Type Description
NFSVolumeSource.Builder

parseDelimitedFrom(InputStream input)

public static NFSVolumeSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NFSVolumeSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NFSVolumeSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NFSVolumeSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NFSVolumeSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NFSVolumeSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NFSVolumeSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NFSVolumeSource> parser()
Returns
Type Description
Parser<NFSVolumeSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NFSVolumeSource getDefaultInstanceForType()
Returns
Type Description
NFSVolumeSource

getParserForType()

public Parser<NFSVolumeSource> getParserForType()
Returns
Type Description
Parser<NFSVolumeSource>
Overrides

getPath()

public String getPath()

Path that is exported by the NFS server.

string path = 2;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

Path that is exported by the NFS server.

string path = 2;

Returns
Type Description
ByteString

The bytes for path.

getReadOnly()

public boolean getReadOnly()

If true, the volume will be mounted as read only for all mounts.

bool read_only = 3;

Returns
Type Description
boolean

The readOnly.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServer()

public String getServer()

Hostname or IP address of the NFS server

string server = 1;

Returns
Type Description
String

The server.

getServerBytes()

public ByteString getServerBytes()

Hostname or IP address of the NFS server

string server = 1;

Returns
Type Description
ByteString

The bytes for server.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NFSVolumeSource.Builder newBuilderForType()
Returns
Type Description
NFSVolumeSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NFSVolumeSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NFSVolumeSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public NFSVolumeSource.Builder toBuilder()
Returns
Type Description
NFSVolumeSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException