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 full path to the Instance resource in this API.
       format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. The full path to the Instance resource in this API.
       format: `projects/{project}/locations/{location}/instances/{instance}`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for name.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Timestamp when the Instance was created.
       Assigned by the server.
       
      .google.protobuf.Timestamp create_time = 2 [(.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.
       Assigned by the server.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when the Instance was created.
       Assigned by the server.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Timestamp when the Instance was last updated.
       Assigned by the server.
       
      .google.protobuf.Timestamp update_time = 3 [(.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.
       Assigned by the server.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when the Instance was last updated.
       Assigned by the server.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStateValue

      int getStateValue()
       Output only. State of the instance.
       Assigned by the server.
       
      .google.cloud.financialservices.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. State of the instance.
       Assigned by the server.
       
      .google.cloud.financialservices.v1.Instance.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getLabelsCount

      int getLabelsCount()
       Labels
       
      map<string, string> labels = 5;
    • containsLabels

      boolean containsLabels(String key)
       Labels
       
      map<string, string> labels = 5;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels
       
      map<string, string> labels = 5;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels
       
      map<string, string> labels = 5;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels
       
      map<string, string> labels = 5;
    • getKmsKey

      String getKmsKey()
       Required. The KMS key name used for CMEK (encryption-at-rest).
       format:
       `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}`
       VPC-SC restrictions apply.
       
      string kms_key = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The kmsKey.
    • getKmsKeyBytes

      com.google.protobuf.ByteString getKmsKeyBytes()
       Required. The KMS key name used for CMEK (encryption-at-rest).
       format:
       `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}`
       VPC-SC restrictions apply.
       
      string kms_key = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for kmsKey.