Class MountOption (0.2.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
TypeDescription
int

EXPORT_FULL_FIELD_NUMBER

public static final int EXPORT_FULL_FIELD_NUMBER
Field Value
TypeDescription
int

INSTRUCTIONS_FIELD_NUMBER

public static final int INSTRUCTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

PROTOCOL_FIELD_NUMBER

public static final int PROTOCOL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MountOption getDefaultInstance()
Returns
TypeDescription
MountOption

getDescriptor()

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

newBuilder()

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

newBuilder(MountOption prototype)

public static MountOption.Builder newBuilder(MountOption prototype)
Parameter
NameDescription
prototypeMountOption
Returns
TypeDescription
MountOption.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public MountOption getDefaultInstanceForType()
Returns
TypeDescription
MountOption

getExport()

public String getExport()

Export string

string export = 1;

Returns
TypeDescription
String

The export.

getExportBytes()

public ByteString getExportBytes()

Export string

string export = 1;

Returns
TypeDescription
ByteString

The bytes for export.

getExportFull()

public String getExportFull()

Full export string

string export_full = 2;

Returns
TypeDescription
String

The exportFull.

getExportFullBytes()

public ByteString getExportFullBytes()

Full export string

string export_full = 2;

Returns
TypeDescription
ByteString

The bytes for exportFull.

getInstructions()

public String getInstructions()

Instructions for mounting

string instructions = 4;

Returns
TypeDescription
String

The instructions.

getInstructionsBytes()

public ByteString getInstructionsBytes()

Instructions for mounting

string instructions = 4;

Returns
TypeDescription
ByteString

The bytes for instructions.

getParserForType()

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

getProtocol()

public Protocols getProtocol()

Protocol to mount with.

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

Returns
TypeDescription
Protocols

The protocol.

getProtocolValue()

public int getProtocolValue()

Protocol to mount with.

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

Returns
TypeDescription
int

The enum numeric value on the wire for protocol.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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