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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StorageResourceConfig.Builder newBuilder()
newBuilder(StorageResourceConfig prototype)
public static StorageResourceConfig.Builder newBuilder(StorageResourceConfig prototype)
public static StorageResourceConfig parseDelimitedFrom(InputStream input)
public static StorageResourceConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StorageResourceConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageResourceConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StorageResourceConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageResourceConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageResourceConfig parseFrom(CodedInputStream input)
public static StorageResourceConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StorageResourceConfig parseFrom(InputStream input)
public static StorageResourceConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StorageResourceConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageResourceConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StorageResourceConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getConfigCase()
public StorageResourceConfig.ConfigCase getConfigCase()
getDefaultInstanceForType()
public StorageResourceConfig getDefaultInstanceForType()
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
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];
getParserForType()
public Parser<StorageResourceConfig> getParserForType()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StorageResourceConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StorageResourceConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public StorageResourceConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides