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

    size = 0;
    if (platform_
        != com.google.webrisk.v1.ThreatDiscovery.Platform.PLATFORM_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, platform_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < regionCodes_.size(); i++) {
        dataSize += computeStringSizeNoTag(regionCodes_.getRaw(i));
      }
      size += dataSize;
      size += 1 * getRegionCodesList().size();
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
CLDR region code of the countries/regions the URI poses a threat ordered
from most impact to least impact. Example: "US" for United States.
</pre>

<code>repeated string region_codes = 2;</code>

@param index The index of the value to return.
@return The bytes of the regionCodes at the given index.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatDiscovery.java