Class MountOption (0.27.0)

public final class MountOption extends GeneratedMessageV3 implements MountOptionOrBuilder

View only mount options for a volume.

Protobuf type google.cloud.netapp.v1.MountOption

Static Fields

EXPORT_FIELD_NUMBER

public static final int EXPORT_FIELD_NUMBER
Field Value
Type Description
int

EXPORT_FULL_FIELD_NUMBER

public static final int EXPORT_FULL_FIELD_NUMBER
Field Value
Type Description
int

INSTRUCTIONS_FIELD_NUMBER

public static final int INSTRUCTIONS_FIELD_NUMBER
Field Value
Type Description
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MountOption getDefaultInstance()
Returns
Type Description
MountOption

getDescriptor()

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

newBuilder()

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

newBuilder(MountOption prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MountOption getDefaultInstanceForType()
Returns
Type Description
MountOption

getExport()

public String getExport()

Export string

string export = 1;

Returns
Type Description
String

The export.

getExportBytes()

public ByteString getExportBytes()

Export string

string export = 1;

Returns
Type Description
ByteString

The bytes for export.

getExportFull()

public String getExportFull()

Full export string

string export_full = 2;

Returns
Type Description
String

The exportFull.

getExportFullBytes()

public ByteString getExportFullBytes()

Full export string

string export_full = 2;

Returns
Type Description
ByteString

The bytes for exportFull.

getInstructions()

public String getInstructions()

Instructions for mounting

string instructions = 4;

Returns
Type Description
String

The instructions.

getInstructionsBytes()

public ByteString getInstructionsBytes()

Instructions for mounting

string instructions = 4;

Returns
Type Description
ByteString

The bytes for instructions.

getParserForType()

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

getProtocol()

public Protocols getProtocol()

Protocol to mount with.

.google.cloud.netapp.v1.Protocols protocol = 3;

Returns
Type Description
Protocols

The protocol.

getProtocolValue()

public int getProtocolValue()

Protocol to mount with.

.google.cloud.netapp.v1.Protocols protocol = 3;

Returns
Type Description
int

The enum numeric value on the wire for protocol.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 MountOption.Builder newBuilderForType()
Returns
Type Description
MountOption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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