Class StorageResourceConfig (0.1.0)

public final class StorageResourceConfig extends GeneratedMessageV3 implements StorageResourceConfigOrBuilder

Describes how a storage resource should be initialized. Each storage resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.

Protobuf type google.cloud.hypercomputecluster.v1beta.StorageResourceConfig

Static Fields

EXISTING_BUCKET_FIELD_NUMBER

public static final int EXISTING_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

EXISTING_FILESTORE_FIELD_NUMBER

public static final int EXISTING_FILESTORE_FIELD_NUMBER
Field Value
Type Description
int

EXISTING_LUSTRE_FIELD_NUMBER

public static final int EXISTING_LUSTRE_FIELD_NUMBER
Field Value
Type Description
int

NEW_BUCKET_FIELD_NUMBER

public static final int NEW_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

NEW_FILESTORE_FIELD_NUMBER

public static final int NEW_FILESTORE_FIELD_NUMBER
Field Value
Type Description
int

NEW_LUSTRE_FIELD_NUMBER

public static final int NEW_LUSTRE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StorageResourceConfig getDefaultInstance()
Returns
Type Description
StorageResourceConfig

getDescriptor()

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

newBuilder()

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

newBuilder(StorageResourceConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfigCase()

public StorageResourceConfig.ConfigCase getConfigCase()
Returns
Type Description
StorageResourceConfig.ConfigCase

getDefaultInstanceForType()

public StorageResourceConfig getDefaultInstanceForType()
Returns
Type Description
StorageResourceConfig

getExistingBucket()

public ExistingBucketConfig getExistingBucket()

Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingBucketConfig

The existingBucket.

getExistingBucketOrBuilder()

public ExistingBucketConfigOrBuilder getExistingBucketOrBuilder()

Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingBucketConfigOrBuilder

getExistingFilestore()

public ExistingFilestoreConfig getExistingFilestore()

Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingFilestoreConfig

The existingFilestore.

getExistingFilestoreOrBuilder()

public ExistingFilestoreConfigOrBuilder getExistingFilestoreOrBuilder()

Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingFilestoreConfigOrBuilder

getExistingLustre()

public ExistingLustreConfig getExistingLustre()

Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingLustreConfig

The existingLustre.

getExistingLustreOrBuilder()

public ExistingLustreConfigOrBuilder getExistingLustreOrBuilder()

Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ExistingLustreConfigOrBuilder

getNewBucket()

public NewBucketConfig getNewBucket()

Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.

.google.cloud.hypercomputecluster.v1beta.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewBucketConfig

The newBucket.

getNewBucketOrBuilder()

public NewBucketConfigOrBuilder getNewBucketOrBuilder()

Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.

.google.cloud.hypercomputecluster.v1beta.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewBucketConfigOrBuilder

getNewFilestore()

public NewFilestoreConfig getNewFilestore()

Optional. Immutable. If set, indicates that a new Filestore instance should be created.

.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewFilestoreConfig

The newFilestore.

getNewFilestoreOrBuilder()

public NewFilestoreConfigOrBuilder getNewFilestoreOrBuilder()

Optional. Immutable. If set, indicates that a new Filestore instance should be created.

.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewFilestoreConfigOrBuilder

getNewLustre()

public NewLustreConfig getNewLustre()

Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.

.google.cloud.hypercomputecluster.v1beta.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewLustreConfig

The newLustre.

getNewLustreOrBuilder()

public NewLustreConfigOrBuilder getNewLustreOrBuilder()

Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.

.google.cloud.hypercomputecluster.v1beta.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
NewLustreConfigOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasExistingBucket()

public boolean hasExistingBucket()

Optional. Immutable. If set, indicates that an existing Cloud Storage bucket should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingBucketConfig existing_bucket = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the existingBucket field is set.

hasExistingFilestore()

public boolean hasExistingFilestore()

Optional. Immutable. If set, indicates that an existing Filestore instance should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingFilestoreConfig existing_filestore = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the existingFilestore field is set.

hasExistingLustre()

public boolean hasExistingLustre()

Optional. Immutable. If set, indicates that an existing Managed Lustre instance should be imported.

.google.cloud.hypercomputecluster.v1beta.ExistingLustreConfig existing_lustre = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the existingLustre field is set.

hasNewBucket()

public boolean hasNewBucket()

Optional. Immutable. If set, indicates that a new Cloud Storage bucket should be created.

.google.cloud.hypercomputecluster.v1beta.NewBucketConfig new_bucket = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the newBucket field is set.

hasNewFilestore()

public boolean hasNewFilestore()

Optional. Immutable. If set, indicates that a new Filestore instance should be created.

.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig new_filestore = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the newFilestore field is set.

hasNewLustre()

public boolean hasNewLustre()

Optional. Immutable. If set, indicates that a new Managed Lustre instance should be created.

.google.cloud.hypercomputecluster.v1beta.NewLustreConfig new_lustre = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the newLustre field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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