public Builder setLabels(
          int index,
          com.google.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureLabelsIsMutable();
        labels_.set(index, value.getNumber());
        onChanged();
        return this;
      }
<pre>
Labels associated with this URI that explain how it was classified.
</pre>

<code>
repeated .google.cloud.webrisk.v1.ThreatInfo.ThreatJustification.JustificationLabel labels = 1;
</code>

@param index The index to set the value at.
@param value The labels to set.
@return This builder for chaining.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatInfo.java