Class ExistingNfsConfig (0.23.0)

public final class ExistingNfsConfig extends GeneratedMessage implements ExistingNfsConfigOrBuilder

When set in a StorageResourceConfig, indicates that an existing NFS share should be imported.

Protobuf type google.cloud.hypercomputecluster.v1beta.ExistingNfsConfig

Static Fields

MOUNT_OPTIONS_FIELD_NUMBER

public static final int MOUNT_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

REMOTE_MOUNT_FIELD_NUMBER

public static final int REMOTE_MOUNT_FIELD_NUMBER
Field Value
Type Description
int

SERVER_IP_ADDRESS_FIELD_NUMBER

public static final int SERVER_IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExistingNfsConfig getDefaultInstance()
Returns
Type Description
ExistingNfsConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ExistingNfsConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExistingNfsConfig getDefaultInstanceForType()
Returns
Type Description
ExistingNfsConfig

getMountOptions()

public String getMountOptions()

Optional. Immutable. Options to mount the NFS share, as expected by fs_mntops field infstab(5), for example: "rw,vers=4.1,nconnect=2,noatime".

string mount_options = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The mountOptions.

getMountOptionsBytes()

public ByteString getMountOptionsBytes()

Optional. Immutable. Options to mount the NFS share, as expected by fs_mntops field infstab(5), for example: "rw,vers=4.1,nconnect=2,noatime".

string mount_options = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for mountOptions.

getParserForType()

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

getRemoteMount()

public String getRemoteMount()

Required. Immutable. Remote mount path of the NFS share.

string remote_mount = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The remoteMount.

getRemoteMountBytes()

public ByteString getRemoteMountBytes()

Required. Immutable. Remote mount path of the NFS share.

string remote_mount = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for remoteMount.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServerIpAddress()

public String getServerIpAddress()

Required. Immutable. Server IP address of the NFS share.

string server_ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_info) = { ... }

Returns
Type Description
String

The serverIpAddress.

getServerIpAddressBytes()

public ByteString getServerIpAddressBytes()

Required. Immutable. Server IP address of the NFS share.

string server_ip_address = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for serverIpAddress.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExistingNfsConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExistingNfsConfig.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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