- 2.82.0 (latest)
 - 2.80.0
 - 2.79.0
 - 2.78.0
 - 2.77.0
 - 2.76.0
 - 2.74.0
 - 2.72.0
 - 2.71.0
 - 2.68.0
 - 2.67.0
 - 2.66.0
 - 2.64.0
 - 2.63.0
 - 2.62.0
 - 2.61.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.53.0
 - 2.52.0
 - 2.51.0
 - 2.50.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.41.0
 - 2.40.0
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.28.0
 - 2.27.0
 - 2.26.0
 - 2.25.0
 - 2.24.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.13.0
 - 2.12.0
 - 2.11.0
 - 2.10.0
 - 2.9.0
 - 2.8.0
 - 2.7.5
 - 2.6.2
 - 2.5.1
 - 2.4.3
 - 2.3.1
 - 2.2.1
 - 2.1.9
 
public static final class KeyValuePairHint.Builder extends GeneratedMessageV3.Builder<KeyValuePairHint.Builder> implements KeyValuePairHintOrBuilderUser-provided hint for key value pair.
 Protobuf type google.cloud.documentai.v1beta2.KeyValuePairHint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KeyValuePairHint.BuilderImplements
KeyValuePairHintOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addAllValueTypes(Iterable<String> values)
public KeyValuePairHint.Builder addAllValueTypes(Iterable<String> values)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;
| Name | Description | 
| values | Iterable<String>The valueTypes to add.  | 
      
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KeyValuePairHint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
addValueTypes(String value)
public KeyValuePairHint.Builder addValueTypes(String value)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;
| Name | Description | 
| value | StringThe valueTypes to add.  | 
      
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  | 
      
addValueTypesBytes(ByteString value)
public KeyValuePairHint.Builder addValueTypesBytes(ByteString value)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;
| Name | Description | 
| value | ByteStringThe bytes of the valueTypes to add.  | 
      
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  | 
      
build()
public KeyValuePairHint build()| Type | Description | 
| KeyValuePairHint | 
buildPartial()
public KeyValuePairHint buildPartial()| Type | Description | 
| KeyValuePairHint | 
clear()
public KeyValuePairHint.Builder clear()| Type | Description | 
| KeyValuePairHint.Builder | 
clearField(Descriptors.FieldDescriptor field)
public KeyValuePairHint.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
clearKey()
public KeyValuePairHint.Builder clearKey()The key text for the hint.
 string key = 1;
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public KeyValuePairHint.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
clearValueTypes()
public KeyValuePairHint.Builder clearValueTypes()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;
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  | 
      
clone()
public KeyValuePairHint.Builder clone()| Type | Description | 
| KeyValuePairHint.Builder | 
getDefaultInstanceForType()
public KeyValuePairHint getDefaultInstanceForType()| Type | Description | 
| KeyValuePairHint | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getKey()
public String getKey()The key text for the hint.
 string key = 1;
| Type | Description | 
| String | The key.  | 
      
getKeyBytes()
public ByteString getKeyBytes()The key text for the hint.
 string key = 1;
| Type | Description | 
| ByteString | The bytes for key.  | 
      
getValueTypes(int index)
public 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;
| Name | Description | 
| index | intThe index of the element to return.  | 
      
| Type | Description | 
| String | The valueTypes at the given index.  | 
      
getValueTypesBytes(int index)
public 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;
| Name | Description | 
| index | intThe index of the value to return.  | 
      
| Type | Description | 
| ByteString | The bytes of the valueTypes at the given index.  | 
      
getValueTypesCount()
public 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;
| Type | Description | 
| int | The count of valueTypes.  | 
      
getValueTypesList()
public ProtocolStringList 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;
| Type | Description | 
| ProtocolStringList | A list containing the valueTypes.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeFrom(KeyValuePairHint other)
public KeyValuePairHint.Builder mergeFrom(KeyValuePairHint other)| Name | Description | 
| other | KeyValuePairHint | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KeyValuePairHint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public KeyValuePairHint.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KeyValuePairHint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public KeyValuePairHint.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
setKey(String value)
public KeyValuePairHint.Builder setKey(String value)The key text for the hint.
 string key = 1;
| Name | Description | 
| value | StringThe key to set.  | 
      
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  | 
      
setKeyBytes(ByteString value)
public KeyValuePairHint.Builder setKeyBytes(ByteString value)The key text for the hint.
 string key = 1;
| Name | Description | 
| value | ByteStringThe bytes for key to set.  | 
      
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KeyValuePairHint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
setUnknownFields(UnknownFieldSet unknownFields)
public final KeyValuePairHint.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| KeyValuePairHint.Builder | 
setValueTypes(int index, String value)
public KeyValuePairHint.Builder setValueTypes(int index, String value)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;
| Name | Description | 
| index | intThe index to set the value at.  | 
      
| value | StringThe valueTypes to set.  | 
      
| Type | Description | 
| KeyValuePairHint.Builder | This builder for chaining.  |