@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(entityClass_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, entityClass_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(regex_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, regex_);
      }
      if (entityMatchingStrategy_
          != com.google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig
              .EntityMatchingStrategy.ENTITY_MATCHING_STRATEGY_UNSPECIFIED
              .getNumber()) {
        size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, entityMatchingStrategy_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<pre>
Optional. Entity matching strategy.
</pre>

<code>
.google.cloud.visionai.v1.TagParsingConfig.EntityParsingConfig.EntityMatchingStrategy entity_matching_strategy = 3 [(.google.api.field_behavior) = OPTIONAL];
</code>

@return The entityMatchingStrategy.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/TagParsingConfig.java