Interface VariantOrBuilder

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

@Generated public interface VariantOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getLabelsCount

      int getLabelsCount()
       Optional. labels to represent any metadata associated with the variant.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. labels to represent any metadata associated with the variant.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. labels to represent any metadata associated with the variant.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. labels to represent any metadata associated with the variant.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. labels to represent any metadata associated with the variant.
       
      map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getResourcesList

      List<String> getResourcesList()
       Required. Input only. Unordered list. resources contain the kubernetes
       manifests (YAMLs) for this variant.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      A list containing the resources.
    • getResourcesCount

      int getResourcesCount()
       Required. Input only. Unordered list. resources contain the kubernetes
       manifests (YAMLs) for this variant.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];
      Returns:
      The count of resources.
    • getResources

      String getResources(int index)
       Required. Input only. Unordered list. resources contain the kubernetes
       manifests (YAMLs) for this variant.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];
      Parameters:
      index - The index of the element to return.
      Returns:
      The resources at the given index.
    • getResourcesBytes

      com.google.protobuf.ByteString getResourcesBytes(int index)
       Required. Input only. Unordered list. resources contain the kubernetes
       manifests (YAMLs) for this variant.
       
      repeated string resources = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = INPUT_ONLY];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the resources at the given index.
    • getName

      String getName()
       Identifier. Name follows format of
       projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}
       
      string name = 3 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Name follows format of
       projects/{project}/locations/{location}/resourceBundles/{resource_bundle}/releases/{release}/variants/{variant}
       
      string name = 3 [(.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 = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. [Output only] Update time stamp
       
      .google.protobuf.Timestamp update_time = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];