public Builder setState(
          com.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        state_ = value.getNumber();
        onChanged();
        return this;
      }
<code>.google.cloud.visionai.v1.AnalyzeAssetMetadata.AnalysisStatus.State state = 2;</code>

@param value The state to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnalyzeAssetMetadata.java