Interface CreateInstanceRequestOrBuilder

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

public interface CreateInstanceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasName

      boolean hasName()
       **Required.** The name of the instance.
       
      optional string name = 1;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       **Required.** The name of the instance.
       
      optional string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       **Required.** The name of the instance.
       
      optional string name = 1;
      Returns:
      The bytes for name.
    • hasTemplate

      boolean hasTemplate()
       **Required.** The name of the template for this instance.
       
      optional string template = 2;
      Returns:
      Whether the template field is set.
    • getTemplate

      String getTemplate()
       **Required.** The name of the template for this instance.
       
      optional string template = 2;
      Returns:
      The template.
    • getTemplateBytes

      com.google.protobuf.ByteString getTemplateBytes()
       **Required.** The name of the template for this instance.
       
      optional string template = 2;
      Returns:
      The bytes for template.
    • getTemplateArgsCount

      int getTemplateArgsCount()
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 3;
    • containsTemplateArgs

      boolean containsTemplateArgs(String key)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 3;
    • getTemplateArgs

      @Deprecated Map<String,String> getTemplateArgs()
      Deprecated.
    • getTemplateArgsMap

      Map<String,String> getTemplateArgsMap()
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 3;
    • getTemplateArgsOrDefault

      String getTemplateArgsOrDefault(String key, String defaultValue)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 3;
    • getTemplateArgsOrThrow

      String getTemplateArgsOrThrow(String key)
       Arguments for substitution in the template definition. Each entry is
       keyed by the argument name. The value must be a string.
       
      map<string, string> templateArgs = 3;
    • getLabelsCount

      int getLabelsCount()
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 4;
    • containsLabels

      boolean containsLabels(String key)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 4;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 4;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 4;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels assigned to this instance. Each entry is keyed by the tag name
       of the label. The value represent the label value for that tag.
       
      map<string, string> labels = 4;