public final class NewFilestoreConfig extends GeneratedMessageV3 implements NewFilestoreConfigOrBuilder
When set in a
StorageResourceConfig,
indicates that a new Filestore instance
should be created.
Protobuf type google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig
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
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILESTORE_FIELD_NUMBER
public static final int FILESTORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILE_SHARES_FIELD_NUMBER
public static final int FILE_SHARES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static NewFilestoreConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NewFilestoreConfig.Builder newBuilder()
newBuilder(NewFilestoreConfig prototype)
public static NewFilestoreConfig.Builder newBuilder(NewFilestoreConfig prototype)
public static NewFilestoreConfig parseDelimitedFrom(InputStream input)
public static NewFilestoreConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NewFilestoreConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NewFilestoreConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NewFilestoreConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NewFilestoreConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NewFilestoreConfig parseFrom(CodedInputStream input)
public static NewFilestoreConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NewFilestoreConfig parseFrom(InputStream input)
public static NewFilestoreConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NewFilestoreConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NewFilestoreConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NewFilestoreConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public NewFilestoreConfig getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. Immutable. Description of the instance. Maximum of 2048
characters.
string description = 4 [(.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 instance. Maximum of 2048
characters.
string description = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getFileShares(int index)
public FileShareConfig getFileShares(int index)
Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.
repeated .google.cloud.hypercomputecluster.v1beta.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
index |
int
|
getFileSharesCount()
public int getFileSharesCount()
Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.
repeated .google.cloud.hypercomputecluster.v1beta.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
int |
|
getFileSharesList()
public List<FileShareConfig> getFileSharesList()
Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.
repeated .google.cloud.hypercomputecluster.v1beta.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getFileSharesOrBuilder(int index)
public FileShareConfigOrBuilder getFileSharesOrBuilder(int index)
Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.
repeated .google.cloud.hypercomputecluster.v1beta.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Parameter |
| Name |
Description |
index |
int
|
getFileSharesOrBuilderList()
public List<? extends FileShareConfigOrBuilder> getFileSharesOrBuilderList()
Required. Immutable. File system shares on the instance. Exactly one file
share must be specified.
repeated .google.cloud.hypercomputecluster.v1beta.FileShareConfig file_shares = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.hypercomputecluster.v1beta.FileShareConfigOrBuilder> |
|
getFilestore()
public String getFilestore()
Required. Immutable. Name of the Filestore instance to create, in the
format projects/{project}/locations/{location}/instances/{instance}
string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
String |
The filestore.
|
getFilestoreBytes()
public ByteString getFilestoreBytes()
Required. Immutable. Name of the Filestore instance to create, in the
format projects/{project}/locations/{location}/instances/{instance}
string filestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for filestore.
|
getParserForType()
public Parser<NewFilestoreConfig> getParserForType()
Overrides
getProtocol()
public NewFilestoreConfig.Protocol getProtocol()
Optional. Immutable. Access protocol to use for all file shares in the
instance. Defaults to NFS V3 if not set.
.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig.Protocol protocol = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
getProtocolValue()
public int getProtocolValue()
Optional. Immutable. Access protocol to use for all file shares in the
instance. Defaults to NFS V3 if not set.
.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig.Protocol protocol = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for protocol.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTier()
public NewFilestoreConfig.Tier getTier()
Required. Immutable. Service tier to use for the instance.
.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig.Tier tier = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getTierValue()
public int getTierValue()
Required. Immutable. Service tier to use for the instance.
.google.cloud.hypercomputecluster.v1beta.NewFilestoreConfig.Tier tier = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for tier.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NewFilestoreConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NewFilestoreConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public NewFilestoreConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides