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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(summary_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, summary_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
    }
    if (executionState_
        != com.google.cloud.websecurityscanner.v1.ScanRun.ExecutionState.EXECUTION_STATE_UNSPECIFIED
            .getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, executionState_);
    }
    if (resultState_
        != com.google.cloud.websecurityscanner.v1.ScanRun.ResultState.RESULT_STATE_UNSPECIFIED
            .getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, resultState_);
    }
    if (urlsCrawledCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, urlsCrawledCount_);
    }
    if (urlsTestedCount_ != 0L) {
      size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, urlsTestedCount_);
    }
    if (hasFindings_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, hasFindings_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getErrorTrace());
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<code>.google.cloud.websecurityscanner.v1.ScanRunErrorTrace error_trace = 8;</code>
java-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/ScanRunLog.java