Class NFSVolumeSource (0.40.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
TypeDescription
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

SERVER_FIELD_NUMBER

public static final int SERVER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NFSVolumeSource getDefaultInstance()
Returns
TypeDescription
NFSVolumeSource

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static NFSVolumeSource.Builder newBuilder()
Returns
TypeDescription
NFSVolumeSource.Builder

newBuilder(NFSVolumeSource prototype)

public static NFSVolumeSource.Builder newBuilder(NFSVolumeSource prototype)
Parameter
NameDescription
prototypeNFSVolumeSource
Returns
TypeDescription
NFSVolumeSource.Builder

parseDelimitedFrom(InputStream input)

public static NFSVolumeSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static NFSVolumeSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NFSVolumeSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NFSVolumeSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static NFSVolumeSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static NFSVolumeSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NFSVolumeSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NFSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<NFSVolumeSource> parser()
Returns
TypeDescription
Parser<NFSVolumeSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public NFSVolumeSource getDefaultInstanceForType()
Returns
TypeDescription
NFSVolumeSource

getParserForType()

public Parser<NFSVolumeSource> getParserForType()
Returns
TypeDescription
Parser<NFSVolumeSource>
Overrides

getPath()

public String getPath()

Path that is exported by the NFS server.

string path = 2;

Returns
TypeDescription
String

The path.

getPathBytes()

public ByteString getPathBytes()

Path that is exported by the NFS server.

string path = 2;

Returns
TypeDescription
ByteString

The bytes for path.

getReadOnly()

public boolean getReadOnly()

If true, mount the NFS volume as read only

bool read_only = 3;

Returns
TypeDescription
boolean

The readOnly.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServer()

public String getServer()

Hostname or IP address of the NFS server

string server = 1;

Returns
TypeDescription
String

The server.

getServerBytes()

public ByteString getServerBytes()

Hostname or IP address of the NFS server

string server = 1;

Returns
TypeDescription
ByteString

The bytes for server.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public NFSVolumeSource.Builder newBuilderForType()
Returns
TypeDescription
NFSVolumeSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected NFSVolumeSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
NFSVolumeSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public NFSVolumeSource.Builder toBuilder()
Returns
TypeDescription
NFSVolumeSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException