Interface InstanceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Instance, Instance.Builder

@Generated public interface InstanceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String 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];
      Returns:
      The name.
    • getNameBytes

      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];
      Returns:
      The bytes for name.
    • getDescription

      String getDescription()
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Returns:
      The bytes for description.
    • getStateValue

      int getStateValue()
       Output only. The instance state.
       
      .google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      Instance.State getState()
       Output only. The instance state.
       
      .google.cloud.filestore.v1beta1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getStatusMessage

      String getStatusMessage()
       Output only. Additional information about the instance state, if available.
       
      string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The statusMessage.
    • getStatusMessageBytes

      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];
      Returns:
      The bytes for statusMessage.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The time when the instance was created.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      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];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      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];
    • getTierValue

      int getTierValue()
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Returns:
      The enum numeric value on the wire for tier.
    • getTier

      Instance.Tier getTier()
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Returns:
      The tier.
    • getLabelsCount

      int getLabelsCount()
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
    • containsLabels

      boolean containsLabels(String key)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
    • getFileSharesList

      List<FileShareConfig> getFileSharesList()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getFileShares

      FileShareConfig getFileShares(int index)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getFileSharesCount

      int getFileSharesCount()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getFileSharesOrBuilderList

      List<? extends FileShareConfigOrBuilder> getFileSharesOrBuilderList()
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getFileSharesOrBuilder

      FileShareConfigOrBuilder getFileSharesOrBuilder(int index)
       File system shares on the instance.
       For this version, only a single file share is supported.
       
      repeated .google.cloud.filestore.v1beta1.FileShareConfig file_shares = 10;
    • getNetworksList

      List<NetworkConfig> 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;
    • getNetworks

      NetworkConfig getNetworks(int index)
       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;
    • getNetworksCount

      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;
    • getNetworksOrBuilderList

      List<? extends NetworkConfigOrBuilder> 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;
    • getNetworksOrBuilder

      NetworkConfigOrBuilder getNetworksOrBuilder(int index)
       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;
    • getEtag

      String getEtag()
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Returns:
      The bytes for etag.
    • hasSatisfiesPzs

      boolean hasSatisfiesPzs()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the satisfiesPzs field is set.
    • getSatisfiesPzs

      com.google.protobuf.BoolValue getSatisfiesPzs()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The satisfiesPzs.
    • getSatisfiesPzsOrBuilder

      com.google.protobuf.BoolValueOrBuilder getSatisfiesPzsOrBuilder()
       Output only. Reserved for future use.
       
      .google.protobuf.BoolValue satisfies_pzs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getSatisfiesPzi

      boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The satisfiesPzi.
    • getKmsKeyName

      String getKmsKeyName()
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Returns:
      The kmsKeyName.
    • getKmsKeyNameBytes

      com.google.protobuf.ByteString getKmsKeyNameBytes()
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Returns:
      The bytes for kmsKeyName.
    • getSuspensionReasonsList

      List<Instance.SuspensionReason> 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];
      Returns:
      A list containing the suspensionReasons.
    • getSuspensionReasonsCount

      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];
      Returns:
      The count of suspensionReasons.
    • getSuspensionReasons

      Instance.SuspensionReason getSuspensionReasons(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];
      Parameters:
      index - The index of the element to return.
      Returns:
      The suspensionReasons at the given index.
    • getSuspensionReasonsValueList

      List<Integer> 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];
      Returns:
      A list containing the enum numeric values on the wire for suspensionReasons.
    • getSuspensionReasonsValue

      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];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of suspensionReasons at the given index.
    • getMaxCapacityGb

      long getMaxCapacityGb()
       Output only. The max capacity of the instance.
       
      int64 max_capacity_gb = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The maxCapacityGb.
    • getCapacityStepSizeGb

      long getCapacityStepSizeGb()
       Output only. The increase/decrease capacity step size.
       
      int64 capacity_step_size_gb = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The capacityStepSizeGb.
    • getMaxShareCount

      long getMaxShareCount()
       The max number of shares allowed.
       
      int64 max_share_count = 18;
      Returns:
      The maxShareCount.
    • getCapacityGb

      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;
      Returns:
      The capacityGb.
    • getMultiShareEnabled

      boolean getMultiShareEnabled()
       Indicates whether this instance uses a multi-share configuration with which
       it can have more than one file-share or none at all. File-shares are added,
       updated and removed through the separate file-share APIs.
       
      bool multi_share_enabled = 20;
      Returns:
      The multiShareEnabled.
    • getProtocolValue

      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];
      Returns:
      The enum numeric value on the wire for protocol.
    • getProtocol

      Instance.FileProtocol 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];
      Returns:
      The protocol.
    • hasDirectoryServices

      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];
      Returns:
      Whether the directoryServices field is set.
    • getDirectoryServices

      DirectoryServicesConfig 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];
      Returns:
      The directoryServices.
    • getDirectoryServicesOrBuilder

      DirectoryServicesConfigOrBuilder 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];
    • hasReplication

      boolean hasReplication()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the replication field is set.
    • getReplication

      Replication getReplication()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The replication.
    • getReplicationOrBuilder

      ReplicationOrBuilder getReplicationOrBuilder()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
    • getTagsCount

      int getTagsCount()
       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];
    • containsTags

      boolean containsTags(String key)
       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];
    • getTags

      Deprecated.
      Use getTagsMap() instead.
    • getTagsMap

      Map<String,String> 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];
    • getTagsOrDefault

      String getTagsOrDefault(String key, String defaultValue)
       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];
    • getTagsOrThrow

      String getTagsOrThrow(String key)
       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];
    • getCustomPerformanceSupported

      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];
      Returns:
      The customPerformanceSupported.
    • hasPerformanceConfig

      boolean hasPerformanceConfig()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the performanceConfig field is set.
    • getPerformanceConfig

      Instance.PerformanceConfig getPerformanceConfig()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The performanceConfig.
    • getPerformanceConfigOrBuilder

      Instance.PerformanceConfigOrBuilder getPerformanceConfigOrBuilder()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
    • hasPerformanceLimits

      boolean hasPerformanceLimits()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the performanceLimits field is set.
    • getPerformanceLimits

      Instance.PerformanceLimits getPerformanceLimits()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The performanceLimits.
    • getPerformanceLimitsOrBuilder

      Instance.PerformanceLimitsOrBuilder getPerformanceLimitsOrBuilder()
       Output only. Used for getting performance limits.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceLimits performance_limits = 30 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDeletionProtectionEnabled

      boolean getDeletionProtectionEnabled()
       Optional. Indicates whether the instance is protected against deletion.
       
      bool deletion_protection_enabled = 31 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deletionProtectionEnabled.
    • getDeletionProtectionReason

      String getDeletionProtectionReason()
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The deletionProtectionReason.
    • getDeletionProtectionReasonBytes

      com.google.protobuf.ByteString getDeletionProtectionReasonBytes()
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for deletionProtectionReason.