Class Instance
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.filestore.v1beta1.Instance
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Instance
extends com.google.protobuf.GeneratedMessage
implements InstanceOrBuilder
A Filestore instance.Protobuf type
google.cloud.filestore.v1beta1.Instance- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Filestore instance.static enumFile access protocol.static final classFixed IOPS (input/output operations per second) parameters.static interfacestatic final classIOPS per TB.static interfacestatic final classUsed for setting the performance configuration.static interfacestatic final classThe enforced performance limits, calculated from the instance's performance configuration.static interfacestatic enumThe instance state.static enumSuspensionReason contains the possible reasons for a suspension.static enumAvailable service tiers.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Resource labels to represent user provided metadata.booleancontainsTags(String key) Optional.booleanlongThe storage capacity of the instance in gigabytes (GB = 1024^3 bytes).longOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.static InstancebooleanOptional.Optional.com.google.protobuf.ByteStringOptional.The description of the instance (2048 characters or less).com.google.protobuf.ByteStringThe description of the instance (2048 characters or less).static final com.google.protobuf.Descriptors.DescriptorOptional.Optional.getEtag()Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.com.google.protobuf.ByteStringServer-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.getFileShares(int index) File system shares on the instance.intFile system shares on the instance.File system shares on the instance.getFileSharesOrBuilder(int index) File system shares on the instance.List<? extends FileShareConfigOrBuilder>File system shares on the instance.KMS key name used for data encryption.com.google.protobuf.ByteStringKMS key name used for data encryption.Deprecated.intResource labels to represent user provided metadata.Resource labels to represent user provided metadata.getLabelsOrDefault(String key, String defaultValue) Resource labels to represent user provided metadata.getLabelsOrThrow(String key) Resource labels to represent user provided metadata.longOutput only.longThe max number of shares allowed.booleanIndicates whether this instance uses a multi-share configuration with which it can have more than one file-share or none at all.getName()Output only.com.google.protobuf.ByteStringOutput only.getNetworks(int index) VPC networks to which the instance is connected.intVPC networks to which the instance is connected.VPC networks to which the instance is connected.getNetworksOrBuilder(int index) VPC networks to which the instance is connected.List<? extends NetworkConfigOrBuilder>VPC networks to which the instance is connected.com.google.protobuf.Parser<Instance>Optional.Optional.Output only.Output only.Immutable.intImmutable.Optional.Optional.booleanOutput only.com.google.protobuf.BoolValueOutput only.com.google.protobuf.BoolValueOrBuilderOutput only.intgetState()Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.getSuspensionReasons(int index) Output only.intOutput only.Output only.intgetSuspensionReasonsValue(int index) Output only.Output only.getTags()Deprecated.intOptional.Optional.getTagsOrDefault(String key, String defaultValue) Optional.getTagsOrThrow(String key) Optional.getTier()The service tier of the instance.intThe service tier of the instance.booleanOutput only.booleanOptional.inthashCode()booleanOptional.booleanOutput only.booleanOptional.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Instance.Builderstatic Instance.BuildernewBuilder(Instance prototype) protected Instance.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InstanceparseDelimitedFrom(InputStream input) static InstanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(byte[] data) static InstanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(com.google.protobuf.ByteString data) static InstanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(com.google.protobuf.CodedInputStream input) static InstanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(InputStream input) static InstanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstanceparseFrom(ByteBuffer data) static InstanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Instance>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
TIER_FIELD_NUMBER
public static final int TIER_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
FILE_SHARES_FIELD_NUMBER
public static final int FILE_SHARES_FIELD_NUMBER- See Also:
-
NETWORKS_FIELD_NUMBER
public static final int NETWORKS_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER- See Also:
-
SATISFIES_PZI_FIELD_NUMBER
public static final int SATISFIES_PZI_FIELD_NUMBER- See Also:
-
KMS_KEY_NAME_FIELD_NUMBER
public static final int KMS_KEY_NAME_FIELD_NUMBER- See Also:
-
SUSPENSION_REASONS_FIELD_NUMBER
public static final int SUSPENSION_REASONS_FIELD_NUMBER- See Also:
-
MAX_CAPACITY_GB_FIELD_NUMBER
public static final int MAX_CAPACITY_GB_FIELD_NUMBER- See Also:
-
CAPACITY_STEP_SIZE_GB_FIELD_NUMBER
public static final int CAPACITY_STEP_SIZE_GB_FIELD_NUMBER- See Also:
-
MAX_SHARE_COUNT_FIELD_NUMBER
public static final int MAX_SHARE_COUNT_FIELD_NUMBER- See Also:
-
CAPACITY_GB_FIELD_NUMBER
public static final int CAPACITY_GB_FIELD_NUMBER- See Also:
-
MULTI_SHARE_ENABLED_FIELD_NUMBER
public static final int MULTI_SHARE_ENABLED_FIELD_NUMBER- See Also:
-
PROTOCOL_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER- See Also:
-
DIRECTORY_SERVICES_FIELD_NUMBER
public static final int DIRECTORY_SERVICES_FIELD_NUMBER- See Also:
-
REPLICATION_FIELD_NUMBER
public static final int REPLICATION_FIELD_NUMBER- See Also:
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER- See Also:
-
CUSTOM_PERFORMANCE_SUPPORTED_FIELD_NUMBER
public static final int CUSTOM_PERFORMANCE_SUPPORTED_FIELD_NUMBER- See Also:
-
PERFORMANCE_CONFIG_FIELD_NUMBER
public static final int PERFORMANCE_CONFIG_FIELD_NUMBER- See Also:
-
PERFORMANCE_LIMITS_FIELD_NUMBER
public static final int PERFORMANCE_LIMITS_FIELD_NUMBER- See Also:
-
DELETION_PROTECTION_ENABLED_FIELD_NUMBER
public static final int DELETION_PROTECTION_ENABLED_FIELD_NUMBER- See Also:
-
DELETION_PROTECTION_REASON_FIELD_NUMBER
public static final int DELETION_PROTECTION_REASON_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Output only. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the instance, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
getDescription
The description of the instance (2048 characters or less).
string description = 2;- Specified by:
getDescriptionin interfaceInstanceOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the instance (2048 characters or less).
string description = 2;- Specified by:
getDescriptionBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for description.
-
getStateValue
public int getStateValue()Output only. The instance state.
.google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The instance state.
.google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceInstanceOrBuilder- Returns:
- The state.
-
getStatusMessage
Output only. Additional information about the instance state, if available.
string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusMessagein interfaceInstanceOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()Output only. Additional information about the instance state, if available.
string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusMessageBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for statusMessage.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceInstanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceInstanceOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time when the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceInstanceOrBuilder
-
getTierValue
public int getTierValue()The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;- Specified by:
getTierValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for tier.
-
getTier
The service tier of the instance.
.google.cloud.filestore.v1beta1.Instance.Tier tier = 8;- Specified by:
getTierin interfaceInstanceOrBuilder- Returns:
- The tier.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:InstanceOrBuilderResource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
Resource labels to represent user provided metadata.
map<string, string> labels = 9;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
getNetworksList
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksListin interfaceInstanceOrBuilder
-
getNetworksOrBuilderList
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksOrBuilderListin interfaceInstanceOrBuilder
-
getNetworksCount
public int getNetworksCount()VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksCountin interfaceInstanceOrBuilder
-
getNetworks
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksin interfaceInstanceOrBuilder
-
getNetworksOrBuilder
VPC networks to which the instance is connected. For this version, only a single network is supported.
repeated .google.cloud.filestore.v1beta1.NetworkConfig networks = 11;- Specified by:
getNetworksOrBuilderin interfaceInstanceOrBuilder
-
getEtag
Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
string etag = 12;- Specified by:
getEtagin interfaceInstanceOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other.
string etag = 12;- Specified by:
getEtagBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for etag.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasSatisfiesPzsin interfaceInstanceOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public com.google.protobuf.BoolValue getSatisfiesPzs()Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceInstanceOrBuilder- Returns:
- The satisfiesPzs.
-
getSatisfiesPzsOrBuilder
public com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder()Output only. Reserved for future use.
.google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsOrBuilderin interfaceInstanceOrBuilder
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use.
bool satisfies_pzi = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceInstanceOrBuilder- Returns:
- The satisfiesPzi.
-
getKmsKeyName
KMS key name used for data encryption.
string kms_key_name = 14;- Specified by:
getKmsKeyNamein interfaceInstanceOrBuilder- Returns:
- The kmsKeyName.
-
getKmsKeyNameBytes
public com.google.protobuf.ByteString getKmsKeyNameBytes()KMS key name used for data encryption.
string kms_key_name = 14;- Specified by:
getKmsKeyNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for kmsKeyName.
-
getSuspensionReasonsList
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsListin interfaceInstanceOrBuilder- Returns:
- A list containing the suspensionReasons.
-
getSuspensionReasonsCount
public int getSuspensionReasonsCount()Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsCountin interfaceInstanceOrBuilder- Returns:
- The count of suspensionReasons.
-
getSuspensionReasons
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsin interfaceInstanceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The suspensionReasons at the given index.
-
getSuspensionReasonsValueList
Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsValueListin interfaceInstanceOrBuilder- Returns:
- A list containing the enum numeric values on the wire for suspensionReasons.
-
getSuspensionReasonsValue
public int getSuspensionReasonsValue(int index) Output only. Field indicates all the reasons the instance is in "SUSPENDED" state.
repeated .google.cloud.filestore.v1beta1.Instance.SuspensionReason suspension_reasons = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSuspensionReasonsValuein interfaceInstanceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of suspensionReasons at the given index.
-
getMaxCapacityGb
public long getMaxCapacityGb()Output only. The max capacity of the instance.
int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMaxCapacityGbin interfaceInstanceOrBuilder- Returns:
- The maxCapacityGb.
-
getCapacityStepSizeGb
public long getCapacityStepSizeGb()Output only. The increase/decrease capacity step size.
int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCapacityStepSizeGbin interfaceInstanceOrBuilder- Returns:
- The capacityStepSizeGb.
-
getCapacityGb
public long getCapacityGb()The storage capacity of the instance in gigabytes (GB = 1024^3 bytes). This capacity can be increased up to `max_capacity_gb` GB in multipliers of `capacity_step_size_gb` GB.
int64 capacity_gb = 19;- Specified by:
getCapacityGbin interfaceInstanceOrBuilder- Returns:
- The capacityGb.
-
getProtocolValue
public int getProtocolValue()Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`.
.google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getProtocolValuein interfaceInstanceOrBuilder- Returns:
- The enum numeric value on the wire for protocol.
-
getProtocol
Immutable. The protocol indicates the access protocol for all shares in the instance. This field is immutable and it cannot be changed after the instance has been created. Default value: `NFS_V3`.
.google.cloud.filestore.v1beta1.Instance.FileProtocol protocol = 21 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getProtocolin interfaceInstanceOrBuilder- Returns:
- The protocol.
-
hasDirectoryServices
public boolean hasDirectoryServices()Optional. Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".
.google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDirectoryServicesin interfaceInstanceOrBuilder- Returns:
- Whether the directoryServices field is set.
-
getDirectoryServices
Optional. Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".
.google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDirectoryServicesin interfaceInstanceOrBuilder- Returns:
- The directoryServices.
-
getDirectoryServicesOrBuilder
Optional. Directory Services configuration for Kerberos-based authentication. Should only be set if protocol is "NFS_V4_1".
.google.cloud.filestore.v1beta1.DirectoryServicesConfig directory_services = 24 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDirectoryServicesOrBuilderin interfaceInstanceOrBuilder
-
hasReplication
public boolean hasReplication()Optional. Replication configuration.
.google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasReplicationin interfaceInstanceOrBuilder- Returns:
- Whether the replication field is set.
-
getReplication
Optional. Replication configuration.
.google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReplicationin interfaceInstanceOrBuilder- Returns:
- The replication.
-
getReplicationOrBuilder
Optional. Replication configuration.
.google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReplicationOrBuilderin interfaceInstanceOrBuilder
-
getTagsCount
public int getTagsCount()Description copied from interface:InstanceOrBuilderOptional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsCountin interfaceInstanceOrBuilder
-
containsTags
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
containsTagsin interfaceInstanceOrBuilder
-
getTags
Deprecated.UsegetTagsMap()instead.- Specified by:
getTagsin interfaceInstanceOrBuilder
-
getTagsMap
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsMapin interfaceInstanceOrBuilder
-
getTagsOrDefault
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsOrDefaultin interfaceInstanceOrBuilder
-
getTagsOrThrow
Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
map<string, string> tags = 27 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getTagsOrThrowin interfaceInstanceOrBuilder
-
getCustomPerformanceSupported
public boolean getCustomPerformanceSupported()Output only. Indicates whether this instance supports configuring its performance. If true, the user can configure the instance's performance by using the 'performance_config' field.
bool custom_performance_supported = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCustomPerformanceSupportedin interfaceInstanceOrBuilder- Returns:
- The customPerformanceSupported.
-
hasPerformanceConfig
public boolean hasPerformanceConfig()Optional. Used to configure performance.
.google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasPerformanceConfigin interfaceInstanceOrBuilder- Returns:
- Whether the performanceConfig field is set.
-
getPerformanceConfig
Optional. Used to configure performance.
.google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPerformanceConfigin interfaceInstanceOrBuilder- Returns:
- The performanceConfig.
-
getPerformanceConfigOrBuilder
Optional. Used to configure performance.
.google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPerformanceConfigOrBuilderin interfaceInstanceOrBuilder
-
hasPerformanceLimits
public boolean hasPerformanceLimits()Output only. Used for getting performance limits.
.google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPerformanceLimitsin interfaceInstanceOrBuilder- Returns:
- Whether the performanceLimits field is set.
-
getPerformanceLimits
Output only. Used for getting performance limits.
.google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceLimitsin interfaceInstanceOrBuilder- Returns:
- The performanceLimits.
-
getPerformanceLimitsOrBuilder
Output only. Used for getting performance limits.
.google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPerformanceLimitsOrBuilderin interfaceInstanceOrBuilder
-
getDeletionProtectionEnabled
public boolean getDeletionProtectionEnabled()Optional. Indicates whether the instance is protected against deletion.
bool deletion_protection_enabled = 31 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeletionProtectionEnabledin interfaceInstanceOrBuilder- Returns:
- The deletionProtectionEnabled.
-
getDeletionProtectionReason
Optional. The reason for enabling deletion protection.
string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeletionProtectionReasonin interfaceInstanceOrBuilder- Returns:
- The deletionProtectionReason.
-
getDeletionProtectionReasonBytes
public com.google.protobuf.ByteString getDeletionProtectionReasonBytes()Optional. The reason for enabling deletion protection.
string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeletionProtectionReasonBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for deletionProtectionReason.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-