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

      size = 0;
      if (maxDiffEntries_ != 0) {
        size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, maxDiffEntries_);
      }
      if (maxDatabaseEntries_ != 0) {
        size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxDatabaseEntries_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < supportedCompressions_.size(); i++) {
          dataSize +=
              com.google.protobuf.CodedOutputStream.computeEnumSizeNoTag(
                  supportedCompressions_.get(i));
        }
        size += dataSize;
        if (!getSupportedCompressionsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(dataSize);
        }
        supportedCompressionsMemoizedSerializedSize = dataSize;
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<pre>
The compression types supported by the client.
</pre>

<code>repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;
</code>

@param index The index of the value to return.
@return The enum numeric value on the wire of supportedCompressions at the given index.
java-webrisk/proto-google-cloud-webrisk-v1beta1/src/main/java/com/google/webrisk/v1beta1/ComputeThreatListDiffRequest.java