Interface TargetAttributeOrBuilder

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

@Generated public interface TargetAttributeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Target labels.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Deprecated.
    int
    Target labels.
    Target labels.
    getLabelsOrDefault(String key, String defaultValue)
    Target labels.
    Target labels.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getId

      String getId()
       Optional. ID of the `Target`. The value of this field could be one of the
       following:
      
       * The last segment of a target name
       * "*", all targets in a location
       
      string id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Optional. ID of the `Target`. The value of this field could be one of the
       following:
      
       * The last segment of a target name
       * "*", all targets in a location
       
      string id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for id.
    • getLabelsCount

      int getLabelsCount()
       Target labels.
       
      map<string, string> labels = 2;
    • containsLabels

      boolean containsLabels(String key)
       Target labels.
       
      map<string, string> labels = 2;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Target labels.
       
      map<string, string> labels = 2;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Target labels.
       
      map<string, string> labels = 2;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Target labels.
       
      map<string, string> labels = 2;