- 2.57.0 (latest)
- 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 DocumentSchema.EntityType.Property.Builder extends GeneratedMessageV3.Builder<DocumentSchema.EntityType.Property.Builder> implements DocumentSchema.EntityType.PropertyOrBuilder
Defines properties that can be part of the entity type.
Protobuf type google.cloud.documentai.v1.DocumentSchema.EntityType.Property
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DocumentSchema.EntityType.Property.BuilderImplements
DocumentSchema.EntityType.PropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DocumentSchema.EntityType.Property.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
build()
public DocumentSchema.EntityType.Property build()
Type | Description |
DocumentSchema.EntityType.Property |
buildPartial()
public DocumentSchema.EntityType.Property buildPartial()
Type | Description |
DocumentSchema.EntityType.Property |
clear()
public DocumentSchema.EntityType.Property.Builder clear()
Type | Description |
DocumentSchema.EntityType.Property.Builder |
clearField(Descriptors.FieldDescriptor field)
public DocumentSchema.EntityType.Property.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
clearName()
public DocumentSchema.EntityType.Property.Builder clearName()
The name of the property. Follows the same guidelines as the EntityType name.
string name = 1;
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
clearOccurrenceType()
public DocumentSchema.EntityType.Property.Builder clearOccurrenceType()
Occurrence type limits the number of instances an entity type appears in the document.
.google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DocumentSchema.EntityType.Property.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
clearValueType()
public DocumentSchema.EntityType.Property.Builder clearValueType()
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
string value_type = 2;
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
clone()
public DocumentSchema.EntityType.Property.Builder clone()
Type | Description |
DocumentSchema.EntityType.Property.Builder |
getDefaultInstanceForType()
public DocumentSchema.EntityType.Property getDefaultInstanceForType()
Type | Description |
DocumentSchema.EntityType.Property |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
The name of the property. Follows the same guidelines as the EntityType name.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the property. Follows the same guidelines as the EntityType name.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOccurrenceType()
public DocumentSchema.EntityType.Property.OccurrenceType getOccurrenceType()
Occurrence type limits the number of instances an entity type appears in the document.
.google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
Type | Description |
DocumentSchema.EntityType.Property.OccurrenceType | The occurrenceType. |
getOccurrenceTypeValue()
public int getOccurrenceTypeValue()
Occurrence type limits the number of instances an entity type appears in the document.
.google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
Type | Description |
int | The enum numeric value on the wire for occurrenceType. |
getValueType()
public String getValueType()
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
string value_type = 2;
Type | Description |
String | The valueType. |
getValueTypeBytes()
public ByteString getValueTypeBytes()
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
string value_type = 2;
Type | Description |
ByteString | The bytes for valueType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DocumentSchema.EntityType.Property other)
public DocumentSchema.EntityType.Property.Builder mergeFrom(DocumentSchema.EntityType.Property other)
Name | Description |
other | DocumentSchema.EntityType.Property |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DocumentSchema.EntityType.Property.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DocumentSchema.EntityType.Property.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DocumentSchema.EntityType.Property.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DocumentSchema.EntityType.Property.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
setName(String value)
public DocumentSchema.EntityType.Property.Builder setName(String value)
The name of the property. Follows the same guidelines as the EntityType name.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DocumentSchema.EntityType.Property.Builder setNameBytes(ByteString value)
The name of the property. Follows the same guidelines as the EntityType name.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
setOccurrenceType(DocumentSchema.EntityType.Property.OccurrenceType value)
public DocumentSchema.EntityType.Property.Builder setOccurrenceType(DocumentSchema.EntityType.Property.OccurrenceType value)
Occurrence type limits the number of instances an entity type appears in the document.
.google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
Name | Description |
value | DocumentSchema.EntityType.Property.OccurrenceType The occurrenceType to set. |
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
setOccurrenceTypeValue(int value)
public DocumentSchema.EntityType.Property.Builder setOccurrenceTypeValue(int value)
Occurrence type limits the number of instances an entity type appears in the document.
.google.cloud.documentai.v1.DocumentSchema.EntityType.Property.OccurrenceType occurrence_type = 3;
Name | Description |
value | int The enum numeric value on the wire for occurrenceType to set. |
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DocumentSchema.EntityType.Property.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DocumentSchema.EntityType.Property.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DocumentSchema.EntityType.Property.Builder |
setValueType(String value)
public DocumentSchema.EntityType.Property.Builder setValueType(String value)
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
string value_type = 2;
Name | Description |
value | String The valueType to set. |
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |
setValueTypeBytes(ByteString value)
public DocumentSchema.EntityType.Property.Builder setValueTypeBytes(ByteString value)
A reference to the value type of the property. This type is subject
to the same conventions as the Entity.base_types
field.
string value_type = 2;
Name | Description |
value | ByteString The bytes for valueType to set. |
Type | Description |
DocumentSchema.EntityType.Property.Builder | This builder for chaining. |