Interface LabelDescriptorOrBuilder

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

    public interface LabelDescriptorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      A human-readable description for the label.
      com.google.protobuf.ByteString getDescriptionBytes()
      A human-readable description for the label.
      java.lang.String getKey()
      The label key.
      com.google.protobuf.ByteString getKeyBytes()
      The label key.
      LabelDescriptor.ValueType getValueType()
      The type of data that can be assigned to the label.
      int getValueTypeValue()
      The type of data that can be assigned to the label.
      • 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 Detail

      • getKey

        java.lang.String getKey()
         The label key.
         
        string key = 1;
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
         The label key.
         
        string key = 1;
        Returns:
        The bytes for key.
      • getValueTypeValue

        int getValueTypeValue()
         The type of data that can be assigned to the label.
         
        .google.api.LabelDescriptor.ValueType value_type = 2;
        Returns:
        The enum numeric value on the wire for valueType.
      • getValueType

        LabelDescriptor.ValueType getValueType()
         The type of data that can be assigned to the label.
         
        .google.api.LabelDescriptor.ValueType value_type = 2;
        Returns:
        The valueType.
      • getDescription

        java.lang.String getDescription()
         A human-readable description for the label.
         
        string description = 3;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         A human-readable description for the label.
         
        string description = 3;
        Returns:
        The bytes for description.