public final class StorageResource extends GeneratedMessage implements StorageResourceOrBuilder
A resource representing a form of persistent storage that is accessible to
compute resources in the cluster.
Protobuf type google.cloud.hypercomputecluster.v1beta.StorageResource
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
BUCKET_FIELD_NUMBER
public static final int BUCKET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILESTORE_FIELD_NUMBER
public static final int FILESTORE_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 StorageResource getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static StorageResource.Builder newBuilder()
newBuilder(StorageResource prototype)
public static StorageResource.Builder newBuilder(StorageResource prototype)
public static StorageResource parseDelimitedFrom(InputStream input)
public static StorageResource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static StorageResource parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static StorageResource parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom(CodedInputStream input)
public static StorageResource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom(InputStream input)
public static StorageResource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static StorageResource parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StorageResource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<StorageResource> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getBucket()
public BucketReference getBucket()
Reference to a Google Cloud Storage bucket. Populated if and only if the
storage resource was configured to use Google Cloud Storage.
.google.cloud.hypercomputecluster.v1beta.BucketReference bucket = 2;
getBucketOrBuilder()
public BucketReferenceOrBuilder getBucketOrBuilder()
Reference to a Google Cloud Storage bucket. Populated if and only if the
storage resource was configured to use Google Cloud Storage.
.google.cloud.hypercomputecluster.v1beta.BucketReference bucket = 2;
getConfig()
public StorageResourceConfig getConfig()
Required. Immutable. Configuration for this storage resource, which
describes how it should be created or imported. This field only controls
how the storage resource is initially created or imported. Subsequent
changes to the storage resource should be made via the resource's API and
will not be reflected in the configuration.
.google.cloud.hypercomputecluster.v1beta.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getConfigOrBuilder()
public StorageResourceConfigOrBuilder getConfigOrBuilder()
Required. Immutable. Configuration for this storage resource, which
describes how it should be created or imported. This field only controls
how the storage resource is initially created or imported. Subsequent
changes to the storage resource should be made via the resource's API and
will not be reflected in the configuration.
.google.cloud.hypercomputecluster.v1beta.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getDefaultInstanceForType()
public StorageResource getDefaultInstanceForType()
getFilestore()
public FilestoreReference getFilestore()
Reference to a Filestore instance. Populated if and only if the storage
resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1beta.FilestoreReference filestore = 1;
getFilestoreOrBuilder()
public FilestoreReferenceOrBuilder getFilestoreOrBuilder()
Reference to a Filestore instance. Populated if and only if the storage
resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1beta.FilestoreReference filestore = 1;
getLustre()
public LustreReference getLustre()
Reference to a Managed Lustre instance. Populated if and only if the
storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1beta.LustreReference lustre = 3;
getLustreOrBuilder()
public LustreReferenceOrBuilder getLustreOrBuilder()
Reference to a Managed Lustre instance. Populated if and only if the
storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1beta.LustreReference lustre = 3;
getParserForType()
public Parser<StorageResource> getParserForType()
Overrides
getReferenceCase()
public StorageResource.ReferenceCase getReferenceCase()
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasBucket()
public boolean hasBucket()
Reference to a Google Cloud Storage bucket. Populated if and only if the
storage resource was configured to use Google Cloud Storage.
.google.cloud.hypercomputecluster.v1beta.BucketReference bucket = 2;
| Returns |
| Type |
Description |
boolean |
Whether the bucket field is set.
|
hasConfig()
public boolean hasConfig()
Required. Immutable. Configuration for this storage resource, which
describes how it should be created or imported. This field only controls
how the storage resource is initially created or imported. Subsequent
changes to the storage resource should be made via the resource's API and
will not be reflected in the configuration.
.google.cloud.hypercomputecluster.v1beta.StorageResourceConfig config = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
boolean |
Whether the config field is set.
|
hasFilestore()
public boolean hasFilestore()
Reference to a Filestore instance. Populated if and only if the storage
resource was configured to use Filestore.
.google.cloud.hypercomputecluster.v1beta.FilestoreReference filestore = 1;
| Returns |
| Type |
Description |
boolean |
Whether the filestore field is set.
|
hasLustre()
public boolean hasLustre()
Reference to a Managed Lustre instance. Populated if and only if the
storage resource was configured to use Managed Lustre.
.google.cloud.hypercomputecluster.v1beta.LustreReference lustre = 3;
| Returns |
| Type |
Description |
boolean |
Whether the lustre field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public StorageResource.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected StorageResource.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public StorageResource.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides