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()
       Identifier. The name of the instance.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the instance.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getFilesystem

      String getFilesystem()
       Required. Immutable. The filesystem name for this instance. This name is
       used by client-side tools, including when mounting the instance. Must be
       eight characters or less and can only contain letters and numbers.
       
      string filesystem = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Returns:
      The filesystem.
    • getFilesystemBytes

      com.google.protobuf.ByteString getFilesystemBytes()
       Required. Immutable. The filesystem name for this instance. This name is
       used by client-side tools, including when mounting the instance. Must be
       eight characters or less and can only contain letters and numbers.
       
      string filesystem = 10 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for filesystem.
    • getCapacityGib

      long getCapacityGib()
       Required. The storage capacity of the instance in gibibytes (GiB). Allowed
       values are from `18000` to `954000`, in increments of 9000.
       
      int64 capacity_gib = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The capacityGib.
    • getNetwork

      String getNetwork()
       Required. Immutable. The full name of the VPC network to which the instance
       is connected. Must be in the format
       `projects/{project_id}/global/networks/{network_name}`.
       
      string network = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The network.
    • getNetworkBytes

      com.google.protobuf.ByteString getNetworkBytes()
       Required. Immutable. The full name of the VPC network to which the instance
       is connected. Must be in the format
       `projects/{project_id}/global/networks/{network_name}`.
       
      string network = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for network.
    • getStateValue

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

      Instance.State getState()
       Output only. The state of the instance.
       
      .google.cloud.lustre.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getMountPoint

      String getMountPoint()
       Output only. Mount point of the instance in the format
       `IP_ADDRESS@tcp:/FILESYSTEM`.
       
      string mount_point = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The mountPoint.
    • getMountPointBytes

      com.google.protobuf.ByteString getMountPointBytes()
       Output only. Mount point of the instance in the format
       `IP_ADDRESS@tcp:/FILESYSTEM`.
       
      string mount_point = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for mountPoint.
    • hasCreateTime

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

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when the instance was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when the instance was created.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Timestamp when the instance was last updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when the instance was last updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when the instance was last updated.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getDescription

      String getDescription()
       Optional. A user-readable description of the instance.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. A user-readable description of the instance.
       
      string description = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • getLabelsCount

      int getLabelsCount()
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Labels as key value pairs.
       
      map<string, string> labels = 9 [(.google.api.field_behavior) = OPTIONAL];
    • getPerUnitStorageThroughput

      long getPerUnitStorageThroughput()
       Required. The throughput of the instance in MB/s/TiB.
       Valid values are 125, 250, 500, 1000.
       
      int64 per_unit_storage_throughput = 11 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The perUnitStorageThroughput.
    • getGkeSupportEnabled

      @Deprecated boolean getGkeSupportEnabled()
      Deprecated.
      google.cloud.lustre.v1.Instance.gke_support_enabled is deprecated. See google/cloud/lustre/v1/instance.proto;l=118
       Optional. Indicates whether you want to enable support for GKE clients. By
       default, GKE clients are not supported. Deprecated. No longer required for
       GKE instance creation.
       
      bool gke_support_enabled = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The gkeSupportEnabled.