Interface KeyValuePairHintOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
KeyValuePairHint,KeyValuePairHint.Builder
public interface KeyValuePairHintOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()The key text for the hint.com.google.protobuf.ByteStringgetKeyBytes()The key text for the hint.StringgetValueTypes(int index)Type of the value.com.google.protobuf.ByteStringgetValueTypesBytes(int index)Type of the value.intgetValueTypesCount()Type of the value.List<String>getValueTypesList()Type of the value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
String getKey()
The key text for the hint.
string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
The key text for the hint.
string key = 1;- Returns:
- The bytes for key.
-
getValueTypesList
List<String> getValueTypesList()
Type of the value. This is case-insensitive, and could be one of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will be ignored.
repeated string value_types = 2;- Returns:
- A list containing the valueTypes.
-
getValueTypesCount
int getValueTypesCount()
Type of the value. This is case-insensitive, and could be one of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will be ignored.
repeated string value_types = 2;- Returns:
- The count of valueTypes.
-
getValueTypes
String getValueTypes(int index)
Type of the value. This is case-insensitive, and could be one of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will be ignored.
repeated string value_types = 2;- Parameters:
index- The index of the element to return.- Returns:
- The valueTypes at the given index.
-
getValueTypesBytes
com.google.protobuf.ByteString getValueTypesBytes(int index)
Type of the value. This is case-insensitive, and could be one of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE_NUMBER, ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this list will be ignored.
repeated string value_types = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the valueTypes at the given index.
-
-