Interface CustomAttributeOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getFilterable()
      If the `filterable` flag is true, the custom field values may be used for custom attribute filters [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
      boolean getKeywordSearchable()
      If the `keyword_searchable` flag is true, the keywords in custom fields are searchable by keyword match.
      long getLongValues​(int index)
      Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      int getLongValuesCount()
      Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      List<Long> getLongValuesList()
      Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      String getStringValues​(int index)
      Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      com.google.protobuf.ByteString getStringValuesBytes​(int index)
      Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      int getStringValuesCount()
      Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      List<String> getStringValuesList()
      Exactly one of [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values] or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] must be specified.
      • 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

      • getStringValuesList

        List<String> getStringValuesList()
         Exactly one of
         [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
         or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
         must be specified.
        
         This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
         `CASE_INSENSITIVE_MATCH`) search.
         For filterable `string_value`s, a maximum total number of 200 values
         is allowed, with each `string_value` has a byte size of no more than
         500B. For unfilterable `string_values`, the maximum total byte size of
         unfilterable `string_values` is 50KB.
        
         Empty string isn't allowed.
         
        repeated string string_values = 1;
        Returns:
        A list containing the stringValues.
      • getStringValuesCount

        int getStringValuesCount()
         Exactly one of
         [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
         or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
         must be specified.
        
         This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
         `CASE_INSENSITIVE_MATCH`) search.
         For filterable `string_value`s, a maximum total number of 200 values
         is allowed, with each `string_value` has a byte size of no more than
         500B. For unfilterable `string_values`, the maximum total byte size of
         unfilterable `string_values` is 50KB.
        
         Empty string isn't allowed.
         
        repeated string string_values = 1;
        Returns:
        The count of stringValues.
      • getStringValues

        String getStringValues​(int index)
         Exactly one of
         [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
         or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
         must be specified.
        
         This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
         `CASE_INSENSITIVE_MATCH`) search.
         For filterable `string_value`s, a maximum total number of 200 values
         is allowed, with each `string_value` has a byte size of no more than
         500B. For unfilterable `string_values`, the maximum total byte size of
         unfilterable `string_values` is 50KB.
        
         Empty string isn't allowed.
         
        repeated string string_values = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The stringValues at the given index.
      • getStringValuesBytes

        com.google.protobuf.ByteString getStringValuesBytes​(int index)
         Exactly one of
         [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
         or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
         must be specified.
        
         This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
         `CASE_INSENSITIVE_MATCH`) search.
         For filterable `string_value`s, a maximum total number of 200 values
         is allowed, with each `string_value` has a byte size of no more than
         500B. For unfilterable `string_values`, the maximum total byte size of
         unfilterable `string_values` is 50KB.
        
         Empty string isn't allowed.
         
        repeated string string_values = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the stringValues at the given index.
      • getLongValuesList

        List<Long> getLongValuesList()
         Exactly one of
         [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
         or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
         must be specified.
        
         This field is used to perform number range search.
         (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
        
         Currently at most 1
         [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is
         supported.
         
        repeated int64 long_values = 2;
        Returns:
        A list containing the longValues.
      • getLongValuesCount

        int getLongValuesCount()
         Exactly one of
         [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
         or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
         must be specified.
        
         This field is used to perform number range search.
         (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
        
         Currently at most 1
         [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is
         supported.
         
        repeated int64 long_values = 2;
        Returns:
        The count of longValues.
      • getLongValues

        long getLongValues​(int index)
         Exactly one of
         [string_values][google.cloud.talent.v4beta1.CustomAttribute.string_values]
         or [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values]
         must be specified.
        
         This field is used to perform number range search.
         (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
        
         Currently at most 1
         [long_values][google.cloud.talent.v4beta1.CustomAttribute.long_values] is
         supported.
         
        repeated int64 long_values = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The longValues at the given index.
      • getFilterable

        boolean getFilterable()
         If the `filterable` flag is true, the custom field values may be used for
         custom attribute filters
         [JobQuery.custom_attribute_filter][google.cloud.talent.v4beta1.JobQuery.custom_attribute_filter].
         If false, these values may not be used for custom attribute filters.
        
         Default is false.
         
        bool filterable = 3;
        Returns:
        The filterable.
      • getKeywordSearchable

        boolean getKeywordSearchable()
         If the `keyword_searchable` flag is true, the keywords in custom fields are
         searchable by keyword match.
         If false, the values are not searchable by keyword match.
        
         Default is false.
         
        bool keyword_searchable = 4;
        Returns:
        The keywordSearchable.