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:
  • 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:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public 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];
      Specified by:
      getName in interface InstanceOrBuilder
      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:
      getNameBytes in interface InstanceOrBuilder
      Returns:
      The bytes for name.
    • getDescription

      public String getDescription()
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Specified by:
      getDescription in interface InstanceOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       The description of the instance (2048 characters or less).
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface InstanceOrBuilder
      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:
      getStateValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

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

      public String getStatusMessage()
       Output only. Additional information about the instance state, if available.
       
      string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusMessage in interface InstanceOrBuilder
      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:
      getStatusMessageBytes in interface InstanceOrBuilder
      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:
      hasCreateTime in interface InstanceOrBuilder
      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:
      getCreateTime in interface InstanceOrBuilder
      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:
      getCreateTimeOrBuilder in interface InstanceOrBuilder
    • getTierValue

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

      public Instance.Tier getTier()
       The service tier of the instance.
       
      .google.cloud.filestore.v1beta1.Instance.Tier tier = 8;
      Specified by:
      getTier in interface InstanceOrBuilder
      Returns:
      The tier.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: InstanceOrBuilder
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsCount in interface InstanceOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      Specified by:
      containsLabels in interface InstanceOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface InstanceOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsMap in interface InstanceOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsOrDefault in interface InstanceOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Resource labels to represent user provided metadata.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsOrThrow in interface InstanceOrBuilder
    • getFileSharesList

      public 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;
      Specified by:
      getFileSharesList in interface InstanceOrBuilder
    • getFileSharesOrBuilderList

      public 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;
      Specified by:
      getFileSharesOrBuilderList in interface InstanceOrBuilder
    • getFileSharesCount

      public 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;
      Specified by:
      getFileSharesCount in interface InstanceOrBuilder
    • getFileShares

      public 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;
      Specified by:
      getFileShares in interface InstanceOrBuilder
    • getFileSharesOrBuilder

      public 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;
      Specified by:
      getFileSharesOrBuilder in interface InstanceOrBuilder
    • getNetworksList

      public 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;
      Specified by:
      getNetworksList in interface InstanceOrBuilder
    • getNetworksOrBuilderList

      public 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;
      Specified by:
      getNetworksOrBuilderList in interface InstanceOrBuilder
    • 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:
      getNetworksCount in interface InstanceOrBuilder
    • getNetworks

      public 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;
      Specified by:
      getNetworks in interface InstanceOrBuilder
    • getNetworksOrBuilder

      public 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;
      Specified by:
      getNetworksOrBuilder in interface InstanceOrBuilder
    • getEtag

      public String getEtag()
       Server-specified ETag for the instance resource to prevent simultaneous
       updates from overwriting each other.
       
      string etag = 12;
      Specified by:
      getEtag in interface InstanceOrBuilder
      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:
      getEtagBytes in interface InstanceOrBuilder
      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:
      hasSatisfiesPzs in interface InstanceOrBuilder
      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:
      getSatisfiesPzs in interface InstanceOrBuilder
      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:
      getSatisfiesPzsOrBuilder in interface InstanceOrBuilder
    • getSatisfiesPzi

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

      public String getKmsKeyName()
       KMS key name used for data encryption.
       
      string kms_key_name = 14;
      Specified by:
      getKmsKeyName in interface InstanceOrBuilder
      Returns:
      The kmsKeyName.
    • getKmsKeyNameBytes

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

      public 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];
      Specified by:
      getSuspensionReasonsList in interface InstanceOrBuilder
      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:
      getSuspensionReasonsCount in interface InstanceOrBuilder
      Returns:
      The count of suspensionReasons.
    • getSuspensionReasons

      public 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];
      Specified by:
      getSuspensionReasons in interface InstanceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The suspensionReasons at the given index.
    • getSuspensionReasonsValueList

      public 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];
      Specified by:
      getSuspensionReasonsValueList in interface InstanceOrBuilder
      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:
      getSuspensionReasonsValue in interface InstanceOrBuilder
      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:
      getMaxCapacityGb in interface InstanceOrBuilder
      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:
      getCapacityStepSizeGb in interface InstanceOrBuilder
      Returns:
      The capacityStepSizeGb.
    • getMaxShareCount

      public long getMaxShareCount()
       The max number of shares allowed.
       
      int64 max_share_count = 18;
      Specified by:
      getMaxShareCount in interface InstanceOrBuilder
      Returns:
      The maxShareCount.
    • 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:
      getCapacityGb in interface InstanceOrBuilder
      Returns:
      The capacityGb.
    • getMultiShareEnabled

      public 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;
      Specified by:
      getMultiShareEnabled in interface InstanceOrBuilder
      Returns:
      The multiShareEnabled.
    • 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:
      getProtocolValue in interface InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for protocol.
    • getProtocol

      public 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];
      Specified by:
      getProtocol in interface InstanceOrBuilder
      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:
      hasDirectoryServices in interface InstanceOrBuilder
      Returns:
      Whether the directoryServices field is set.
    • getDirectoryServices

      public 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];
      Specified by:
      getDirectoryServices in interface InstanceOrBuilder
      Returns:
      The directoryServices.
    • getDirectoryServicesOrBuilder

      public 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];
      Specified by:
      getDirectoryServicesOrBuilder in interface InstanceOrBuilder
    • hasReplication

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

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

      public ReplicationOrBuilder getReplicationOrBuilder()
       Optional. Replication configuration.
       
      .google.cloud.filestore.v1beta1.Replication replication = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReplicationOrBuilder in interface InstanceOrBuilder
    • getTagsCount

      public int getTagsCount()
      Description copied from interface: InstanceOrBuilder
       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:
      getTagsCount in interface InstanceOrBuilder
    • containsTags

      public 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];
      Specified by:
      containsTags in interface InstanceOrBuilder
    • getTags

      @Deprecated public Map<String,String> getTags()
      Deprecated.
      Use getTagsMap() instead.
      Specified by:
      getTags in interface InstanceOrBuilder
    • getTagsMap

      public 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];
      Specified by:
      getTagsMap in interface InstanceOrBuilder
    • getTagsOrDefault

      public 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];
      Specified by:
      getTagsOrDefault in interface InstanceOrBuilder
    • getTagsOrThrow

      public 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];
      Specified by:
      getTagsOrThrow in interface InstanceOrBuilder
    • 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:
      getCustomPerformanceSupported in interface InstanceOrBuilder
      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:
      hasPerformanceConfig in interface InstanceOrBuilder
      Returns:
      Whether the performanceConfig field is set.
    • getPerformanceConfig

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

      public Instance.PerformanceConfigOrBuilder getPerformanceConfigOrBuilder()
       Optional. Used to configure performance.
       
      .google.cloud.filestore.v1beta1.Instance.PerformanceConfig performance_config = 29 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPerformanceConfigOrBuilder in interface InstanceOrBuilder
    • 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:
      hasPerformanceLimits in interface InstanceOrBuilder
      Returns:
      Whether the performanceLimits field is set.
    • getPerformanceLimits

      public 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];
      Specified by:
      getPerformanceLimits in interface InstanceOrBuilder
      Returns:
      The performanceLimits.
    • getPerformanceLimitsOrBuilder

      public 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];
      Specified by:
      getPerformanceLimitsOrBuilder in interface InstanceOrBuilder
    • 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:
      getDeletionProtectionEnabled in interface InstanceOrBuilder
      Returns:
      The deletionProtectionEnabled.
    • getDeletionProtectionReason

      public String getDeletionProtectionReason()
       Optional. The reason for enabling deletion protection.
       
      string deletion_protection_reason = 32 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDeletionProtectionReason in interface InstanceOrBuilder
      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:
      getDeletionProtectionReasonBytes in interface InstanceOrBuilder
      Returns:
      The bytes for deletionProtectionReason.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Instance parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Instance parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Instance.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Instance.Builder newBuilder()
    • newBuilder

      public static Instance.Builder newBuilder(Instance prototype)
    • toBuilder

      public Instance.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Instance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Instance getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Instance> parser()
    • getParserForType

      public com.google.protobuf.Parser<Instance> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Instance getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder