Class NewLustreConfig (0.1.0)

public final class NewLustreConfig extends GeneratedMessageV3 implements NewLustreConfigOrBuilder

When set in a StorageResourceConfig, indicates that a new Managed Lustre instance should be created.

Protobuf type google.cloud.hypercomputecluster.v1beta.NewLustreConfig

Static Fields

CAPACITY_GB_FIELD_NUMBER

public static final int CAPACITY_GB_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

FILESYSTEM_FIELD_NUMBER

public static final int FILESYSTEM_FIELD_NUMBER
Field Value
Type Description
int

LUSTRE_FIELD_NUMBER

public static final int LUSTRE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NewLustreConfig getDefaultInstance()
Returns
Type Description
NewLustreConfig

getDescriptor()

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

newBuilder()

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

newBuilder(NewLustreConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCapacityGb()

public long getCapacityGb()

Required. Immutable. Storage capacity of the instance in gibibytes (GiB). Allowed values are between 18000 and 7632000.

int64 capacity_gb = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
long

The capacityGb.

getDefaultInstanceForType()

public NewLustreConfig getDefaultInstanceForType()
Returns
Type Description
NewLustreConfig

getDescription()

public String getDescription()

Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Immutable. Description of the Managed Lustre instance. Maximum of 2048 characters.

string description = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for description.

getFilesystem()

public String getFilesystem()

Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The filesystem.

getFilesystemBytes()

public ByteString getFilesystemBytes()

Required. Immutable. Filesystem name for this instance. This name is used by client-side tools, including when mounting the instance. Must be 8 characters or less and can only contain letters and numbers.

string filesystem = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for filesystem.

getLustre()

public String getLustre()

Required. Immutable. Name of the Managed Lustre instance to create, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The lustre.

getLustreBytes()

public ByteString getLustreBytes()

Required. Immutable. Name of the Managed Lustre instance to create, in the format projects/{project}/locations/{location}/instances/{instance}

string lustre = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for lustre.

getParserForType()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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