Interface KeyValuePairHintOrBuilder (2.48.0)

public interface KeyValuePairHintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

The key text for the hint.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The key text for the hint.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getValueTypes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The valueTypes at the given index.

getValueTypesBytes(int index)

public abstract 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;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the valueTypes at the given index.

getValueTypesCount()

public abstract 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
Type Description
int

The count of valueTypes.

getValueTypesList()

public abstract 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
Type Description
List<String>

A list containing the valueTypes.