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

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

      boolean hasCreateTime()
       Output only. [Output only] Create time stamp
       
      .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. [Output only] Create time stamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. [Output only] Create time stamp
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. [Output only] Update time stamp
       
      .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. [Output only] Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. [Output only] Update time stamp
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLabelsCount

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

      boolean containsLabels(String key)
       Optional. Labels as key value pairs
       
      map<string, string> labels = 4 [(.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 = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

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

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

      int getStateValue()
       Output only. The state of the VM.
       
      .google.cloud.licensemanager.v1.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 state of the VM.
       
      .google.cloud.licensemanager.v1.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getRegion

      String getRegion()
       Output only. The location of the VM.
       
      string region = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The region.
    • getRegionBytes

      com.google.protobuf.ByteString getRegionBytes()
       Output only. The location of the VM.
       
      string region = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for region.
    • getProductActivationCount

      int getProductActivationCount()
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • containsProductActivation

      boolean containsProductActivation(String key)
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProductActivation

      @Deprecated Map<String,ActivationState> getProductActivation()
      Deprecated.
    • getProductActivationMap

      Map<String,ActivationState> getProductActivationMap()
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProductActivationOrDefault

      ActivationState getProductActivationOrDefault(String key, ActivationState defaultValue)
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProductActivationOrThrow

      ActivationState getProductActivationOrThrow(String key)
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProductActivationValue

      @Deprecated Map<String,Integer> getProductActivationValue()
      Deprecated.
    • getProductActivationValueMap

      Map<String,Integer> getProductActivationValueMap()
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProductActivationValueOrDefault

      int getProductActivationValueOrDefault(String key, int defaultValue)
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProductActivationValueOrThrow

      int getProductActivationValueOrThrow(String key)
       Output only. Map with Product_Name and Activation State of the VM.
       
      map<string, .google.cloud.licensemanager.v1.ActivationState> product_activation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLicenseVersionId

      String getLicenseVersionId()
       Output only. license version id.
       
      string license_version_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The licenseVersionId.
    • getLicenseVersionIdBytes

      com.google.protobuf.ByteString getLicenseVersionIdBytes()
       Output only. license version id.
       
      string license_version_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for licenseVersionId.
    • getComputeInstance

      String getComputeInstance()
       Required. Compute Instance resource name, i.e.
       projects/{project}/zones/{zone}/instances/{instance}
       
      string compute_instance = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The computeInstance.
    • getComputeInstanceBytes

      com.google.protobuf.ByteString getComputeInstanceBytes()
       Required. Compute Instance resource name, i.e.
       projects/{project}/zones/{zone}/instances/{instance}
       
      string compute_instance = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for computeInstance.